PDA

View Full Version : access to file not allowed ? /new post failure


athaldir
03-01-2006, 08:12 AM
Hello,
I'm new to pixelpost, I was using it and it went just fine for the last month.
But now, as I try to post a new image, I get this error message :

Warning: moveuploadedfile(): Restriction in effect.

Access to this file (/var/www/free.fr/1/5/athaldir/images/20060225132905_work.jpg) is not allowed in /var/www/sdb/1/5/athaldir/admin/index.php on line 418

Error Upload went without error.

Can anybody help me to solve this ?

here are my gegeral informations

You are running version 1.4.3 of Pixelpost. Released 21 November 2005.
Latest pixelpost version: Check
Host Information
PHP-version 4.3.10 (Pixelpost's min requirement: PHP version 4.3.
MySQL version 4.1.15 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib 2.0 or higher with JPEG support
Server software Apache/ProXad [Feb 19 2006 23:15:13]
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /var/www/sdb/1/5/athaldir/images/
Configured Imagepath /var/www/free.fr/1/5/athaldir/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

thanks a lot for your help.
(chmod is 777, I don't know if this info can help... )

athaldir
03-01-2006, 08:39 AM
oups, I forgot to give the link :

http://athaldir.free.fr

GeoS
03-01-2006, 11:59 AM
There are problems with path:
- one is /var/www/free.fr/1/5/athaldir/...
- second /var/www/sdb/1/5/athaldir/...

Set Imagepath to ../images/ instead of /var/www/free.fr/1/5/athaldir/images/

athaldir
03-01-2006, 04:27 PM
OK, but how shall I proceed ? I'm really a newbie..

athaldir
03-01-2006, 04:31 PM
OK, I tink I've found the answer. when I set it to : ../images/, the programm rewrites automatically the first path. Is this normal ? Anyway, it seems to work now

GeoS
03-01-2006, 06:36 PM
If it works OK that mean it is solution ;)

About path - yes it's normal :)