Jump to content
Dirty Butter

How to Create the Error Log

Recommended Posts

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 an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×