#19220 [NEW]: Warning: driver initialization failed in c:Apache/1.3.24

From: Date: Wed, 04 Sep 2002 01:07:03 +0000
Subject: #19220 [NEW]: Warning: driver initialization failed in c:Apache/1.3.24
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18369@lists.php.net to get a copy of this message
From: sky4lace@hotmail.com Operating system: Windows NT 5.0 build 2195 PHP version: 4.2.2 PHP Bug Type: *Configuration Issues Bug description: Warning: driver initialization failed in c:Apache/1.3.24 Constantly getting this error and am not able to make any progress. I believe this to be a bug on PHP installed as a module. Warning: driver initialization failed in c:\program files\apache group\apache\htdocs\anyatha3\login_fes\login_test.php on line 11 Failed opening existing dba file:passwords.db Warning: Unable to find DBA identifier 0 in c:\program files\apache group\apache\htdocs\anyatha3\login_fes\login_test.php on line 26 Warning: Unable to find DBA identifier 0 in c:\program files\apache group\apache\htdocs\anyatha3\login_fes\login_test.php on line 37 USERID = The script that I am running is: <?php $handler_name = "db3"; $file_name = "passwords.db"; # $file_path = "../../ua_fes"; $file_mode = "passwords"; $user_id = "adrianlunga"; $user_pwd = "password"; if (file_exists($file_name)) { $db_id = dba_open($file_name, "w", $handler_name); if (!$db_id) { echo "Failed opening existing dba file:".$file_name."\n"; } } else { $db_id = dba_open($file_name, "n", $handler_name); if (!$db_id) { echo "Failed opening new dba file:".$file_name."\n"; } } if (dba_exists($file_name, $user_id)) { $last_seen = dba_fetch($user_id, $db_id); } else { # dba_insert($file_name, $userid, $password); } # do_stuff(); # dba_replace($string_handlername, $userid, time()); dba_close($db_id); echo ("<HTML>"); echo ("<HEAD>"); echo ("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">"); echo ("<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=windows-1252\">"); echo ("<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"../../../main.css\">"); echo ("<TITLE>"); echo ("Login Page"); echo ("</TITLE>"); echo ("</HEAD>"); echo ("<BODY TEXT =\"black\""); echo (" LINK =\"blue\""); echo (" VLINK =\"black\""); echo (" ALINK =\"blue\""); echo (" BACKGROUND =\"../images/indtextb.jpg\""); echo (" BGPROPERTIES =\"fixed\""); echo (">"); echo "USERID = ".$last_seen; echo ("</BODY>"); echo ("</HTML>"); ?> -- Edit bug report at http://bugs.php.net/?id=19220&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19220&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19220&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19220&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19220&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19220&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19220&r=support Expected behavior: http://bugs.php.net/fix.php?id=19220&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19220&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19220&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19220&r=globals

« previous php.bugs (#18369) next »