Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After checking out this tiny module (thanks for this nifty one!) i emptied field for memory in settings. I expected it to fall back to default value given by settings.php, .htaccess, php.ini, etc. It crashed and i had to remove the module from system table in database by hand.
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedThanks, I'll add validation to not allow empty values.
Normally ini_set() shouldn't allow to set any invalid option that could make a website crash.
Thanks for reporting it and sorry for any inconvenience. I haven't got time to test it correctly.
I'll investigate that tomorrow and I'll fix that as soon as possible.
To reset to default, probably option 'Reset to defaults' should works. But I'll test it as well.
Comment #2
rokr CreditAttribution: rokr commentedAt least there could be a big warning to not lower the value below a given value. :)
cheers, Ronald
Comment #3
kenorb CreditAttribution: kenorb commentedFixed:
http://drupal.org/cvs?commit=242396
Defined that user can't set lower memory than: 16M
And can't set lower execution time than 30 sec
Added as well couple of tweaks for Filter and Views module.
In case of emergency, those sql queries should help:
Thanks.