My, my! That was fast ... v1.0.2 is now available for download!
My, my! That was fast ... v1.0.2 is now available for download!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi,
i got a strange report:
It should report something different instead of that, right?HTML Code:[25-May-2015 14:59:07] PHP Warning: debug_print_backtrace() expects exactly 0 parameters, 1 given in /var/www/vhosts/.../httpdocs/includes/extra_configures/enable_error_logging.php on line 20
In every debug file is the same regerdless the error reported after.
I checked the plugin file and it should be installed correctly... What am i missing?
@izar74: You're running on a PHP version less than 5.3.6, right?
Well... it's the reason! The parameter was introduced in PHP 5.3.6.
You can edit the /includes/extra_configures/enable_error_logging.php file and its admin counterpart, changing the line that reads:
toCode:debug_print_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS);
Code:debug_print_backtrace ();
I've submitted v1.0.3. This version calls the debug_print_backtrace function with arguments dependent on the PHP version ... so no more PHP warnings for PHP versions less than 5.3.6 (which are no longer supported, anyway).
If you're currently using the plugin on a later version of PHP, there is no need to update.
v1.0.3 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1879
I just submitted v1.1.0 for review. The information logged now contains the REQUEST_URI (actual page and parameters) and REMOTE_ADDR (the IP address) values active when the debug-log occurred.
There have been times when an issue occurs only on a specific page's access and/or when a specific IP address is accessing (like a script kiddie forcing out-of-memory conditions), so that additional information will help in figuring out what's going on when a debug-log occurs.
Bookmarks