Menu

#22 problem with the xhtml dump

open
nobody
None
5
2012-10-11
2002-04-08
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    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?

     
  • Nobody/Anonymous

    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

     
  • Cuthbert Cat

    Cuthbert Cat - 2002-04-09

    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:


    while ($page = $pages->next()) {
        if (! get_cfg_var('safe_mode'))
            set_time_limit(30); // Reset watchdog
    

    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

     

Log in to post a comment.