Timeout 30 seconds exceeded

Tuesday, 19 July 2016 · 3 messages
MK
Mohamed kharrat19 Jul 2016 00:57 #
Hi,i have got the error Fatal error: Maximum execution time of 30 seconds exceeded in E:\EasyPHP-DevServer-14.1VC9\data\...\BaseXClient.php on line 99 i'm working on Windows.I have changed the 30 by 300 in the .basex configuration filebut i still get same error of 30 seconds.Is there any other option i have to set? Thank you
MG
Maximilian Gärber19 Jul 2016 08:45 #
Hi, if you are connecting as admin user, there is no timeout in BaseX. Neither if you are sending an updating query. Maybe this is a network/php timeout? Regards, Max 2016-07-19 0:57 GMT+02:00 Mohamed kharrat <med_khr at yahoo.fr>:
Quoted text · Mohamed kharrat · 12 lines
> Hi, > i have got the error > > Fatal error: Maximum execution time of 30 seconds exceeded in > E:\EasyPHP-DevServer-14.1VC9\data\...\BaseXClient.php on line 99 > > i'm working on Windows. > I have changed the 30 by 300 in the .basex configuration file > but i still get same error of 30 seconds. > Is there any other option i have to set? > > Thank you
BL
Bram Vanroy | KU Leuven19 Jul 2016 09:17 #
Reading through the list from the hot shores of Italy! This *is* a PHP error. PHP has an execution time limit, most probably defined in an ini-file. However, an "easy way out" is setting the limit for the current script separately. However, I advise you to only do this for testing purposes, this is not the best work-around in production environments because other (possibly malicious) processes are given all the time they need. At the top of your PHP script, put this line: set_time_limit(0); -----Oorspronkelijk bericht-----
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 24 lines
Van: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Namens Maximilian Gärber Verzonden: dinsdag 19 juli 2016 8:45 Aan: Mohamed kharrat <med_khr at yahoo.fr> CC: basex at inf.uni-konstanz.de; BaseX Talk <basex-talk at mailman.uni-konstanz.de> Onderwerp: Re: [basex-talk] Timeout 30 seconds exceeded Hi, if you are connecting as admin user, there is no timeout in BaseX. Neither if you are sending an updating query. Maybe this is a network/php timeout? Regards, Max 2016-07-19 0:57 GMT+02:00 Mohamed kharrat <med_khr at yahoo.fr>: > Hi, > i have got the error > > Fatal error: Maximum execution time of 30 seconds exceeded in > E:\EasyPHP-DevServer-14.1VC9\data\...\BaseXClient.php on line 99 > > i'm working on Windows. > I have changed the 30 by 300 in the .basex configuration file but i > still get same error of 30 seconds. > Is there any other option i have to set? > > Thank you

⚡Generated with XQuery