Jump to content

Internal servererror when try to update a product or entering configurationinformation


Recommended Posts

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

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

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

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

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

  • 4 months later...

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

  • 2 months later...

Notice: Undefined offset: 7 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88

Notice: Undefined offset: 8 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88

Notice: Undefined offset: 11 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88

Notice: Undefined offset: 12 in /var/www/clients/client2/web14/web/test/modules/lofadvancecustom/config/lofadvancecustom.php on line 88

Notice: 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

×
×
  • Create New...