Menu

Error in upgrading to version 1.7.0

2010-12-02
2012-09-14
  • Mark Corben

    Mark Corben - 2010-12-02

    Hi,

    I am upgrading from version 1.6.1 to 1.7.0 and each time i attempt to apply
    patch patch-00164-alla.php I get a white page.

    I am running on Linux OpenSuSE 11.3 with an Apache 2.2.15 server and PHP
    Version 5.3.3.

    When I check the php error logs i get the following message :

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to
    allocate 640 bytes) in /srv/www/htdocs/finances_play/search/lib/search.inc.php
    on line 100

     
  • Alex Lance

    Alex Lance - 2010-12-02

    Either make your memory size bigger (look for "256M" in
    patches/patch-00164-alla.sql)

    or remove some of the larger documents from your wiki that it is trying to
    index. (Perhaps there are a couple of jumbo PDF documents in there ...)

    Alex

     
  • Mark Corben

    Mark Corben - 2010-12-02

    Hi conz and Alex,

    Thanks for your suggestions but I am still at a loss as to how to get this
    patch to work.

    I changed the settings in the patch-00164-alla.php file:

    ini_set('max_execution_time',360000);

    ini_set('memory_limit',"1024M");

    I also changed the php.ini file on the server to :

    memory_limit = 1024M

    I do not have any files in the wiki in allocPSA so i can't see that any large
    file is causing problems.

    I'm at a loss ........

    Can I still apply the other patches without this one ?

     
  • Con Zymaris

    Con Zymaris - 2010-12-02

    Hi mcorben.

    I suspect that in theory, you can proceed with the other patches. If you've no
    content in the wiki, then there probably isn't any downside to not having that
    non-existing content aligned with v1.7.

    As always, a backup of your database/site, before an upgrade, should be
    performed, so that you can go back and try this again if need-be.

    -- Con

     
  • Mark Corben

    Mark Corben - 2010-12-15

    Hi guys,

    I have been looking further into this and have found that the
    wiki_module::get_wiki_path() function returns '/' (root) each time.

    I have tried changing ATTACHMENTS_DIR in alloc_config.php ie
    define("ATTACHMENTS_DIR", ......)

    but this results in wiki_module::get_wiki_path() always giving "/"

    Where is the wiki_path set ?

    Thanks

    Mark

     
  • Anonymous

    Anonymous - 2010-12-20

    It looks like the initial problem was that the wiki directory (in
    ATTACHMENTS_DIR/wiki) had not been created to start with.

    All appears to be working fine now!

     
  • Con Zymaris

    Con Zymaris - 2010-12-20

    Excellent,

    that's good to hear.

    -- Con

     

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo