-
AuthorPosts
-
April 21, 2014 at 11:12 pm #196960
Hi there!
I’m facing the following problem once I try to publish a new article:
imagejpeg() [function.imagejpeg]: Unable to open ‘/images/resized/images/stories/DSC09980_330_228.jpg’ for writing: Permission denied in /modules/mod_janewspro/helpers/jaimage.php on line 308
Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/images/resized/images/stories/DSC09980_60_60.jpg’ for writing: Permission denied in /modules/mod_janewspro/helpers/jaimage.php on line 308
PHP Version 5.2.17
Web Server Apache
Joomla! Version Joomla! 2.5.19 Stable [ Ember ] 6-March-2014 14:30 GMT
Template JA TelineIV 2.5.1
“stories” folder permission: 755 owner/group: nitrmodelismo/nitromodelismoAny tip about how to fix it?
Thanks,
Ciro.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 22, 2014 at 2:14 am #531846go to your cpanel or ftp and provide permission 777 to all inner folders of images.
April 22, 2014 at 2:52 am #531856Thanks Chavan!
It worked, but isin’t it dangerous in security point of view?
I mean, using 777?
Isn’t it supposed the script be able to write to the directory as it belong to the same directory owner?Thanks,
Ciro.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 22, 2014 at 3:09 am #531860It is just images folder, It won’t be a problem.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 22, 2014 at 9:08 am #531902<em>@ciroalves 422923 wrote:</em><blockquote>Hi there!
I’m facing the following problem once I try to publish a new article:
imagejpeg() [function.imagejpeg]: Unable to open ‘/images/resized/images/stories/DSC09980_330_228.jpg’ for writing: Permission denied in /modules/mod_janewspro/helpers/jaimage.php on line 308
Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/images/resized/images/stories/DSC09980_60_60.jpg’ for writing: Permission denied in /modules/mod_janewspro/helpers/jaimage.php on line 308
PHP Version 5.2.17
Web Server Apache
Joomla! Version Joomla! 2.5.19 Stable [ Ember ] 6-March-2014 14:30 GMT
Template JA TelineIV 2.5.1
“stories” folder permission: 755 owner/group: nitrmodelismo/nitromodelismoAny tip about how to fix it?
Thanks,
Ciro.</blockquote>Hi Ciro,
The warning indicates that your directory protects the access… make sure that the non-root user can access those directories…. If you own the webserver account, just access your cpanel to change the file permission under the file manager there….
April 22, 2014 at 12:34 pm #531945Great!
thank you once again!Ciro.
April 23, 2014 at 1:15 am #532013Hi folks,
it partially solves the problem.
I say partially because each time I create a new article, it creates a new directory under “images/resized/images/stories/” and this new directory is always created with 755, and then I have to access the ftp server to change its permissions 🙁Any tip to solve it permanently? Modifying the script?
Thanks,
Ciro.Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
April 23, 2014 at 1:31 am #532014You need to contact your host, this is more like a non properly configured server since 755 should be sufficient, make sure that your account is the owner of those files.
Regards
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by Manos 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum