cancel
Showing results for 
Search instead for 
Did you mean: 

CE 1.6 Error 500

SOLVED

CE 1.6 Error 500

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: CE 1.6 Error 500

Hi @Benji Serafin

 

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.

Let me know if it helps. You can raise a KUDOS if its really worth for you. Also if it solves your problem then please mark as SOLUTION.

View solution in original post

8 REPLIES 8

Re: CE 1.6 Error 500

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?

Re: CE 1.6 Error 500

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/

System Log
2017-01-17T04:45:16+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T04:46:20+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T06:54:28+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T07:51:10+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T08:56:00+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T09:04:52+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T09:21:14+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T09:51:52+00:00 ERR (3): Notice: Undefined variable: currUrl  in /home6/elsantom/public_html/app/design/frontend/default/t-shirt/template/catalog/product/view/addto.phtml on line 46
2017-01-17T10:07:39+00:00 ERR (3): Warning: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Filename cannot be empty  in /home6/elsantom/public_html/lib/Varien/Image/Adapter/Abstract.php on line 87
2017-01-17T10:07:39+00:00 ERR (3): Notice: Undefined index:  dirname  in /home6/elsantom/public_html/lib/Varien/Image/Adapter/Abstract.php on line 256
2017-01-17T10:07:39+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Response/Http.php:44
[1] /home6/elsantom/public_html/lib/Zend/Controller/Response/Abstract.php:766
[2] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Response/Http.php:75
[3] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php:188
[4] /home6/elsantom/public_html/app/code/core/Mage/Core/Model/App.php:347
[5] /home6/elsantom/public_html/app/Mage.php:640
[6] /home6/elsantom/public_html/index.php:80
</pre>
2017-01-17T10:07:50+00:00 ERR (3): Warning: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Filename cannot be empty  in /home6/elsantom/public_html/lib/Varien/Image/Adapter/Abstract.php on line 87
2017-01-17T10:07:50+00:00 ERR (3): Notice: Undefined index:  dirname  in /home6/elsantom/public_html/lib/Varien/Image/Adapter/Abstract.php on line 256
2017-01-17T10:07:50+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Response/Http.php:44
[1] /home6/elsantom/public_html/lib/Zend/Controller/Response/Abstract.php:766
[2] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Response/Http.php:75
[3] /home6/elsantom/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php:188
[4] /home6/elsantom/public_html/app/code/core/Mage/Core/Model/App.php:347
[5] /home6/elsantom/public_html/app/Mage.php:640
[6] /home6/elsantom/public_html/index.php:80
 

 

Re: CE 1.6 Error 500

@Benji Serafin,

 

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?

Re: CE 1.6 Error 500

Damian, as far as I know I have not updated PHP. Perhaps my shared
webserver Bluehost did. DO you think trying to update Magento 1.6 to 1.9
could fix the issue? If you visit the site, www.elsantomadrazo.com and
click on any of the main categories on the top menu you will see what the
site does. But if you click on the products that appear on the front page
it works correctly.

Ben

Re: CE 1.6 Error 500

Hi @Benji Serafin

 

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.

Let me know if it helps. You can raise a KUDOS if its really worth for you. Also if it solves your problem then please mark as SOLUTION.

Re: CE 1.6 Error 500

I will do... Where do I find the php.ini file? 

Re: CE 1.6 Error 500

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

Re: CE 1.6 Error 500

Hi @Benji Serafin

 

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.

 

Let me know if it helps. You can raise a KUDOS if its really worth for you. Also if it solves your problem then please mark as SOLUTION.