Topic: Restore Back-up..... error!

I cant restore my database, because this:

Fatal error: Maximum execution time of 90 seconds exceeded in e:\Websites\carola2\carola11\tucaravana.com\Web\foro\admin_loader.php on line 27
PHP Fatal error: Maximum execution time of 90 seconds exceeded in e:\Websites\carola2\carola11\tucaravana.com\Web\foro\admin_loader.php on line 27

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

I try this:

//
// Increase maximum execution time, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(10000);
----------------------------------------------
and

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

//
// Increase maximum execution time, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(5000);

-----------------------------------------------
and!
-----------------------------------------------
//
// Increase maximum execution time, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(1500);

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



how i can do?



PD: Sorry the english!

2

Re: Restore Back-up..... error!

Hi,

What I usually do is backup and restore the database without the following tables:
punbb_search_matches
punbb_search_words

Then I have a sql text file I run through phpMyadmin to create these tables.

Then go into the admin section -> Maintenance -> Rebuild search index

That should do it, the search tables get very large and can be rebuilt with ease.

Re: Restore Back-up..... error!

yes, but, or I did back up of all the complete table, reason why me it is impossible to do that, or no?

4

Re: Restore Back-up..... error!

If you can use phpMyadmin, you can select what tables to backup.

Re: Restore Back-up..... error!

Thanks to respond, but I believe that you do not understand to me.  I have I file created with < AP_DB_management.php > that contains back up complete of all the forum (it is a complete text file of 7 mb!), the problem is that I cannot load it so that the time exceeds.  With phpMyadmin he gives the same error me when trying to generate a consultation that concerns the file to me.

The problem is the serer or the script?.  as I already said, and proven with the parameter:

@set_time_limit(500);

---------------------
how can i do?

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


thank you very much, greetings!

Re: Restore Back-up..... error!

@set_time_limit(10000);

Just write set_time_limit(0); to remove any time limit in your script!
But, if your PHP works in safe mode, it won't allow you to use this instruction.

see phpinfo(); for safe-mode variable is  on/off.

Re: Restore Back-up..... error!

I don't see how this is a feature request, moved to troubleshooting.

Looking for a certain modification for your forum? Please take a look here before posting.