Действия

Joomla - Warning: imagejpeg() function.imagejpeg: Unable to open for writing: Permission denied in

Материал из Wiki - Iphoster - 'the best ever support'

Самые выгодные сервера в рунете


Joomla - Warning: imagejpeg() function.imagejpeg: Unable to open for writing: Permission denied in

Ошибка:

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/cache/cats.aa20nsp_93.jpg' for writing: Permission denied in /home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 390
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/cache/cats.aa19nsp_93.jpg' for writing: Permission denied in /home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 390


Решение - поправить права на папку cache и файлы в ней:

# chmod 666 /home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/cache/*
# chmod 777 /home/user/domains/domain.com/public_html/modules/mod_news_pro_gk4/cache/