Dirty Butter Posted August 1, 2016 Share Posted August 1, 2016 On 8/1/2016 at 8:55 AM, bsmither said: SEE BSMITHER'S CODE IN THE COMMENT BELOW - I MESSED MINE UP SOMEHOW Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 8, 2016 Share Posted August 8, 2016 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. Quote Link to comment Share on other sites More sharing options...
gpzzone Posted August 11, 2017 Share Posted August 11, 2017 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. Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 11, 2017 Share Posted August 11, 2017 Please check the spelling of the new file. You have ini.custom.inc, it should be ini-custom.inc.php. Quote Link to comment Share on other sites More sharing options...
dianepep Posted July 2, 2020 Share Posted July 2, 2020 On 8/8/2016 at 5:16 PM, bsmither said: 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. Thanks! I created the file and when I tried to clear the error log I still got a blank page and there was no file named error_log in the main folder but it did clear the error log so that's great! I set my database back to it's original and I can now add reviews through the admin panel so it must have been something with my copied review table. I will try to copy the database over again. If it fails after that I will just add them manually. Thanks again for your help! Quote Link to comment Share on other sites More sharing options...
Timrivera Posted November 1, 2022 Share Posted November 1, 2022 (edited) Don't treat all errors the same. Make sure each error log provides context. Monitor frequency next to the context. Make error log history easy to search. Critical Errors need real time alerts. Use the right channel to monitor error logs. MyCCPay Login Edited November 2, 2022 by Timrivera Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.