(0002333)
attila75
10-10-07 01:56
|
I have tracked down the issue with logging in Drupal code.
During installation install_main() (see install.php) runs multiple times, because install_goto() (see install.inc) redirects the page.
install_main() calls drupal_bootstrap(), during the execution of which conf_init() (see bootstrap.inc) is called, which loads settings.php.
When using Drupal normal PHP, settings.php is reloaded, with Qercus it is not, therefore the $db_url global variable will not be refreshed, therefore installation stucks.
However when one goes to the address bar in the browser and presses enter, the installation continues, because settings.php is reloaded.
Probably the easiest fix would be to reload the source files after a page reload, but I leave it up to you guys to come up with the best solution. |
(0002558)
mo
12-11-07 13:21
|
Added the following test cases:
0b33.qa
0b34.qa
0b35.qa
3b33.qa
3b34.qa
3b35.qa
These test reproduce the conditions when this bug happens, but
they do not reproduce the error seen in this bug report. Currently,
this bug can only be reproduced on a live server running the drupal
code, the error happens because the DefinitionState returned from
the _defCache in Quercus.java is seen as valid even though it is
out of date (it is left over in the LruCache from a previous request).
When running on the live system, the CRC's of the new and old key match,
so this might be a problem with the way a CRC is being calculated for
a PHP file that contains only global variables (it defines no functions
or classes). |