Forums / Basic Configuration / Enable Error Logs??

Enable Error Logs??

Started by wwwd on 14 Mar 2013, 7:31 PM · Views: 2,971

Results 1 to 8 of 8
14 Mar 2013, 7:31 PM
#1
wwwd avatar

wwwd

Inactive

Join Date:
Nov 2012
Posts:
100
Plugin Contributions:
0

Enable Error Logs??

I have two sites, both running 151. Neither seem to generate error logs, even when they are clearly erroring.

Is their some setting that I have to configure when installing that I have missed. I have read how moving from 1.3 to 1.5 was a vast improvement for error reporting but you couldn't prove it from what I'm (not) seeing.

14 Mar 2013, 10:14 PM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Enable Error Logs??

Also check out the logs for your actual hosting webserver thingie, as I have found hard to find errors often show up there, especially if i have made a monumental bork up.

Webzings Design
Semi retired from Web Design

14 Mar 2013, 10:17 PM
#4
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Enable Error Logs??

Also check out the logs for your actual hosting webserver thingie, as I have found hard to find errors often show up there, especially if i have made a monumental bork up.

Edit--------------

  1. When you say they are clearly erring, what are you seeing
  2. Is there a link where we can test this for ourselves
  3. What files are showing up in the /logs folder

///--------- Stupid Vbulletin not letting me edit my post in Opera

Webzings Design
Semi retired from Web Design

22 Mar 2013, 10:29 PM
#5
wwwd avatar

wwwd

Inactive

Join Date:
Nov 2012
Posts:
100
Plugin Contributions:
0

Re: Enable Error Logs??

I am getting blank, white pages. It doesn't generate an error on the server PHP logs, either.

23 Mar 2013, 2:36 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Enable Error Logs??

If your DB credentials are wrong, you might not get any error logs.
If you've got missing, damaged, or incomplete PHP files that happen to get loaded before the error-logging instructions are processed, then those could be triggering failure before the logging can be started.

Best process: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Apr 2013, 7:02 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Enable Error Logs??

If you're using v1.5.1, then you don't want to install that old 1.3.9 addon.
As the FAQ article on the matter (http://www.zen-cart.com/content.php?124-blank-page) says, just look in your /logs/ folder for the php debug logs.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.