PDA

View Full Version : image posting error


e11even
05-11-2005, 09:36 PM
hi, just installed it, can log in and the intall seemed to go pretty straight forward. but when I try to upload an image I get this error message:

Warning: move_uploaded_file(/home/httpd/default//images/20050511142609_e11even-round01_02.jpg): failed to open stream: No such file or directory in /home/httpd/vhosts/e11even.ca/subdomains/blog/admin/index.php on line 417

Warning: move_uploaded_file(): Unable to move '/tmp/php7ZgIDI' to '/home/httpd/default//images/20050511142609_e11even-round01_02.jpg' in /home/httpd/vhosts/e11even.ca/subdomains/blog/admin/index.php on line 417

Error
Upload went without error.

[/i]

also, in the 'general info' page, I get this in teh paths section:


Guessed imagepath: /home/httpd/default//images/
Configured Imagepath /home/httpd/default//images/

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

Thumbnails Directory: Does Not Exist (should be /home/httpd/default//thumbnails) -

Language Directory: Does Not Exist (should be /home/httpd/default//language)

Addons Directory: Does Not Exist (should be /home/httpd/default//addons)

Includes Directory: Does Not Exist (should be /home/httpd/default//includes)

Templates Directory: Does Not Exist (should be /home/httpd/default//templates)


I feel like this might be due to the fact that I have it in a subdomain now, but do I have to change anything to reflect that? it's here: http://blog.e11even.ca

thanks!

e11even
05-11-2005, 09:38 PM
I should also say it before someone else does, I already did a couple of searches, but couldn't find anyone with the same error message. did I miss a thread about it?

Joe[y]
05-11-2005, 09:49 PM
you have too many slashes in your paths.

e11even
05-11-2005, 09:55 PM
how do I fix that? I can't see anywhere on the admin page to remedy that.

Joe[y]
05-11-2005, 09:58 PM
i'm sorry to say i'm not actually sure. i'm very weirded out by what you've shown me. i'll think about it but hopefully in that time another developer will be able to give you a clearer answer! :oops:

e11even
05-11-2005, 10:03 PM
is it possible to re-install pixelpost? if so how do I do that? when I go to the install.php page, it just redirects me to the new image page.

the reason I ask is that it was originally installed at www.e11even.ca/blog but I decided I wanted it in a subdomain, so my friend (who's server this is on) moved it for me to the place it's at now. I have a feeling that moving it caused this problem?

is it as simple as removing all of the pixelpost files and uploading them, then running install again or is it more complicated than that?

Joe[y]
05-11-2005, 10:07 PM
i assume you have all your data still in the database so you want to leave that untouched.

yes.. it should just be a case of moving the PP files back to where you found they worked. ask your friend to check how he set up the subdomain. - maybe he added too many slashes in at a stage of setting up the domain.

GeoS
05-11-2005, 11:20 PM
There should be not:

Configured Imagepath /home/httpd/default//images/

but:

Configured Imagepath /home/httpd/default/images/

e11even
05-12-2005, 04:14 AM
re-installed everything and still getting the same errors. is it not designed for subdomains?

GeoS
05-12-2005, 05:55 AM
The subdomains shouldn't be a problem. CHMOD as 777 also shouldn't.

Did you check your Configured Imagepath?

Connie
05-12-2005, 05:58 AM
if you want to use something in subdomains, you MUST install it in the original place

than later in the browser you can adress it from the subdomain

please! a subdomain is a logical redirect from a directory.... but not a path to install there...

you see the result... I would recommend:

modify the pixelpost.php (adding a new prefix to the table-names) and install it from the original directory

everything will work
you can upload your images and so on

and then you try to reach it from the subdomain
but uploading images etc. always from the original directory!!!!!

uni
05-12-2005, 05:46 PM
I had this same issue and had to remove the specific MySQL database related to PixelPost, and recreate it. This is necessary is you reinstall PP and then keep getting thrown back to the admin page. Your MySQL database is not right.