PDA

View Full Version : Can't upload image


Tristan
11-06-2007, 05:04 PM
Hi,

It's my first time here and I hope I choose the right forum.

Also for the first time, I installed PP 1.6 on my provider server. Everything seems to be OK. I can connect to the admin interface, I can see PP MySQL tables, ...
But when I try to upload a new image, I always get the "Missing data..." error message (contained in $admin_lang_ni_missing_data). Why ? I provide a Jpeg file and of course a title too !

Here are the main informations provided by PP :


PHP-version 4.4.3-dev (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.45 (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache
EXIF Pixelpost is using exifer v1.5 for EXIF-information.



Configured Imagepath: ../images/
Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0700
Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0700
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK


Seems to be OK ! So what's wrong ?
Thanks for your help.

GeoS
11-06-2007, 07:05 PM
Try to set on /images and /thumbnails dirs CHMOD 0755. If it doesnt help then try to set 0777.

Tristan
11-06-2007, 08:43 PM
I can't set 755 or 777. Forbidden by my provider.
But PP says :
# Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0700
# Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0700

So it should be OK.

I did a new step : I put "echo" of $headline and $body variables in new_image.php (lines 221 and 222). If I don't make a mistake (don't know PHP), those two variables are empty !!!
So the next question is : why ?

Tristan
11-06-2007, 09:26 PM
Another clue : If I don't give a file name for the image (variable $userfile), then $headline isn't empty !?!

Tristan
11-07-2007, 02:51 PM
Another step : In the new_image.php script, I force the title to a constant string. I don't have the missing data error anymore, but I don't get any photo too !
It seems that the image file doesn't arrive to the directory...

Really don't know what to do now, except trying another photoblog script :-(

GeoS
11-07-2007, 10:00 PM
You must talk to your server support as it looks like server issue.

Tristan
11-08-2007, 06:00 PM
I can't talk talk to server support. It's a free provider and there is no support :-( But I'm changing the provider... :-)

Tristan
11-14-2007, 05:10 PM
I changed my provider, and now PP runs very well ! :-)
I'll probably never know what was wrong with the first one...

austriaka
11-15-2007, 05:53 AM
Fine it is working now :-)
Perhaps they restrict the upload by PHP using some script on their server (so Pixelpost cannot detect that)