Re: Mysql/PHP5 connection error
| From: | chris smith | Date: | Tue, 14 Mar 2006 10:03:37 +0000 |
| Subject: | Re: Mysql/PHP5 connection error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41487@lists.php.net to get a copy of this message | ||
On 3/14/06, Eustace <eustace@safdem.org.zw> wrote:
> Hello,
>
> I hope somebody can assist. I am using dreamweaver 8, Mysql, PHP5 for a
> simple we application. After using the dreamweaver wizard to make a
> connection, then created a recordset. Trouble starts when I use
> require_once(connections/ConnSAFDEM) to link to the database connection
> file. I get the error below. If I hand code the connection and recordsets
> things work fine as long as I am not using the require, require_once,
> include functions. I installed PHP recently on IIS (manual installation). I
> am wondering if I am mssing something which is stopping those functions to
> work?
>
>
> Warning: require_once(Connections/connSAFDEM.php) [
> <http://localhost/safdem_web/Admin/function.require-once>
> function.require-once]: failed to open stream: No such file or directory in
> c:\Inetpub\wwwroot\safdem_web\Admin\add_vacancy.php on line 1
Did you read the error message?
No such file or directory
That means the file Connections/connSAFDEM.php doesn't exist.
It could be:
- wrong path
- wrong case
- file really doesn't exist.
--
Postgresql & php tutorials
http://www.designmagick.com/