SkaKri Posted November 25, 2005 Report Share Posted November 25, 2005 (edited) umm, kāds varētu pasviest kādu ideju (vai koda gabalu, whatever), kāvarētu panākt, kad rodas kāda kļūda (manā gadījumā - mySQL nespēj 'sagremot') - lai automātiski norisinās meta-refresh? problēma redzama te: http://skvots.ex.lv/f/ - pastaigā, un radīsies tiešām nepieciešamība pēc F5.. :S PS: tagad esmu uzlicis - error_reporting(0); Edited November 25, 2005 by SkaKri Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 $sql = "INSERT INTO tabua VALUES ('a','b')"; mysql_query($sql) or die(mysql_errno() . ' : '. mysql_error() .'<br>'.$sql); Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 umm, vispār laikam jāizsakas precīzāk - vnk es atslēdzu error report, jo ex.lv bik' bremzējas (pa laika) un viņam skripta izpildēm limits - 10sekundes..... :S Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 set_time_limit(0); http://lv.php.net/function.set-time-limit pat slinkums mekleet :( Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 Warning: set_time_limit(): Cannot set time limit in safe mode in D:\wwwautom\skvots\lapa\f\header.php on line 2 ...ko nu....? :( Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 ini_set(); Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 ini_set(); es mēģināju tā ini_set(safe_mode("0")); set_time_limit(999); bet neiet. hmm, laikam par cirvi tomēr piedzimst. palīdzēsi? Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 ini set un skripta izpildes laiku ini_set('max_execution_time',0); pameegini itaa :) Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 (edited) Umm, bet safe mode? Edited November 25, 2005 by SkaKri Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 ā, ini_set('safe_mode',0); phh, nu ko - pāldies ;D bet nelīdz.... (hmm, monologs) Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 ieliec lapas saakumaa ita: , bez nekaadaam safe modeem <? ini_set('display_errors',1); ini_set('max_execution_time',0); ?> Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Author Report Share Posted November 25, 2005 iemetu. skaisti! http://paste.php.lv/2909 lieku atpakaļ iepriekšējo. vismaz nesmukums nav, ja nepieslēdzas normāli sql, vai kas cits Link to comment Share on other sites More sharing options...
Klez Posted November 25, 2005 Report Share Posted November 25, 2005 tak uzliec lai raada tikai fatall errorus Link to comment Share on other sites More sharing options...
Recommended Posts