and I have done everything right, but when I come to part where I choose thubmnail 1 and thubmnail 2 size in admin panel (in my case I choosed my unique values thubmnail 1 = 300 and thubmnail 2 = 300 ), and than, when I click on "Save" I receive next error message:
"Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 10053 is not allowed to access /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/files/300 owned by uid 33 in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 287
Warning: copy(files/300/sv_pol236w[1].jpg_backup.jpg) [function.copy]: failed to open stream: No such file or directory in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 287
Warning: getimagesize() [function.getimagesize]: Unable to access files/300/sv_pol236w[1].jpg_backup.jpg in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 288
Warning: getimagesize(files/300/sv_pol236w[1].jpg_backup.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 288
Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 10053 is not allowed to access /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/files/300 owned by uid 33 in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 287
Warning: copy(files/300/sv_pol236w[1].jpg_backup.jpg) [function.copy]: failed to open stream: No such file or directory in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 287
Warning: getimagesize() [function.getimagesize]: Unable to access files/300/sv_pol236w[1].jpg_backup.jpg in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 288
Warning: getimagesize(files/300/sv_pol236w[1].jpg_backup.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php on line 288
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/libraries/FotoJobs.php:287) in /var/www/vhosts/centralni-servis.co.ba/httpdocs/tdm/CMS/actions_admin/p.php on line 19"
I am not sure how to solve this problem because whatever I do I always get error message from above text.
I have only noticed that when I choose thumbnail 1 and 2 size on value 100 or 150 everything works OK, and I dont receive any error message after I click "Save"??
Any help is appreciated!
cheerss:D
» Quick.Cms v2.x
MCM
2007-11-27 07:45
any hints?
merci
2007-11-27 08:55
MCM - do you have chmod set as it should be: http://opensolution.org/Quick.Cms/docs/?id=requirements check also if you have GD2 library on your server.
MCM
2007-11-27 11:03
thnx for reply
regarding chmods all files are chmod as in instructions, except subfolders "200", "250" and "300" (the ones which I had add in general.php) under directory "files", ther chmods are set to 755 and when I try tlo set it on 777 its showing me this error in my FTP client:
"Operation not permitted"
So I have google a little bit and I think I have find solution.. this is link where I have found solution:
http://gallery.menalto.com/node/18315
It looks like PHP script automatically creates these folders (in my case 200, 250 and 300) and user cant change permisions. Not sure why, but anyway, I deleted automatically created folders and than I created them manualy so I was able to change permissions to 777. Now, when I add some item in admin mode and click save I dont receive any errors, and thats it:P
p.s. after using <?php echo phpinfo(); ?> command this is info I received:
"4.4.4-8+etch4"
does this means that gd2 library is instalated?
thnx in advance for info!
4.4.4-8+etch4
merci
2007-11-28 09:42
MCM - yes, you are right about this chmod, in next version we will modify it and make automatically chmod 777 for thumbnails directories, but now, you have to do it by yourself: 1. open file core/files-admin.php 2. in function generateThumbs( ) find code: