I’m working on OpenCart Version 4.1.0.3. For some reason, when I click on products or categories, the pages load but remain stuck on the home page. Additionally, when I try to edit settings from the backend, it redirects to https://domain.com/error.html
in the log i found :
2025-08-28 17:33:30 - PHP Warning: fopen(/home/user/storage/logs/): Failed to open stream: Is a directory in /home/user/public_html/system/library/log.php on line 18
2025-08-28 17:33:36 - PHP Warning: fopen(/home/user/storage/logs/): Failed to open stream: Is a directory in /home/user/public_html/system/library/log.php on line 18
2025-08-28 17:33:54 - PHP Warning: fopen(/home/user/storage/logs/): Failed to open stream: Is a directory in /home/user/public_html/system/library/log.php on line 18
Regards,
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
storage/logs directory permission 755
error.log adn all other files permission 644
Could this have happened after moving the website to another server? But it was accessible for a few months after the move, but now it isn’t.
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
You know at this point most OC developers still recommend the latest version of OC3?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
755 for folders/directory should be the correct permission.
Depends also how the server is configured, have seen also 750 and it worked with that (mostly cPanel)
644 is the standard permission for files.
Same is valid here, have seen also 640 (also here cPanel)
Another story is, under which user the files are accessed.
cPanel has to be correct configured, otherwise it could be that they are not callable.
If you don't know how to configure your server with cPanel, better to pay someone who knows what he is doing!
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
"permissions" alone confused me into many things, I prefer using clear terms like "file" or "folder permissions". But thanks for your suggestions.OSWorX wrote: ↑Sat Aug 30, 2025 11:09 pm755 for folders/directory should be the correct permission.
Depends also how the server is configured, have seen also 750 and it worked with that (mostly cPanel)
644 is the standard permission for files.
Same is valid here, have seen also 640 (also here cPanel)
Another story is, under which user the files are accessed.
cPanel has to be correct configured, otherwise it could be that they are not callable.
If you don't know how to configure your server with cPanel, better to pay someone who knows what he is doing!
Files / Fodlers Permissions are set correctly.
Your logs clearly show:
2025-08-28 17:33:30 - PHP Warning: fopen(/home/user/storage/logs/): Failed to open stream: Is a directory in /home/user/public_html/system/library/log.php on line 18
We’ve told you many times this is a permissions-related issue. It could be due to:
- SELinux restrictions
Incorrect file or directory permissions
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
Users browsing this forum: gunownergear and 10 guests