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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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/tm p"
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
safe_mode = off
upload_tmp_dir = "/home/site/public_html/tm
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"
php_value memory_limit = "128M"
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="c onsistent"
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
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="c
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was the only thing that I could do to get out of all those errors. Thanks
ASKER
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/
Could you please help me what to do next?
Thanks a lot,
Winter