By deadserious on
Drupal 5.1 with PHP 5.2.3.
Just downloaded and installed both PHP and Drupal. The database was built correctly and I see the main page to the site. When I got to create my first user as per the installation instructions, I receive a white screen of death. Here's the actual error:
Fatal error: Cannot redeclare timer_start() (previously declared in M:\websites\mysite\includes\bootstrap.inc:116) in M:\websites\mysite\includes\bootstrap.inc on line 122
What could be the problem and what should I try to fix?
Comments
I think but am not sure
I think but am not sure that there may be a problem with that version of php. You might try downgrading to 5.1.4 and see if it works. Try here for a bit more information, although they are talking about an earlier version being upgraded to 5.1.4 I think I've seen comment elsewhere that 5.1.4 may be the only php5 that currently works with Drupal. http://drupal.org/node/80607
Huh
Err, I know PHP V5.2.0 works ok with Drupal! V5.2.3 though, no idea.
As for that error, thats darn odd, considering in the bootstrap.inc I'm viewing on another site with V5.1, line 122 is simply a close brace for the timer_start function. The line before that uses a ternary conditional operator to increment a timer count.
White screens are usually a memory exhausted error, but that doesn't really match with the message you're getting. Check the memory limit in php.ini, just in case? Need at least 16Mb, preferably more.
---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."
Thanks for the thought. I
Thanks for the thought. I had already had it set to 128MB to be safe. That wasn't it.
I did figure it out though. I noticed that a php extension was causing an exception when running php -v manually from the command line. So I completely uninstalled php and reinstalled with minimal extensions enabled. I ended up having to re-enable some to get drupal up and running, but I no longer see that odd error message.
download a version of XAMPP
download a version of XAMPP it will save you the problems of trying to figure out ifs its a php problem or not
one click install look at the readme file with it you be up and running in 5 mins
run the setup
run the setup.batch file for set up php 4
change to php 5 if you wish
place your drupal files in the htdocs folder ie "drupal"
start the server
open browser http://localhost/drupal
can u detail the steps
i have an existing site ..its live..
want to backup to local machine..my computer..
pls tell me how to use xampp for this..
one issue i have is..that my dbase is mysql..and its large..so phpmyadmin may refuse on time out etc..
so pls tell me how to make changes to settings in xampp etc..
thanks