ehm, in effect it is not a bug of phpwiki, but however
I need help. I give also the context beacuse I'm open
also to other possible solutio of my problem
The objective:
I need to be able to have a easy printable of wiky
snapshot
The method:
dump of the snapshot in xhtml format
(little editing: remove the three first line in order
that the browser parse it as html)
creation of a PDF version with the web capture function
The Problem:
the wiki is not very big, but due to the timeout of 30
sec in the net connection of mysql I am not able to
make the whole dump
Is there some way to bypass it?
Is there some way to augment it?
Thanks in advance
Logged In: NO
I changed the net_read_timeout in mysql (that I thought be
responsible for the message) but nothing changed.
the message after 30 sec is
Maximum execution time of 30 seconds exceeded in ...
Some ideas of what I can do?
Logged In: NO
OK..
I found the problem...
probably it should be fixed in phpwiki...
the time out is set with set_time_limit
I splved my problem... I hope taht this thread should be
useful to someone else...
BYE
Logged In: YES
user_id=11619
Hmm...it would help to know which version of phpwiki you
are using. Carsten added code to my original patch which
resets the timer with set_time_limit(30) every time you
generate a new XHTML page. That way the timeout is on
individual pages rather than the whole lot. It is in
loadsave.php and goes like this:
Can you check to see if your version has this? Or try with
the latest version and see if it works? Let me know how it
goes.
Cheers,
CuthbertCat