I don't much like having error reporting set to anything but E_ALL, but the latest changes to bootstrap.inc produce notices in the conf_init() function. (Line 146 checks for isset($part[('path']) before using it, but line 148 does not.)

So you may need to change your code, or change your error reporting to E_ALL ^ E_NOTICE if you get warnings there.

Comments

Zen’s picture

Please open an issue ticket.

icenogle’s picture

I opened an issue, but this is more than a little annoying.

Immediately after my upgrade from RC2 to RC3, I experienced a persistent PHP notice:

Notice: Undefined index: path in mysite\includes\bootstrap.inc on line 148

I searched drupal for the error. Most references to "undefined index" said to turn off and clear your cache and turn off clean URL's. Others chastised people for asking, saying this problem had been solved, and please use search.

Well, turning off and clearing the cache and turning off clean URL's had no effect. I finally found, half-way down a comment string, the following:

http://drupal.org/node/14457#comment-26015

This says that error_reporting should be set to exclude notices in the first place. So, I decided to simply report it as an upgrade problem, in case anyone else experienced it.

Just goes to show that no good dead goes unpunished...

D Icenogle

chrisd’s picture

This changed in RC3.
Comment out $base_url = 'http://www.example.com', from your "settings.php" like:
# $base_url = 'http://www.example.com';

Take a look at the new \sites\default\settings.php you will see that $base_url is now commented out by default.

I still think this is some kind of bug...so good thing u logged something here.

Chris
Tech. articles with a WAMP+IIS+Drupal focus

Take a break: Guide to France