New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange ini_get variable #9672

Indomian opened this Issue Mar 20, 2013 · 1 comment


None yet
2 participants

Indomian commented Mar 20, 2013

indomian created Redmine issue ID 9672

Seems in file /core/model/modx/registry/moddbregister.class.php there is a bug in method read. Look here:

$timeLimit = isset($options['time_limit']) ? intval($options['time_limit']) : ini_get('time_limit');

Seems there is no 'time_limit' variable in php.ini or php settings. Found only 'max_execution_time'. Got a bug with messages synchronization on configuration where mysql is on another server.
Changed to 'max_execution_time' for my code. Please check if this a bug.


This comment has been minimized.

Show comment
Hide comment

opengeek Mar 22, 2013


opengeek submitted:

Fixed for 2.2.7-pl — thanks...


opengeek commented Mar 22, 2013

opengeek submitted:

Fixed for 2.2.7-pl — thanks...

enigmatic-user pushed a commit to enigmatic-user/revolution that referenced this issue Feb 13, 2014

danyaPostfactum pushed a commit to danyaPostfactum/revolution that referenced this issue Mar 26, 2014

Merge branch 'release-2.2' into develop
* release-2.2:
  Make caching aliasMap optional to reduce memory usage
  [modxcms#9672] Fix invalid ini_get call in modDbRegister
  [modxcms#8489] Add compound index to modTemplateVarResource


This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment