PDA

View Full Version : Warning: getimagesize


hangnguyen
April 26th, 2008, 09:09 AM
Hello

I help my friend move his site from old server to new one and I got proplem, we can not upload images, I can not post on other forum so I posted here, hope somebody can help (and please move to right forum (I can see the answer) if need ) .

Warning: getimagesize(/usr/local/apache/htdocs/gallery/data/500/Beach_pictures_6.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/bushcraft/domains/bushcraftuk.com/public_html/gallery/image-inc.php on line 250


Sorry, this image type () is not supported yet.

I have changed in all config file and via gallery control panel to new server relative path: /home/bushcraft/domains/bushcraftuk.com/public_html/gallery , but I think some where still old relative path : /usr/local/apache/htdocs/gallery , but I can not find it .

Could you please help me solve this issue please ??? the site is: bushcraftuk.com


thanks very much
HN

Chuck S
April 26th, 2008, 09:17 AM
Your server paths are incorrect in admin global options and storage options make sure you update your data paths to the correct one which is this

/home/bushcraft/domains/bushcraftuk.com/public_html/gallery/data/

hangnguyen
April 27th, 2008, 08:32 PM
thanks

I have fixed my upload

BR

Chuck S
April 28th, 2008, 06:26 AM
Glad to help let us know if you need anything else.