chrometweaks.org

How do you determine which page is your home page using iPage.com?

Click Here To View All Answers...


Got a question, hope someone can answer... How do you determine which page is your home page using iPage.com? Thanks in advance for any answer or 2. Second question.. Can someone tell me how to fix this? Or how I messed it up?? It happens only on some of my pages which is really strange to me. It won't load for 30 seconds then gives this error. I can't find anything.

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

THis is the code for that error:.

I don't see what's wrong? Different pages have different errors..

The only thing I installed was the "Random New Products for XXX Month" contrib. Is that the problem.

Http://www.oscommerce.com/community/contri...1/search,random..

Comments (58)

I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some poking around and get back to you if I discover an decent answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

I just want to add one thing to this.

Backup backup backup when ever you install a mod backup your database backup your iPage site this will save you many many headaches..

Comment #2

I have the backup/original I just can find the difference or what I did wrong. The strange this is I didn't even modify the database page. So I guess the "random" doens't work. Or there's something not in the instructions.

Here's the instructions:..

Comment #3

Well I give up.

I can't figure it out. I've been messing with it all day. So I put it back to normal. Thanks for the help though..

Comment #4

You were looking in general.php rather than database.php.

The error is with:.

 function tep_db_fetch_array($db_query) {.

   return mysql_fetch_array($db_query, MYSQL_ASSOC);.

 }.

Look for tep_db_fetch_array in the new code you added - I would say there is an infinite loop in your code causing a mysql query to execute until it times out.

Matti..

Comment #5

Can someone tell me how to fix this? Or how I messed it up?? It happens only on some of my pages which is really strange to me. It won't load for 30 seconds then gives this error. I can't find anything.

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

THis is the code for that error:.

I don't see what's wrong? Different pages have different errors..

The only thing I installed was the "Random New Products for XXX Month" contrib. Is that the problem.

Http://www.oscommerce.com/community/contri...1/search,random..

Comment #6

$product_query = tep_db_query("select specials_new_products_price from "TABLE_SPECIALS" where products_id = '"(int)$product_id"' and status");.

And status = what? That may be the problem, though if that is it, I am surprised it's not giving you a syntax error. Try looking over the install.txt file from the contrib and see if you messed up. Make sure you copied/pasted exactly how it told you and that you didn't take out a semicolon or something by accident...

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.