Post by jhuppi » Tue Mar 12, 2019 11:32 pm

My error log is empty despite having a line of code with $this->log->write('Log'); in one of my controllers.
Display errors and log errors are set to yes in my admin settings.
My storage and logs folders have 0777 permissions.

What could I be missing?

Newbie

Posts

Joined
Wed Jan 30, 2019 12:48 am

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by letxobnav » Wed Mar 13, 2019 1:03 pm

no, oc error logging is separate from standard php error logging which may be useful if you do not have access to the php error logs.

Crystal Light Centrum Taiwan


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm

Post by paulfeakins » Wed Mar 13, 2019 7:57 pm

jhuppi wrote:
Tue Mar 12, 2019 11:32 pm
My storage and logs folders have 0777 permissions.
This is wrong , insecure and could be the problem.

Folders should be 755
Files should be 644

Some hosts will see you have set 777 and block things.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

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

Users browsing this forum: No registered users and 23 guests