Upload Image Warning

brutus / 2009-06-22 15:54:21   

Hello, I have read many threads on this warning and have re-set the permissions however I still end up with this warning when I try to upload images. I don't know what else to do...? Any help is much appreciated. Thanks!!!

www.whatisbrutus.com

Warning: move_uploaded_file(/home/content/w/h/a/whatisbrutus/html/files/gimgs//7_savannah.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/content/w/h/a/whatisbrutus/html/ndxz-studio/module/exhibits/index.php on line 1392

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpXcERGw' to '/home/content/w/h/a/whatisbrutus/html/files/gimgs//7_savannah.jpg' in /home/content/w/h/a/whatisbrutus/html/ndxz-studio/module/exhibits/index.php on line 1392

Warning: Cannot modify header information - headers already sent by (output started at /home/content/w/h/a/whatisbrutus/html/ndxz-studio/module/exhibits/index.php:1392) in /home/content/w/h/a/whatisbrutus/html/ndxz-studio/lib/template.php on line 65

Vaska A / 2009-06-22 21:58:37   

According to this link the folders are not where they should be. Are you sure they are in the right place?

brutus / 2009-06-22 22:19:57   

Yes I believe so...the images are under /exhibit/indexhibitv070e/files/gimgs

When I put the files folder under the main root folder the images do not show up only the links to them do...however when I go to upload a new image it allows me too and then when I put the files folder back into the /exhibit/indexhibitv070e folders the new image shows up...but then I back at the original warning when trying to upload another.

Thanks for your help!

brutus / 2009-06-23 01:42:00   

Vaska, when the files folder (containing the gimgs folder) is in the main site folder, the images, only appear as links. Why is this? I've tried everything I can think of and its blowing my mind why this is happening. Thanks!

arsondpi / 2009-06-23 08:24:42   

...simply because in the installation for dummies guide it clearly says to upload the contents of the folder and not the indexhibitv070e folder itself...

According to this thread you should move the .htaccess file as well (along with the contents of the folder)

This thread has been closed, thank you.