Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 05:03:20
|
Aryan
Beginner
![[Avatar]](/forum/images/avatar/10.gif)
Joined: 19/01/2002 03:59:07
Messages: 22
Offline
|
Im receiving folowing errors when trying to post picture when adding new entry:
- Warning: open_basedir restriction in effect. File is in wrong directory in /mnt/host-users/bns/guestbook/lib/add.class.php on line 108
-
- Warning: getimagesize: Unable to open '/mnt/tmp/php6FFYuj' for reading. in /mnt/host-users/bns/guestbook/lib/add.class.php on line 108
Some ideas whats wrong???
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 11:02:50
|
Anonymous
|
read this topic:
http://www.proxy2.de/phorum/read.php?f=1&i=1815&t=1815
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 12:15:45
|
Aryan
Beginner
![[Avatar]](/forum/images/avatar/10.gif)
Joined: 19/01/2002 03:59:07
Messages: 22
Offline
|
10x for reply but that doesnt help at all
my gb is on public server, not on my own ... so u can imagine that i cant ask them to change their php.ini
if u have any other ideas u r welcome ...
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 13:10:08
|
Anonymous
|
If your server (e.g Apache) has
<AllowOverride All> turned on for your directory '/mnt/host-users/bns/'
you can use .htaccess to change the 'open_basedir'
if they don't
there's no way for uploading
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 13:13:37
|
Aryan
Beginner
![[Avatar]](/forum/images/avatar/10.gif)
Joined: 19/01/2002 03:59:07
Messages: 22
Offline
|
hmmm ... be more speciffic ... how to check if i can use <Allow Override> directive and what to place in such case in .htaccess file ... and where to place .htaccess file ?
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 13:21:56
|
Anonymous
|
ok, just upload a file (.htaccess) to your guestbook dir
/mnt/host-users/bns/guestbook/
.htaccess
- php_value open_basedir /mnt/host-users/bns/guestbook/tmp
if you get an error 500
your server does not allow overiding
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 13:40:57
|
Aryan
Beginner
![[Avatar]](/forum/images/avatar/10.gif)
Joined: 19/01/2002 03:59:07
Messages: 22
Offline
|
done.
but all is the same ... same error and i dont receive 500 error ?!?!? 8O
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 15:19:17
|
Anonymous
|
In this case the .htaccess file is being ignored by the server.
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2002 15:26:35
|
Aryan
Beginner
![[Avatar]](/forum/images/avatar/10.gif)
Joined: 19/01/2002 03:59:07
Messages: 22
Offline
|
clear
anyway big 10x for your support
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 07/02/2002 06:12:27
|
Anonymous
|
i changed server, now the posts are working, but when i try to post pictures, i get - Warning: Max file size of 0 bytes exceeded - file [userfile] not saved in Unknown on line 0
in red!
what' the problem?
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 13/02/2002 10:07:17
|
Anonymous
|
@ARMVR
read this topic
http://www.proxy2.de/forum/viewtopic.php?t=144
|
|
|