From: Marc L. <mar...@gm...> - 2007-07-11 01:34:47
|
Hi! While I have noticed several reports of a blank page at tiki-install.php in IRC and the forums, it doesn't seem to affect everyone. Otherwise, we would have had so many more support requests. Is this a recent bug? Because of an upgrade to Smarty or because tiki.sql was smaller before? Or does it affect only certain setups? We should definitely try to solve it. Of course, many users could get a blank page, will not know how to solve, and will move on to another project. Is "not to display the successful queries" the best way we can do this? It is sort of nice & reassuring to have this info, no? I have added this to the blocker items for 1.9.8 (to be discussed/analyzed, even if the solution is to choose to change nothing in 1.9.x) (Nyloth's changes are to 1.10.x install script.) Thanks! M ;-) Nyloth wrote: > Hi all, > > Very quickely... > > I just found one reason that could explain white / empty pages during Tiki > installation process. > > In fact, when displaying all successful SQL queries in the textarea parsed by > smarty, its 'trimwhitespace' outputfilter is used. > > This plugin use the following lines of code : > > $source = preg_replace("!<textarea[^>]+>.*?</textarea>!is", > '@@@SMARTY:TRIM:TEXTAREA@@@', $source); > > And our problem was that it can't handle our $source string, which contains > approximatelly the content of tiki.sql (~ 219456 chars). > > The page http://fr3.php.net/manual/en/ref.pcre.php explains that > pcre.backtrack_limit and pcre.recursion_limit parameters, used as a limit by > preg_replace() function are limited to 100000 chars. > > Increasing this PHP conf doesn't work neither. > > This is one of the reasons which convinced me not to display the "successful > queries" in the installation process. > > Nyloth. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Tikiwiki-devel mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > -- M ;-) ////////////////////////////////////////////////////////////////// / / / Marc Laporte <|> http://marclaporte.com / / Avantech.net <|> http://avantech.net / / Tiki CMS/Groupware <|> http://tikiwiki.org/UserPagemarclaporte / / / ////////////////////////////////////////////////////////////////// |