Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What is this check my site?


keoga

Recommended Posts

Posted

Hi I'm finnishing my site and found out this strange behavior??

If I click on the categorie Hike for example it will show the subcategories.

 

If i click on the Categorie "skor" it doesnt show the subcategories but this:

 

Fatal error: Maximum execution time of 30 seconds exceeded in /home/friluft/public_html/includes/modules/new_products.php on line 61

 

I cannot understand this appreciate any help!

 

My site http://www.friluft.se in swedish!

Posted

Greetings,

 

Since the images are seemingly saved in high quality format, it takes longer for the page to load...

The default time that is allowed for an image to load is 30 seconds..

 

What You want to do, is lower down the quality of the images, or change the New_products.php maximum time to 10 minutes :P

 

salam,

--------------------------------

Posted

This cannot be! because I have no trouble if I click on "Belysning" or "Hiking" and the images are just 2-3kb big.

 

It seems that this is happenning with every new categorie that I insert that has subcategories.

 

But thanks for trying 10min hehe...

Posted

You have to increase "maximum execution Time" in your php.ini its by default 30 seconds and generating the error in your case.

 

;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30    ; Maximum execution time of each script, in seconds
max_input_time = 60; Maximum amount of time each script may spend parsing request data
memory_limit = 8M     ; Maximum amount of memory a script may consume (8MB)

Posted

Aaargh at last I found the problem! It was the random newproducts module that I had installed, but I dont really know why, just removed that module!

 

Thank you for all the help guys!

  • 1 year later...
Posted
You have to increase "maximum execution Time" in your php.ini its by default 30 seconds and generating the error in your case.

 

;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30  ; Maximum execution time of each script, in seconds
max_input_time = 60; Maximum amount of time each script may spend parsing request data
memory_limit = 8M   ; Maximum amount of memory a script may consume (8MB)

 

I can't find a php.ini file on my server. I installed using the "unzip and copy file" method so I don't know if that has anything to do with it. My website, http://www.saltandlightlearning.com/catalog, displays catagories and sub-catagories 4 deep and products fine. But going to Admin catalog section gives me the following:

 

Fatal error: Maximum execution time of 30 seconds exceeded in /home/saltandl/public_html/catalog/admin/includes/functions/database.php on line 45

 

Line 45 in my version is:

$result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error());

within function tep_db_query

 

Trying to access Catalog/Products a second time gives me:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/saltandl/public_html/catalog/admin/includes/functions/general.php on line 177

 

which is the if statement in this section:

while ($categories = tep_db_fetch_array($categories_query)) {

if ($exclude != $categories['categories_id']) $category_tree_array[] = array('id' => $categories['categories_id'], 'text' => $spacing . $categories['categories_name']);

$category_tree_array = tep_get_category_tree($categories['categories_id'], $spacing . '   ', $exclude, $category_tree_array); }

 

I can't get this website off the ground. Help!?

Mike

Archived

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

×
×
  • Create New...