Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Maximum execution time


syscon

Recommended Posts

When I go to "whos_online.php" most of the time I'm getting this error:

Fatal error: Maximum execution time of 30 seconds exceeded in 
/...path.../admin/whos_online.php on line 136

sometimes the line number is different.

I'm using: PHP Version: 5.2.6RC4 (Zend: 2.2.0)

 

Does anybody know how to fix it?

 

#Joseph

#Joseph

Link to comment
Share on other sites

Are you useing a standard osC or is it modified? what version? which PHP, SQL, Apache

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Are you useing a standard osC or is it modified? what version? which PHP, SQL, Apache

 

I'm using standard OSC, very little modification, mainly cosmetics.

apache-2.2.8-r3

mysql-5.0.54

/php-5.2.6_rc4

 

This error comes and goes, I can not pin-point the reason.

 

#Joseph

#Joseph

Link to comment
Share on other sites

  • 6 months later...

I have removed from lines 115-127 in who_is_online.php this code and the error disapeard.

if (PHP_VERSION < 4) {
	$start_id = strpos($session_data, 'customer_id[==]s');
	$start_cart = strpos($session_data, 'cart[==]o');
	$start_currency = strpos($session_data, 'currency[==]s');
	$start_country = strpos($session_data, 'customer_country_id[==]s');
	$start_zone = strpos($session_data, 'customer_zone_id[==]s');
  } else {
	$start_id = strpos($session_data, 'customer_id|s');
	$start_cart = strpos($session_data, 'cart|O');
	$start_currency = strpos($session_data, 'currency|s');
	$start_country = strpos($session_data, 'customer_country_id|s');
	$start_zone = strpos($session_data, 'customer_zone_id|s');
  }

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...