Hi,
We are running php 5.2.17 and have the php memory on the server set to 512M and installed ELMS... when it gets the the finalise installation it comes back
An error occurred. http://xxxxxxxxxxxxx/install.php?locale=en&profile=elms&id=6&op=do
Fatal error: Out of memory (allocated 71303168) (tried to allocate 154774 bytes) in /xxxxxxxxxxxxx/includes/cache.inc on line 104
I then click to go to error page and it says installation complete.
then I try to visit the new site and Fatal error: Out of memory (allocated 71565312) (tried to allocate 64 bytes) in /xxxxxxxxxxxxx/includes/cache.inc on line 32
I reload the page a few times and it finally goes through. I then try to go the admin wrench and it does not work. I also then try to address this "The content access permissions need to be rebuilt. Please visit this page." and when I visit this page it times out again?
Really don't know whats going on here as we set the server to 512M which should really be big enough i would have thought?
Any tips would be appreciated : )
thanks
ADDED -
This is what comes back when I try to click this page -
Fatal error: Out of memory (allocated 68157440) (tried to allocate 3480601 bytes) in /XXXXXXXXXX/modules/filter/filter.module on line 1003
Warning: MySQL server has gone away query: UPDATE sessions SET uid = 1, cache = 0, hostname = '27.113.245.115', session = 'messages|a:2:{s:7:\"warning\";a:1:{i:0;s:137:\"Please enter a Google Maps API key in order to use ELMS Places. Click to resolve API Key message.\";}s:6:\"status\";a:1:{i:0;s:111:\"Cron has not run. Please visit the status report for more information.\";}}', timestamp = 1328871283 WHERE sid = 'cb27a9d93de45f4ab9c258dd414791a9' in /XXXXXXXXXX/includes/database.mysqli.inc on line 134
Warning: MySQL server has gone away query: UPDATE users SET access = 1328871283 WHERE uid = 1 in /XXXXXXXXXX/includes/database.mysqli.inc on line 134
Warning: MySQL server has gone away query: DELETE FROM semaphore WHERE value = '10375527364f34f6ff537ac5.75822405' in /XXXXXXXXXX/includes/database.mysqli.inc on line 134
Comments
Comment #1
OnthegOinOz commentedI just tried to install it again without enabling any of the features or the developer settings and it still comes up with the memory error?
Comment #2
btopro commentedCheck your PHP memory limit as this can differ from memory on the server. Also check in the included setting.PHP there is a line at the bottom of it that tries to set it to 96. Try taking that out or setting it higher. Also in the installer tell from NOT to run. The readme.txt file has some suggestions too in profiles/elms
UPDATE:
Make sure that you wipe the database of the previous installation as it probably installed part way
Comment #3
OnthegOinOz commentedTHanks for your response... the php memory limit on the server is set to 128M and the memory of the server is 2Gb
Regarding the "setting.PHP" file are you meaning the 'settings.php' file in the default folder? I cannot see anywhere on trying to set the PHP memory limits?
and yep, I deleted the database before trying to reinstall..
Any other ideas?
thanks again
Comment #4
btopro commentedIf you scroll to the botom of the settings.php file there's a line that attempts to do set it to 96. If it's not there, no problem.
Did you try running through the installer and unchecking the cron running part? The features / add on packages don't really add anything to the install (in terms of execution time) as they don't do very many queries. The issue I've found with resources is in the features reverting area towards the end of installation (at least personally).
Have you tried downloading MAMP or Acquia Dev Desktop and installing ELMS locally? I'm out atm but maybe next week if you jump on irc I could help step through some possible solutions.
http://demo.elms.psu.edu/ is always there as a place to play with elms though it has a lot of functionality disabled.
Comment #5
btopro commentedComment #6
btopro commentedComment #7
ludo1960 commentedJust tried the same and got time outs, so I edited my php.ini file and set max_execution_time to 300, restarted apache and viola!
Comment #7.0
ludo1960 commentedADDED DETAILS