PDA

View Full Version : Getting error when uploading any photo to blog


afroloop
11-30-2006, 12:15 AM
I'm using the April 2006 version of Pixelpost and I am pretty sure there has been a new version released. I have not updated to it because when I tried to the page lost all my settings such as my formatting and how many visitors I had etc. So I've been sticking with the old one and it has been working well up until I tried to post some shots last week and am getting this error:

Warning: move_uploaded_file(/home/colurcom/public_html/pblog/images/20061129181803_towers2.jpg): failed to open stream: Permission denied in /home/colurcom/public_html/pblog/admin/new_image.php on line 182

Warning: move_uploaded_file(): Unable to move '/var/tmp/php9b33j9' to '/home/colurcom/public_html/pblog/images/20061129181803_towers2.jpg' in /home/colurcom/public_html/pblog/admin/new_image.php on line 182

I tried to look at line 182 of new_image.php in a text editor with word wrap on and it did not even go up to that high, not even up to 100 actually.

Does anyone have any ideas on this? Should I just try to upgrade to the latest version of PP? Thank you for any ideas, I really appreciate it.

My blog: http://colur.com/pblog/

Ben

GeoS
11-30-2006, 12:20 AM
Do you have some free space at your web account? Does PP show any error in red box at the bottom of page?

afroloop
11-30-2006, 12:22 AM
Yes I have a lot of free space on my webspace so I know that is not the problem, and these files I'm uploading are small (85K for example).

There IS a red box at the bottom - it says - "Error - Something's wrong in file upload!"

afroloop
11-30-2006, 12:27 AM
I just checked and am using 12% of my disc quota FYI so there's lots of space.

Ben

GeoS
11-30-2006, 08:26 PM
Did you set CHMOD 777 on thumbs and images dirs?

afroloop
12-01-2006, 12:01 AM
Did you set CHMOD 777 on thumbs and images dirs?

OK Geos, that seems to have worked. I have no idea why it would have changed but I can now post to the photoblog again. I thank you for helping me.

My next step will be to try to figure out how to upgrade to the latest version and keep all of my custom settings but I'll deal with that a bit later.

Ben

Dennis
12-01-2006, 01:03 PM
Custom settings made outside the core files will work. Custom settings made by changing the code in the core files will require a manual transfer.

GeoS
12-01-2006, 10:21 PM
Ive added some additional info about chmod to error message in development version.