deonderd Posted July 14, 2013 Share Posted July 14, 2013 When updating a product i always get an internal server error I have a setup multistore with 14 stores and 11 languages using the same catalog On a VPS with SSD HD 4Gb mem 4 x Xeon 2.4 Ghz processor using php cgi settings visible on wwww.deonderdelenshop.nl/info.php I get internal server errors on product updates and also when i try to get configuration info i do not get any info about the error settings defines.inc.php /* Debug only */ define('PS_MODE_DEV', true); if (PS_MODE_DEV) { @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); } define('PS_DEBUG_PROFILING', false); define('PS_MODE_DEMO', false); $currentDir = dirname(_FILE_); if (!defined('PHP_VERSION_ID')) Error described in my directadmin apache file as [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined index: product_rule in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Dispatcher.php on line 541 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/tax/TaxCalculator.php on line 123 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 241 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 244 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 249 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 241 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 244 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 249 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 241 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 244 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 249 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 241 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 244 [sat Jul 13 14:38:19 2013] [error] [client 91.221.109.101] PHP Notice: Undefined offset: 0 in /home/deonderd/domains/deonderdelenshop.nl/public_html/classes/Link.php on line 249 [sat Jul 13 14:39:01 2013] [error] [client 94.227.100.14] Script timed out before returning headers: index.php, referer: http://deonderdelenshop.nl/Backoffice/index.php?controller=AdminAdminPreferences&token=ad2305627cdfb4fc8fef6541a2897ca2 [sat Jul 13 14:41:26 2013] [error] [client 94.227.100.14] Script timed out before returning headers: index.php, referer: http://deonderdelenshop.nl/Backoffice/index.php?controller=AdminPreferences&token=b9d0c90fa1611d67bd67c5e5670f8592 anyone an idea what i need to do? thnx Link to comment Share on other sites More sharing options...
XJR100 Posted July 22, 2013 Share Posted July 22, 2013 Also after update to 1.5.4.1 problems with saving products, error 500 when trying to get Advanced parameters -> Configuration information (2 different shops, on 2 different hostings) in http logs I see the following PHP Notice: Undefined offset: 7 in /home/www/html/shop/classes/tax/TaxCalculator.php on line 123 referrer: different pages from the shop (my-account, product pages, ....) Link to comment Share on other sites More sharing options...
NemoPS Posted July 22, 2013 Share Posted July 22, 2013 To the first post: It seems to be related to language ids, do you have any disabled language? did you recently add new ones? @XJR100: same issue, but with taxes, anything about the previous question? Link to comment Share on other sites More sharing options...
vekia Posted July 22, 2013 Share Posted July 22, 2013 hmm but all of this are not errors just simple notices only last two errors are important: [sat Jul 13 14:39:01 2013] [error] [client 94.227.100.14] Script timed out before returning headers: index.php, referer: http://deonderdelens...fef6541a2897ca2 [sat Jul 13 14:41:26 2013] [error] [client 94.227.100.14] Script timed out before returning headers: index.php, referer: http://deonderdelens...d67c5e5670f8592 it looks like execution time limit issue Link to comment Share on other sites More sharing options...
NemoPS Posted July 22, 2013 Share Posted July 22, 2013 Sure, but it might time out because of those Link to comment Share on other sites More sharing options...
vekia Posted July 22, 2013 Share Posted July 22, 2013 Nemo1 - I thought about this a little and you may be right anyway, the problem is with execution time deonderd said that he is on VPS, so in this case maybe it will be better to increase the scripts max execution time limit? for test purposes of course Link to comment Share on other sites More sharing options...
deonderd Posted July 23, 2013 Author Share Posted July 23, 2013 Hi Very strange.. i do not get any errors at the moment.. dont know why my theory is if u execute a command U will get an error after a while (if it takes to long) But that does not mean the script is not working anymore.. on the background.. it just continues.. so If u execute a few times u have several running commands.. eg. if u rebuild the index.. after u receive the 500 error.. it still continues.. just wait a few hours .; and look at the indexed products. so anyway... i had a reboot of the VPS because my SQL crashed ( i think of to much running commands) And now it works all fine U can check my php settings on www.deonderdelenshop.nl/info.php FYI i have 15 stores 28 domains using the same catalog 11 languages 5112 products www.deonderdelenshop.nl -> Dutch and english language www.magasindepieces.fr -> french and english language ..... The only problem i have now is that some products are not found in a recent store i added.. the product is in the store.. allproducts are indexed.. but still.. no search result Link to comment Share on other sites More sharing options...
J.Sahu Posted December 6, 2013 Share Posted December 6, 2013 I've enable the develope mod but its not working. No error showing but still 500 internal server error. Can some body hjelp regarding this. My website is live and I can't make any update to the products. Link to comment Share on other sites More sharing options...
vekia Posted December 6, 2013 Share Posted December 6, 2013 I've enable the develope mod but its not working. No error showing but still 500 internal server error. Can some body hjelp regarding this. My website is live and I can't make any update to the products. usually hosting providers allow to check php error log file have you got an access to this log file? if so, it is worth to check it Link to comment Share on other sites More sharing options...
J.Sahu Posted December 6, 2013 Share Posted December 6, 2013 I've contacted my webhost let me get back from them. Link to comment Share on other sites More sharing options...
SAM00006 Posted February 18, 2014 Share Posted February 18, 2014 Notice: Undefined offset: 7 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88Notice: Undefined offset: 8 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88Notice: Undefined offset: 11 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88Notice: Undefined offset: 12 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88Notice: Undefined offset: 18 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88 Link to comment Share on other sites More sharing options...
NemoPS Posted February 19, 2014 Share Posted February 19, 2014 @SAM00006 You should open a new topic for your issue. In any case, the lofadvancecustom module seems to be broken, contact the developer if it's a paid addon Link to comment Share on other sites More sharing options...
Recommended Posts