Hi everyone!
I downloaded the last version of drupal (5.1), I unpacked everything and I uploaded it in a test folder on my website. Then I accessed to the folder with a browser, I setted up the parameters for the database connection and I found these errors under the "Save configuration" button:
PHP Notice: Trying to get property of non-object in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\form.inc on line 325 PHP Notice: Undefined variable: redirect in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\form.inc on line 268 PHP Notice: Undefined variable: base in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\form.inc on line 461 PHP Notice: Undefined index: #value in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\form.inc on line 1041 PHP Notice: Undefined index: #value in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\form.inc on line 1041 PHP Notice: Undefined variable: no_module_preprocess in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\common.inc on line 1467 PHP Notice: Undefined variable: no_theme_preprocess in C:\Sites\rainerum.it\www-new\group\test_drupal\includes\common.inc on line 1488
"What's this error?" I taught. I clicked on "Save configuration" but after a while, it reloaded the "Database configuration" page, with the empty form and the same error notice under the "Save configuration"button! So, what's this error? I use PHP 5.2.0 and 5.0.27-community-nt on a Windows server.
Thank you for the support!
Comments
None???
None???
PLEASE!
PLEASE!
None??? :(
None??? :(
Same problem
Hi have the same problem, with the same errors, and no solution. Any help would be appreciated.
Problem solved
It took an awful lot of digging to arrive at the conclusion that the sites/default/settings.php file wasn't writable by the webserver.
There are two problems. drupal_verify_install_file is supposed to make settings.php writable, but fails silently, since it uses a chmod command that windows doesn't get.
Second, drupal_rewrite_settings fails and sets a message with drupal_set_message(). However, install_settings_form_submit assumes that drupal_rewrite_settings succeeds and the first thing it does on return is to call a redirect. The result is that the error message is lost. :-( If either the error message were logged to the apache logs or drupal_rewrite_settings returned a success/fail code and it were handled properly, then the problem would have been obvious... No mercy for those of us trapped in MS-land.
Thanks
Thanks for posting your solution. I've been battling with exactly the same problem on and off for a few days. I guess this is one of the drawbacks of running on a Windows host rather than Linux.
error_reporting in PHP.ini
http://drupal.org/node/121818#comment-204865