Tried to install on a local host and also on a bluehost.com account. both times during installation I got the following error

An error occurred. http://robsnursery.com/openscholar/install.php?locale=&profile=openscholar&id=2&op=do <br /> <b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8192 bytes) in <b>/home2/robsnurs/public_html/openscholar/includes/common.inc</b> on line <b>3629</b><br />

Comments

rolando.isidoro’s picture

Status: Active » Closed (fixed)
Issue tags: +memory limit

Hi Joe,

edit your php.ini and change the memory_limit line from:

memory_limit = 64M;

to

memory_limit = 128M;

Rolando

artatac’s picture

Status: Closed (fixed) » Active
Issue tags: -memory limit

retried after adding
ini_set('memory_limit', '96M');
ini_set('max_execution_time', 0);
to settings.php - but same error during install profile

rolando.isidoro’s picture

Status: Active » Fixed

Here's a link to the official Drupal page regarding the PHP memory limit topic.

Although it states that Drupal 6 requires a minimum of 16M and a recommended value of 32M, additional modules in an installation profile like OpenScholar require additional memory. You should really consider raising the limit to 128M, otherwise I don't think you'll get past this issue.

Hope it helps,
Rolando

artatac’s picture

Increased as suggested to 128M - it certainly seemed to progress further but still gave a (similar) message - see below

I wonder if on shared hosting (BluehOst, Hostmonster etc). They override the settings in the settings php and have a ceiling that makes it impossible to install a profile such as this?

An error occurred. http://robsnursery.com/openscholar/install.php?locale=&profile=openscholar&id=2&op=do <br /> <b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 128 bytes) in <b>/home2/robsnurs/public_html/openscholar/includes/common.inc</b> on line <b>3680</b><br />
rolando.isidoro’s picture

Issue tags: +bluehost, +hostmaster, +php memory limit

Hi Joe,

by the looks of it the limit didn't change, with some simple calculations you can see that 67108864 bytes / 1024 = 65536 Kbytes / 1024 = 64 Mbytes.

You might be setting it in the wrong place since both shared hosting companies you mentioned state that their PHP memory limits is 128 MB. Check these video tutorials to help you out:

If that doesn't work you may come to terms that shared hosting is not the solution for you. VPS might be the next place to look into.

Good luck,
Rolando Isidoro

Automatically closed -- issue fixed for 2 weeks with no activity.