Jump to content

Archived

This topic is now archived and is closed to further replies.

Dirty Butter

How to Create the Error Log

Recommended Posts

On 8/1/2016 at 8:55 AM, bsmither said:

SEE BSMITHER'S CODE IN THE COMMENT BELOW - I MESSED MINE UP SOMEHOW

 

Share this post


Link to post
Share on other sites

Using a programmer's text editor (not a word processor), please create a file called ini-custom.inc.php, and have as its contents:

<?php
# Custom initialization commands
# Filename: ini-custom.inc.php
# File location: main CubeCart folder

ini_set('memory_limit', '256M');
ini_set('max_execution_time', '60');
ini_set('error_log', 'error_log');
ini_set('log_errors', 'on');
?>

Make sure this file has only these contents -- absolutely no lines or spaces before <?php and no lines or spaces after ?>. Place this file in CubeCart's main folder at your site.

Your hosting control panel's set of tools may have an editor available.

If the problem is with CubeCart, and you get the blank page, there should be a new file named error_log in the main folder.

Share this post


Link to post
Share on other sites

Thank you very much for the reply

The page is totally white - no nav bar on the left, the remainder of the admin panel functions correctly.

I've created the ini.custom.inc file and placed it in the root directory. I've then navigated to the categories page and checked for an error_log in the root directory - it's not there.

 

Share this post


Link to post
Share on other sites

Please check the spelling of the new file.

You have ini.custom.inc, it should be ini-custom.inc.php.

Share this post


Link to post
Share on other sites

×
×
  • Create New...