My Site www.elsantomadrazo.com has been working great until the other day. I am able to Access Front and Backend, but I am not able to do any updates. But the real issue is this:
If I click on a product directly on the site, I will go to the page and I can purchase. If I do "search", error 500, If I click on the main categories of my products like "New Products" I get the error 500. I have check file permission but that does not mean that it is correct. I have even used the Magento Check Utility & Magento Clean-Up and nothing is working. Can anyone help?
Solved! Go to Solution.
I saw your log and i found this is your server error. Please increase your max_execution_time and memory limit from php.ini. Also you can try to run your website in your local system it will works fine. so please do changes in php.ini.
Let me know if it helps.
Hi @Benji Serafin,
Cna you check your webserver error logs and the system.log and exception.log files from Magento in order to try to understand what the error is?
Thanks for your help! I hope you can understand what the error is. Below if the info you requsted
Your Current IP is: 47.217.161.156
You may cross reference errors in the Main Error Log containing this IP to determine errors associated with your website.
Please Note: The MAIN error_log is a shared log meaning that errors from all websites hosted on the server will be displayed as well as those for your website, be sure to reference your IP when searching this log.
Error Logs
[Tue Jan 17 17:29:21 2017] CURRENT SERVER TIME
MAIN error_log:
[Tue Jan 17 17:29:14 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:14 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:14 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:14 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:14 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [notice] [client 195.154.60.172] mod_rbl: 195.154.60.172 is listed in RBL., referer: http://www.maryshappybelly.com [Tue Jan 17 17:29:15 2017] [error] [client 174.17.106.83] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 96.233.75.143] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 174.17.106.83] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 100.0.47.197] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 203.77.211.10] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 10.211.77.203.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "1059"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.michaelmikulak.com"] [uri "/wp-login.php"] [unique_id "WH6220KT9GcAADn0DAQAAABK"] [Tue Jan 17 17:29:15 2017] [error] [client 51.254.37.59] Cannot load the ionCube PHP Loader - extension already loaded [Tue Jan 17 17:29:15 2017] [error] [client 203.77.211.10] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 10.211.77.203.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "1059"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "www.michaelmikulak.com"] [uri "/wp-login.php"] [unique_id "WH6220KT9GcAADn0DBMAAABR"] [Tue Jan 17 17:29:15 2017] [error] [client 203.77.211.10] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "www.michaelmikulak.com"] [uri "/wp-login.php"] [unique_id "WH6220KT9GcAADn0DBMAAABR"] [Tue Jan 17 17:29:15 2017] [notice] [client 91.210.146.9] mod_rbl: 91.210.146.9 is listed in RBL., referer: http://greeninteractivehybridsystems.net/wp-login.php [Tue Jan 17 17:29:15 2017] [error] [client 46.29.77.90] ModSecurity: Access denied with code 406 (phase 1). RBL lookup of 90.77.29.46.rbldns.shared.unifiedlayer.com succeeded at REMOTE_ADDR. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "1059"] [id "900407"] [msg "Wordpress and Joomla Brute RBL: rbldns.shared.unifiedlayer.com"] [hostname "michelleinthemiddle.com"] [uri "/wp-login.php"] [unique_id "WH6220KT9GcAADn0DBYAAABU"] [Tue Jan 17 17:29:15 2017] [error] [client 46.29.77.90] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/etc/httpd/modsecurity.d/eig_rules.conf"] [line "101"] [id "900406"] [msg "wp-login POST logging"] [data "406"] [hostname "michelleinthemiddle.com"] [uri "/wp-login.php"] [unique_id "WH6220KT9GcAADn0DBYAAABU"] [Tue Jan 17 17:29:15 2017] [error] [client 96.233.75.143] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 174.17.106.83] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 96.233.75.143] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [error] [client 38.29.206.194] File does not exist: /usr/local/apache/htdocs/wpad.dat [Tue Jan 17 17:29:15 2017] [notice] [client 195.154.60.172] mod_rbl: 195.154.60.172 is listed in RBL., referer: http://www.maryshappybelly.com [Tue Jan 17 17:29:15 2017] [notice] [client 91.210.146.9] mod_rbl: 91.210.146.9 is listed in RBL., referer: http://greeninteractivehybridsystems.net/wp-login.php
PHP error_log:
/home6/elsantom/public_html/error_log: [17-Jan-2017 09:21:38] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:39:31] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:51:33] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:56:40] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:57:44] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:57:52] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:58:30] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:58:38] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 15:58:57] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:23:24] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:30:17] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:37:28] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:37:31] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:37:32] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156 [17-Jan-2017 16:38:37] PHP Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/
You got several errors. I guess I could start with Inoncube.
Are you using some module with Ioncube? Did you updated your PHP version lately?
I saw your log and i found this is your server error. Please increase your max_execution_time and memory limit from php.ini. Also you can try to run your website in your local system it will works fine. so please do changes in php.ini.
Let me know if it helps.
I will do... Where do I find the php.ini file?
I went ahead and change the max limit to 60 and memory limit to 512M. Know I am seeing this error
Fatal error: Call to undefined method Mage::getEdition() in /home6/elsantom/public_html/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php on line 156
Please increase max execution limit to 120 and memory to 1048 after increasing if you are facing same error. open the file app/Mage.php and find getEdition() function exist or not.
If getEdition() function not in the file put this function in file. Here is the function code:
public static function getEdition() { return self::$_currentEdition; }
Let me know if it works.