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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :
Hello mcorben.
Take a look at this solution path and let us know if it works for you:
http://www.tech-recipes.com/rx/777/solve-php-fatal-error-allowed-memory-size-
of-8388608-bytes-exhausted-tried/
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
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 ?
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
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
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!
Excellent,
that's good to hear.
-- Con