PDA

View Full Version : I've searched and am still having issues moving root directory?


picus
10-30-2007, 02:16 AM
Hey everyone, sorry for the perhaps superfluous post, but I am at my wits end. I moved my root directory (of pixelpost) from http://rockpaperpixels.com to http://rockpaperpixels.com/blog, and everything is fine except that I can't update the site. I get this error:

Warning: move_uploaded_file(http://rockpaperpixels.com/blog/images/20071029201252_ebrooddakota01.jpg) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections. in /home/rockpape/public_html/blog/admin/new_image.php on line 182

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phprY9VNt' to 'http://rockpaperpixels.com/blog/images/20071029201252_ebrooddakota01.jpg' in /home/rockpape/public_html/blog/admin/new_image.php on line 182

Now, I have updated options for the new URL, and I have /images and /thumbnails as 777, so I am out of ideas? All files were successfully uploaded. Help? Thanks!

jaywilliams
10-30-2007, 02:35 AM
Does Pixelpost show the folders as writable when you go under the General Info section?

picus
10-30-2007, 03:31 AM
Does Pixelpost show the folders as writable when you go under the General Info section?

Thanks, this is what it shows:

Guessed imagepath: /home/rockpape/public_html/blog/images/

Configured Imagepath: http://rockpaperpixels.com/blog/images/

Image Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/images) - Thumbnails folder not writable! You must set correct permissions on this folder or you will not be able to upload any images.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world).

Thumbnails Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/thumbnails) -

Language Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/language)

Addons Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/addons)

Includes Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/includes)

Templates Directory: Does Not Exist (should be http://rockpaperpixels.com/blog/templates)

All those folders *are* there. And the images and thumbnails folders are 777. Thoughts?

jaywilliams
10-30-2007, 04:11 AM
Go to the Options page in the admin.
Change the "IMAGES PATH" section to:
../images/

Then scroll down and press "Update".
Then check the "General Info" page and see if it is working.

Dennis
10-30-2007, 05:56 AM
Ow and you might want to change your blog URL in the options as well.

picus
10-30-2007, 04:09 PM
Brilliant, that did it. It was the trailing "/", I had ../images. Crazy, thanks!