Success Case: Resolving Admin Area Error (#2)
A customer encountered an Error (#2) Internal Server Error after running an import script. This prevented access to the admin area, delaying their website launch.
After reviewing the log files, our team identified the issue:
- Logging was enabled, but the log file name was invalid:
- Store Page Parse Time – False
- Log Destination – /var/page_parse_time.log
- The issue has been fixed and will be resolved in the next version.
Since the customer could not access the admin area, they needed an alternative way to apply the fix.
To resolve the issue, the support team advised to update the setting using SQL or a configuration file:
Option 1: Update via SQL
Run the following query:
UPDATE configuration
SET configuration_value = 'false'
WHERE configuration_key = 'STORE_PAGE_PARSE_TIME';
Option 2: Modify Configuration File
Add the following line to admin/includes/local/configure.php:
define('STORE_PAGE_PARSE_TIME', 'false');
The customer applied the fix and successfully regained access to the admin area, allowing them to proceed with their website launch.
Always remember about the importance of proper logging configuration. This success case provides a clear, accessible solution for users who may encounter similar issues.