MrBaseball34 Posted September 14, 2010 Share Posted September 14, 2010 Why would I get an error_log file placed in the modules/paypal directory when there are errors occurring in OrderHistory or PaymentModule class?I thought the path to the error_log file was set and not changed in PS. What do I need to look for? Link to comment Share on other sites More sharing options...
rocky Posted September 15, 2010 Share Posted September 15, 2010 The error_log file is placed in the working directory (the directory of the PHP file that is originally called). So if modules/paypal/validation.php is called, then the error_log will be in the modules/paypal directory, even it that script calls classes/PaymentModule.php and an error occurs in that file. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted September 15, 2010 Author Share Posted September 15, 2010 In my WAMP PHP.ini, there is this line: error_log = "c:/wamp/logs/php_error.log" Is that not applicable for Linux systems where all PHP error reporting gets thrown to one log file? Link to comment Share on other sites More sharing options...
rocky Posted September 16, 2010 Share Posted September 16, 2010 I don't use WAMP, so I'm not sure. 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