Problem with DBA functions
Posted by: JustJim (---.static.mrqt.mi.charter.com)
Date: February 19, 2009 05:09PM

There seems to be a problem with supporting the DBA functions in WAMPS 2.0.

When I execute the following:

<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"[www.w3.org];

<html>
<head>
<title>Illusrate problem with dba handler</title>
</head>
<body>
<div>
<?php
$dbaHandlerInfo = dba_handlers();
?>
</div>
</body>
</html>

I get:

Fatal error: Call to undefined function dba_handlers() in D:\JPO\LEARN\php\Workspace\In24Hrs\src\x\DBAHandelerProb.php on line 12

Any thoughts would be greatly appreciated.

Thanks

Jim

Options: ReplyQuote
Re: Problem with DBA functions
Posted by: lbtstr (---.tx.res.rr.com)
Date: February 19, 2009 11:25PM

Hi,

Check to see if the "php_dba" extension is enabled.

NOTE:
a. This will cause the WAMP server to restart - watch the WAMP Server icon in the task bar.
b. Not necessary, but close your browser and clear any cookies - just to make sure. Then, retry.


Click <not right-click> on the "WAMP Server" icon in the task bar - hover on "PHP" > "PHP Extensions" and click on "php_dba"

This will cause the WAMP server to restart.

This is what I used and got a blank screen grinning smiley - guess there are no handlers running!:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<div>
<?php
$dbaHandlerInfo = dba_handlers();
?>
</div>
</body>
</html>


Let me know if this helped.

Regards,
Lab Tester

Options: ReplyQuote
Re: Problem with DBA functions
Posted by: JustJim (---.static.mrqt.mi.charter.com)
Date: February 20, 2009 01:57PM

Cool,

That fixed me up just right.

Many Thanks

Jim

Options: ReplyQuote


Sorry, only registered users may post in this forum.