Beluga Posted October 11, 2013 Share Posted October 11, 2013 (edited) I am missing vital information from a payment gateway, because PS cuts the warning messages short. I have tried to log the warnings with for example at the start of payment.php: ini_set("log_errors", 1); ob_start(); at the end of payment.php: $Out=ob_get_contents(); ob_end_clean(); ini_set("error_log", "/mypath/php-error.log"); error_log( $Out ); But I only get the short messages logged. How can I stop Prestashop from behaving in this way? Edited October 11, 2013 by Beluga (see edit history) Link to comment Share on other sites More sharing options...
Beluga Posted October 11, 2013 Author Share Posted October 11, 2013 It wasn't the fault of PS, but my host and luckily I noticed the beginning of the message had a number that corresponded to a field in the payment gateway API so I was able to figure it out! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now