By starkos on
Installing on Windows XP with IIS5, PHP5 - the installation script displays several PHP notices, which choke the redirects later in the script.
Notice: Trying to get property of non-object in C:\Common\drupal-5.0\includes\form.inc on line 324
Notice: Undefined variable: redirect in C:\Common\drupal-5.0\includes\form.inc on line 267
Notice: Undefined variable: base in C:\Common\drupal-5.0\includes\form.inc on line 460
Notice: Undefined index: #value in C:\Common\drupal-5.0\includes\form.inc on line 1024
Notice: Undefined index: #value in C:\Common\drupal-5.0\includes\form.inc on line 1024
Warning: Cannot modify header information - headers already sent by (output started at C:\Common\drupal-5.0\includes\form.inc:324) in C:\Common\drupal-5.0\includes\common.inc on line 141
Notice: Undefined variable: no_module_preprocess in C:\Common\drupal-5.0\includes\common.inc on line 1467
Notice: Undefined variable: no_theme_preprocess in C:\Common\drupal-5.0\includes\common.inc on line 1488
I fixed the problem by editing my php.ini file, and changing error_reporting=E_ALL to error_reporting=E_ALL & ~E_NOTICE. This is a change from Drupal 4.7, and should probably be mentioned on the installation instructions?
Thanks!
Comments
Solution?
I have done this (on OS X) and it works but i do not understand why. It seem that this just hides the error messages and does not solve any underlying problems. Is the install script able to solve these problems but unable to deal with the messages??
I'm also on OS X with the
I'm also on OS X with the same problem and I found this worked for me... But why?
the way i see it..
yes it only hides the error messages. i'm also getting this problems and i'm using MAMP on OSX 10.5.3. i've been coding a while now (although i'm not too good at it) and i notice that you can ignore notices and warnings as long as it's not fatal errors. your programs will still runs smoothly.
Install script stuck on database configuration
After editing the php.ini file as described above, The install script displays the database configuration form. After filling in the information and verifying that all is correct, and clicking the "Save Configuration" button, I am presented with the same form again, with all text fields empty, but no error messages.
Installing on Windows 2008 Server Standard, with IIS 7, drupal 5.18