Link to home
Start Free TrialLog in
Avatar of glepiza
glepiza

asked on

drupal update script takes me to maintenance mode

Dear experts,

for some reason everytime I ran update.php it takes me to a blank page with a text saying: comming soon (which is not even my custom maintenance mode).
I checked apache, php and mysql error logs and I don´t see anything.
Could you please help me to figure how to troubleshot that? I am getting nuts nows.

Thanks in advance,

Winter
ASKER CERTIFIED SOLUTION
Avatar of Hagay Mandel
Hagay Mandel
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glepiza
glepiza

ASKER

Thanks HagayMandel,

I enabled the error log in update.php and now I can see the error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /profiles/commons/modules/contrib/registration/includes/registration.forms.inc on line 42

Could you please help me what to do next?

Thanks a lot,

Winter
Avatar of glepiza

ASKER

This is what I have on the php.ini file on my share hosted plan:

safe_mode = off
upload_tmp_dir = "/home/site/public_html/tmp"
allow_url_fopen = on
upload_max_filesize = 64M
post_max_size = 64M
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
memory_limit = 128M
Try adding the following to your php.ini file:

php_value memory_limit = "128M"
Avatar of glepiza

ASKER

yup, I added that and it did not take effect.

I had to speak to customer service and they told me they increase the space. this is what they put on the php.ini

safe_mode = off
session.use_only_cookies = on
upload_tmp_dir = "/home/public_html/tmp"
extension=memcache.so
extension=memcached.so
#memcache.hash_strategy="consistent"
allow_url_fopen = on
upload_max_filesize = 128M
post_max_size = 128M
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
memory_limit = 128M
#output_buffering = 2048i


For some reason they deleted the one you suggested.

I don´t know what else to do, still I can´t update the drupal database.

Thanks,

Winter
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glepiza

ASKER

It was the only thing that I could do to get out of all those errors. Thanks