Post by daveygz » Tue Nov 12, 2024 1:40 am

Hi All,
I need assistance in fixing an issue that happened on a site. I have 5 errors displaying:
  • Warning: Image directory /home/shopdestroked/public_html/image/ not writeable!
    Warning: Image cache directory /home/shopdestroked/public_html/image/cache/ not writeable!
    Warning: Image cache directory /home/shopdestroked/public_html/system/cache/ not writeable!
    Warning: Download directory /home/shopdestroked/public_html/download/ not writeable!
    Warning: Log directory /home/shopdestroked/public_html/system/logs/ not writeable!
I need to try and fix these errors. The folder permissions are 0755 on all of them. Is there some system repair module or something i can use to make these go away and allow for upload of images once again?

my Version 1.5.6.5_rc.

Thanks in advance.

Newbie

Posts

Joined
Fri Oct 21, 2011 7:25 am

Post by IP_CAM » Tue Nov 12, 2024 2:24 am

try with 0775 for the directories.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by johnp » Tue Nov 12, 2024 2:39 am

Nice looking site. I like to see the OC Bootstrap Pro theme being used on OC 1.5.6.5.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by khnaz35 » Tue Nov 12, 2024 9:15 am

The errors you're seeing indicate that the web server lacks write permissions for certain directories, even though they are set to 0755. Permissions 0755 might not always grant write access for the web server, depending on the server's user ownership.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by paulfeakins » Tue Nov 12, 2024 8:40 pm

daveygz wrote:
Tue Nov 12, 2024 1:40 am
The folder permissions are 0755 on all of them. Is there some system repair module or something i can use to make these go away and allow for upload of images once again?
Any decent web host would fix this for you, have you asked them?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by daveygz » Thu Nov 21, 2024 11:14 pm

Been messing with this issue for a few days. No resolution at all. The permissions for those folders are accurate and will allow access. Contacted my hosting company and they confirmed that those folders are indeed set properly. I decided to install a new copy of OC 3.X into a dev folder on the site and do a migration of information. Installation of the new OC system and this is the error I get when I try to open the admin directly from the prompt that follows the installation:

Warning: fopen(/home/shopdestroked/ocartdata/storage/logs/error.log): failed to open stream: Permission denied in /home/shopdestroked/public_html/dev/ocart2/system/library/log.php on line 22

My feeling is OC isn't going to come around and work for me. Problem remains unsolved x2 now.

Newbie

Posts

Joined
Fri Oct 21, 2011 7:25 am

Post by khnaz35 » Fri Nov 22, 2024 12:17 am

daveygz wrote:
Thu Nov 21, 2024 11:14 pm
Permission denied in /home/shopdestroked/public_html/dev/ocart2/system/library/log.php on line 22
My feeling is OC isn't going to come around and work for me. Problem remains unsolved x2 now.
This is evident that your permissions has issues. YOU HAVE TO FIX IT.
Also check if you have SELinux policies enabled on the server it might be issue from there. I had a client who was facing the same issues.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 48 guests