urota010 Posted April 25, 2013 Share Posted April 25, 2013 Problem with error_log and mysql.php Hi, Maybe someone knows what the problem is, I understand very little about it. Very quickly my error_log is size up to 2-6 GB and most returns this error: error_log: ----- [25-Apr-2013 09:40:03] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in ...../ibuy-shop.com/classes/MySQL.php on line 175 MySQL.php - Line 175 ------ public function nextRow($result = false) { return mysql_fetch_assoc($result ? $result : $this->_result); } --- Thank you all for any help Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2013 Share Posted April 25, 2013 well, error_log is an error reporting file, you can find there all scripts errors in your php files. as you can see, you've got an error in mysql class. it is hard to say what exactly is wrong without more informations. Any other errors appear there? Link to comment Share on other sites More sharing options...
urota010 Posted April 25, 2013 Author Share Posted April 25, 2013 Hi vekia, Thank you for your answer for now there is only this error: [25-Apr-2013 09:40:03] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in ../ibuy-shop.com/classes/MySQL.php on line 175 a few hours ago I deleted error_log because it was the size of 20GB and now is a size of 1.7MB only with this error. pretty weird. 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