Download Drupal 5.x and put drupal in www of easyphp.
Running localhost, the install script see the above messages:
Notice: Undefined variable: redirect in c:\easyphp18\www\drupal-5\includes\form.inc on line 268
Notice: Undefined variable: base in c:\easyphp18\www\drupal-5\includes\form.inc on line 461
Notice: Undefined index: #value in c:\easyphp18\www\drupal-5\includes\form.inc on line 1041
Notice: Undefined index: #value in c:\easyphp18\www\drupal-5\includes\form.inc on line 1041
Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp18\www\drupal-5\includes\form.inc:268) in c:\easyphp18\www\drupal-5\includes\common.inc on line 141
Notice: Undefined variable: no_module_preprocess in c:\easyphp18\www\drupal-5\includes\common.inc on line 1467
Notice: Undefined variable: no_theme_preprocess in c:\easyphp18\www\drupal-5\includes\common.inc on line 1488
What wrong???? Help me please
Max
Comments
same problem
I am getting the same problem. Could anybody help us please.
Me Too
I'd love to be able to switch from Joomla to Drupal, but kind of difficult if I can't even get the installer to work. Any help would be appreciated. Here are the specifics of what I'm seeing:
Notice: Undefined variable: no_module_preprocess in /var/www/fixingtheplanet.com/html/dru/includes/common.inc on line 1467
Notice: Undefined variable: no_theme_preprocess in /var/www/fixingtheplanet.com/html/dru/includes/common.inc on line 1488
Drupal database setup
The following error must be resolved before you can continue the installation process:
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process.
Figured Out the Problem
I figured out what the problem was - hope this will help someone else too. There were some settings in my php.ini file that Drupal did not like. Now, unfortunately I don't know what settings exactly, but after going back to a virgin php.ini then Drupal installs just fine.
Enjoy,
Joseph
error_reporting in PHP.ini
Well it's not really something wrong with your PHP, it's just about the way Drupal is coded for the moment regarding the errors.
You have to set error_reporting = E_ALL & ~E_NOTICE in your php.ini
See Drupal requirements
Drupal 6 will support E_ALL.
Amending PHP's error reporting for just your install...
For those of you whose hart stops at considdering a global change to the php.ini, with apache you can set the php varible for a specific folder in fact this could have been set in the .htaccess file - e.g.
Obviously replace PATH_TO_DRUPAL with the correct path. I dont know how to do this in windows, may have to do it in the main php.ini.
You have to set
You have to set error_reporting = E_ALL & ~E_NOTICE in your php.ini
where in the php files, a lot of lines contains "error_reporting"
You don't have to change the php.ini file
I'm having the same problem right now working on a IIS 6.0 server. php.ini is set to E_ALL and I don't have access to change it.
You don't need to change php.ini though. You can just add the following somewhere near the top of bootstrap.inc
Another way in settings.php...
In settings.php, under "PHP Settings:", you could also include these two lines (instead of the override above):
This did the trick, btw does
This did the trick,
btw does this mean i wont see the errors in modules?
yes, so you'd better
yes, so you'd better use
ini_set('error_reporting', 'E_ALL & ~E_NOTICE | E_STRICT');
If you are using XAMPP:
The \xampp\apache\bin\php.ini is the correct one!
Source: http://www.apachefriends.org/en/faq-xampp-windows.html#phpini
-Niels