Post by psytanium » Thu Aug 28, 2025 10:47 pm

Hi,

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,

Active Member

Posts

Joined
Fri Nov 27, 2015 2:07 am

Post by khnaz35 » Thu Aug 28, 2025 11:00 pm

Verify that the storage/logs directory is writable by the server.

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


User avatar
Active Member
Online

Posts

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

Post by psytanium » Fri Aug 29, 2025 12:59 am

khnaz35 wrote:
Thu Aug 28, 2025 11:00 pm
Verify that the storage/logs directory is writable by the server.
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.

Active Member

Posts

Joined
Fri Nov 27, 2015 2:07 am

Post by khnaz35 » Fri Aug 29, 2025 1:14 am

And what about your users permissions or user groups permission?

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


User avatar
Active Member
Online

Posts

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

Post by psytanium » Fri Aug 29, 2025 3:12 am

khnaz35 wrote:
Fri Aug 29, 2025 1:14 am
And what about your users permissions or user groups permission?
The website is hosted on server with cPanel, using filemanager.

Active Member

Posts

Joined
Fri Nov 27, 2015 2:07 am

Post by khnaz35 » Fri Aug 29, 2025 11:44 am

So you don't have SHEll access? Ask your host to verify the permissions if they are correct.

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


User avatar
Active Member
Online

Posts

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

Post by paulfeakins » Fri Aug 29, 2025 11:03 pm

psytanium wrote:
Thu Aug 28, 2025 10:47 pm
I’m working on OpenCart Version 4.1.0.3.
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


User avatar
Legendary Member
Online

Posts

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

Users browsing this forum: Bing [Bot], paulfeakins and 7 guests