I'm getting the following errors:

Notice: Trying to get property of non-object in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 325
Notice: Undefined variable: edit in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 763
Notice: Undefined variable: redirect in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 268
Notice: Undefined variable: base in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 465
Notice: Undefined index: #value in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 1045
Notice: Undefined index: #value in /Users/jason/Sites/drupal-5.7/includes/form.inc on line 1045
Warning: Cannot modify header information - headers already sent by (output started at Users/jason/Sites/drupal-5.7/includes/form.inc:325) in /Users/jason/Sites/drupal-5.7/includes/common.inc on line 141
Notice: Undefined variable: no_module_preprocess in /Users/jason/Sites/drupal-5.7/includes/common.inc on line 1477
Notice: Undefined variable: no_theme_preprocess in /Users/jason/Sites/drupal-5.7/includes/common.inc on line 1498

I had a previous version installed, but decided to do a clean install when I ran into these issues. I'm installing locally on my Mac (OS 10.4.9) using MAMP 1.7.

Help!

Comments

carlmcdade’s picture

I also got errors from MAMP. I Switched to XAMPP for the Mac a few weeks ago and have not had any problems. Even though they say it is still in Beta, XAMPP has proven to be better than MAMP. It is also a much smaller and controllable install.

http://www.apachefriends.org/en/xampp-macosx.html

Hiveminds Magazine - for web publishers and community builders
http://www.hiveminds.co.uk
http://demo.hiveminds.co.uk
Drupal | Drupal Sverige

robknight’s picture

I have the same problem. I went into MAMP preferences and switched to PHP4 and the errors went away. I want to use PHP5 though, so if anyone comes up with a fix or a resolution comes up, post it here.

robknight’s picture

Has to do with Error Reporting in PHP5.ini. This page has the answer: http://drupal.org/node/109529

highfly’s picture

I've just managed to successfully install Drupal 5.7 locally on my Mac using MAMP. However, when I previously tried to install Drupal 6.1 I encountered a problem. The installation worked just fine, but when I finally arrived at my page for the first time, it did not automatically create an admin login for me. I was only able to create a regular user login, not an admin login. Thus, I couldn't do anything with the installation.

Has anybody else experienced this problem trying to install Drupal 6.1 locally?

vm’s picture

check the DB user table. is there a UID 1 ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

carlmcdade’s picture

They just upgraded www.apachefriends.org release of XAMPP for the Mac. Give it a try. I have not had any problems with any Drupal version using this package.

Hiveminds Magazine | FireOrb | Drupal Street | Drupal offline manual