I¹ve spent quite a bit of time working on this one...it¹s probably a simple fix, but I could sure use some help.
My environment:
Php 4.4 Windows Server 2003 IIS 6.0 MySQL 4.0.24 Drupal 4.6.2 Hosting: www.webhost4life.com
Settings:
I have checked and double checked the appropriate php.ini settings. Since I¹m on IIS, .htaccess doesn¹t apply. I have checked and confirmed the database is setup and connected correctly through the settings.php file. I have loaded the database.mysql tables
At installation, when I point my browser to the url where drupal is installed and set up, I get the following error:
Fatal error: Call to undefined function: db_fetch_object() in c:...\includes\bootstrap.inc on line 199
I believe the function is defined within the database, which would suggest there is an error in connection, but when I check connection (and had my hosting company check the connection) everything checks out.
I¹ve run many checks and re-installs, tried different versions of drupal, and tweaked some code. I¹m not a php master, but I can find my way around ok.
Anyone have any suggestions. It¹s been a couple days worth of trouble shooting and my brain is fried!
-David
On Sat, 6 Aug 2005, David Price wrote:
At installation, when I point my browser to the url where drupal is installed and set up, I get the following error:
Fatal error: Call to undefined function: db_fetch_object() in c:...\includes\bootstrap.inc on line 199
I believe the function is defined within the database,
Nope, it is defined in includes/database.mysql.inc. Is that file present?
Cheers, Gerhard
The file includes/database.mysql.inc is present. I double (and triple) checked for problems with the dupal...tar.gz extraction - what I have should be what I'm supposed to have. And I haven't manipulated any code (we'll if I did, it's mainly been index.php tests that I set back to normal).
I couldn't find the command in either bootstrap.inc or common.inc to include database.mysql.inc
It seems that there may be an issue there in my situation.
Greatfully (I'm on day 4 with this issue - bummer), David
On 8/7/05 5:04 AM, "Gerhard Killesreiter" killesreiter@physik.uni-freiburg.de wrote:
On Sat, 6 Aug 2005, David Price wrote:
At installation, when I point my browser to the url where drupal is installed and set up, I get the following error:
Fatal error: Call to undefined function: db_fetch_object() in c:...\includes\bootstrap.inc on line 199
I believe the function is defined within the database,
Nope, it is defined in includes/database.mysql.inc. Is that file present?
Cheers, Gerhard
I have included the file includes/database.mysql.inc in my index.php file.
Now I get the error message:
Fatal error: Call to undefined function: db_query() in c:...\includes\bootstrap.inc on line 199
On 8/7/05 5:04 AM, "Gerhard Killesreiter" killesreiter@physik.uni-freiburg.de wrote:
On Sat, 6 Aug 2005, David Price wrote:
At installation, when I point my browser to the url where drupal is installed and set up, I get the following error:
Fatal error: Call to undefined function: db_fetch_object() in c:...\includes\bootstrap.inc on line 199
I believe the function is defined within the database,
Nope, it is defined in includes/database.mysql.inc. Is that file present?
Cheers, Gerhard