Loading...
 
Skip to main content

Architecture / Installation


strange error after upgrade

after upgrading tikiwiki 1.9.7 to version 2.0, I am getting a very strange error
Everything seems to work well, but I cannot access 1 page (till now I found only one...) of wiki pages.
This page is obviously the most important in my tiki...(murphy law?)
When I press the link to this page from last modified pages, I wait about 30 seconds and then I get a 500 internal server error.

If Then I click another link (back and then another link) I have no problems.

If I perform a search in my tiki using a word surely contained in this page, and suppose it returns 4 results pages (and this page is in the 4th page: this is also one of the first pages created in my tiki) I can see the first result page, then navigate to the second ok, then ok to the 3rd.
when I navigate to the last, again I wait about 30 seconds then again I get 500 internal server error.
I am not able to find any errors in my logs: I set E_ALL in my php.ini

what can I check ?

thanks,

ANdrea

Looking better I found an error:

Thu Sep 04 10:23:08 2008 error client 192.168.69.110 PHP Fatal error: Maximum
execution time of 30 seconds exceeded in /srv/www/tikiwiki/lib/tikilib.php on line 4929, referer: http://tiki.frameweb.it/tiki-index.phpQuestion

raising to 120 seconds doesn't change anything:

Fri Sep 05 15:28:34 2008 error client 192.168.69.110 PHP Fatal error: Maximum execution time of 120 seconds exceeded in /srv/www/tikiwiki/lib/tikilib.php on line 4929, referer: http://tiki.frameweb.it/tiki-admin_system.php?do=templates_cQuestion


I tried to comment out the line 4929 of /srv/www/tikiwiki/lib/tikilib.php

// $data = preg_replace($noparsed%22key%22, $noparsed%22data%22, $data);

the page appears. But all the CODE tag inside are destroyed, like:

14e174ea6d5c0c7e59e6eb0f59d1f415 shown instead of the code.

What can I check to really solve the problem ?

the tiki is public and that page is public too, so if you want to have a look at the page
itself... unfortunately it is in italian...
here is the link:
http://tiki.frameweb.it/tiki-index.php?page=asterisk-comandi%20installazioneQuestion



Trying to repair the table doesn't solve the problem
copying the soure to a new page (having that line commented out) and then
removing the comment and the looking at the page brings to the same behaviour
(500 internal server error)

I tried to put the same page source on another tikiwiki, installed ad 1.9.7 and then migated to 2.0
the behaviour is the same. so it means that there is something inside the page crashing the tiki.

I think that it can be considered a bug

Andrea


I found the line breaking the tiki page.
the line contain a pipe
actually I am able to create a single tiki page crashing the tiki on that page
(500 internal server error)
the page consists of 3 lines
first line the beginning of code tag
tird line the ending of code tag
2nd line crashing:
echo "Usage: $0 { start | stop }"

Copy to clipboard
echo "Usage: $0 { start | stop }"