My site is having problems with image gallery, the people can submit pictures but when I as admin want to allow it on website the following mistake occurr.
Warning: copy(../images/photoalbum/album_7/anakokic1.jpg): failed to open stream: Permission denied in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/administration/submissions.php on line 343
Warning: chmod(): No such file or directory in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/administration/submissions.php on line 344
Warning: imagesx(): supplied argument is not a valid Image resource in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/includes/photo_functions_include.php on line 22
Warning: imagesy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/includes/photo_functions_include.php on line 23
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/includes/photo_functions_include.php on line 45
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/includes/photo_functions_include.php on line 46
Warning: touch(): Unable to create file ../images/photoalbum/album_7/anakokic1_t1.jpg because Permission denied in /home/httpd/vhosts/apollo-mp3zika.org/httpdocs/includes/photo_functions_include.php on line 49
you see the problem started when I shifted web site to another server. At first everything was going great and everything worked, but when I transfered to another server problem with gallery occured, and yes after the upgrade there is still a problem
Hmm dunno how can I check that, I am using plesk and hosting from registerlfy :) if that doesn't help please tell me more how to find out if I have GD2 support or not.
Please help anyone I have 14 pics in my gallery I can delete and upload them again but just to resolve this problem :) Any suggestions are most welcome!
thank you man it works, but I made like 3 or 4 hostings for my website so if one fails it will switch to another so will this happen every time I switch to another hosting, database is always at the same place not switching anywhere. Regards
i have the same problem, but i know why :-D my php runs in safe_mode and so i can't make dirs (mkdir) gives an ftp-upload funktion as infusion for the gallery???