By htxt on
I get the following notices running the installer for 5.1
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 325
Notice: Undefined variable: edit in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 759
Notice: Undefined variable: redirect in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 268
Notice: Undefined variable: base in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 461
Notice: Undefined index: #value in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 1041
Notice: Undefined index: #value in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 1041
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/drupal-test/includes/form.inc:325) in /Applications/MAMP/htdocs/drupal-test/includes/common.inc on line 141
Notice: Undefined variable: no_module_preprocess in /Applications/MAMP/htdocs/drupal-test/includes/common.inc on line 1467
Notice: Undefined variable: no_theme_preprocess in /Applications/MAMP/htdocs/drupal-test/includes/common.inc on line 1488
Below this the 'Database configuration' form still displays. I fill in my details, then get kicked to a page with the following notices/error:
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/drupal-test/includes/form.inc on line 325
Notice: Undefined index: comment in /Applications/MAMP/htdocs/drupal-test/includes/install.inc on line 207
Notice: Undefined index: comment in /Applications/MAMP/htdocs/drupal-test/includes/install.inc on line 207
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/drupal-test/includes/form.inc:325) in /Applications/MAMP/htdocs/drupal-test/includes/install.inc on line 573
If I then refresh the page ( http://localhost/drupal-test/install.php?profile=default ) I get the 'Drupal installation complete' message. Then I can proceed as normal.
Is this a documented bug? Or is it a problem running Drupal under MAMP?
Comments
Error reporting
See the note about error reporting in the System requirements:
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
are you sure it's 5.1?
Did you get the code via CVS?
The messages above look like what I saw last night on OS 10.4 after running the installer with Drupal from CVS HEAD (a.k.a. 6.x)- in this case all notices are turned on for development purposes. 'm using the built-in PHP and apache (4.4 and 1.3), not MAMP.
As above, these are notices based on the PHP configuration, so if you have a different PHP, that would explain why you're seeing these with 5.x.
---
Work: BioRAFT
yes, definitely 5.1 but...
... my config is PHP/5.1.2 and Apache/2.0
I flipped back to PHP/4.4.2 -- still the same problem
Set error_reporting in
Set error_reporting in PHP.ini to E_ALL & ~E_NOTICE
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
... which can be done by
... which can be done by adding this to the mod_php5 section in .htaccess:
(No subject)
same problem
i had the same problem. but i couldn't do that install at all..
my workaround so far is to install 5.0 which worked fine and now just update to 5.5. i hope this works. so 5.5 doesn't work well with mamp?