Warning: imagejpeg() [function.imagejpeg]

GK User
Mon Nov 08, 2010 11:16 pm
Hello all, I just installed the beautiful sporter template to my site www.americansportswire.com and all over the front apge I am getting different variations of the following message?

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/admin/domains/americansportswire.com/public_html/modules/mod_news_pro_gk4/cache/k2.items.cache.2ff2ba0051687eef5ca0459cf942940c_Lnsp_126.jpg' for writing: Permission denied in /home/admin/domains/americansportswire.com/public_html/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 226

please help me

regards

Marco
User avatar
Fresh Boarder

GK User
Mon Nov 08, 2010 11:18 pm
welcome to gavick...

this seems like a php error... which version of php are you running ? i suppose below 5, please confirm
User avatar
Platinum Boarder

GK User
Mon Nov 08, 2010 11:25 pm
That was fast, thank you!

however I have 5.2.14 ? see www.americansportswire.com/pippo.php

regards

Marco
User avatar
Fresh Boarder

GK User
Tue Nov 09, 2010 8:52 am
okay. it seems like you get permission denied for the nsp cache dir...

please change permissions on the folder to 755

modules/mod_news_pro_gk4/cache/
User avatar
Platinum Boarder

GK User
Tue Nov 09, 2010 9:09 am
Thanks, but it did not help sorry. It was actually already at 755

Any other solution?

Marco
User avatar
Fresh Boarder

GK User
Tue Nov 09, 2010 9:45 am
I actually tried setting it to 777 and now works fine!

thanks

marco
User avatar
Fresh Boarder

GK User
Tue Nov 09, 2010 10:06 am
that's weird. 755 should be enough :) but glad it works :)
User avatar
Platinum Boarder

GK User
Thu Nov 18, 2010 3:56 pm
Hello
Thanks for the team. I just set the permission 777 like you did and it works.
User avatar
Fresh Boarder


cron