Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#428 crao theme breaks installation

Installation
open
Reini Urban
5
2012-10-11
2005-02-28
Peter Lundqvist
No

It seems (tried a few times with fresh database) that
the virgin wiki won't load using the crao theme. It
stops after

Loading Virgin Wiki
%BODY%

Switching to the default theme, loading the virgin wiki
and then switching back solves the problem if you want
to use the crao theme.

Discussion

  • Joel Uckelman
    Joel Uckelman
    2005-04-02

    Logged In: YES
    user_id=245140

    I've investigated this problem a bit and found the following:

    When loading a virgin wiki (using every theme I've tried),
    it stops while loading ReleaseNotes. Refreshing the page
    causes the remainder of the pages to be loaded.

    I'm not sure yet whether something about the ReleaseNotes
    page is causing the problem, or if some memory or process
    limit is being hit. If I delete ReleaseNotes from pgsrc,
    loading continues up to PhpWikiPoll, and stops there.
    Deleting PhpWikiPoll lets the initial load progress a bit
    farther. I repeated this through several iterations, but
    didn't reach the end of the load process without reloading
    the page first.

     
  • Joel Uckelman
    Joel Uckelman
    2005-04-02

    Logged In: YES
    user_id=245140

    Ok, what I'm seeing is clearly due to hitting a memory
    limit, not to any peculiar properties of the pages being loaded:

    [client 128.104.60.232] PHP Fatal error: Allowed memory
    size of 8388608 bytes exhausted (tried to allocate 9749
    bytes) in /home/uckelman/projects/phpwiki/lib/ziplib.php on
    line 829

    Why does loading a fresh wiki take such an enormous amount
    of memory? Are all the pages kept in memory simultaneously
    prior to being written to the DB? Hmm.