Mysql/PHP5 connection error
Mysql/PHP5 connection error
am 14.03.2006 10:16:30 von Eustace
------=_NextPart_000_0058_01C64758.BEC19690
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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) [
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
Fatal error: require_once() [
function.require]:
Failed opening required 'Connections/connSAFDEM.php'
(include_path='.;C:\php5\pear') in
c:\Inetpub\wwwroot\safdem_web\Admin\add_vacancy.php on line 1
------=_NextPart_000_0058_01C64758.BEC19690--
Re: Mysql/PHP5 connection error
am 14.03.2006 11:03:37 von Chris Smith
On 3/14/06, Eustace 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 t=
o
> work?
>
>
> Warning: require_once(Connections/connSAFDEM.php) [
>
> 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/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Mysql/PHP5 connection error
am 14.03.2006 11:13:22 von Eustace
Thanks. That's the mind boggling part, the file does exist, correct case,
correct path! Dreamweaver does ship the files automatically to the testing
server..and I checked to make sure!
-----Original Message-----
From: chris smith [mailto:dmagick@gmail.com]
Sent: Tuesday, March 14, 2006 12:04 PM
To: eustace@safdem.org.zw
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Mysql/PHP5 connection error
On 3/14/06, Eustace 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) [
>
> 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/
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mysql/PHP5 connection error
am 14.03.2006 11:18:49 von Chris Smith
On 3/14/06, Eustace wrote:
> Thanks. That's the mind boggling part, the file does exist, correct case,
> correct path! Dreamweaver does ship the files automatically to the testin=
g
> server..and I checked to make sure!
Is this the full path to the file?
c:\Inetpub\wwwroot\safdem_web\Admin\Connections\connSAFDEM.p hp
because that's what the server is looking for.
> -----Original Message-----
> From: chris smith [mailto:dmagick@gmail.com]
> Sent: Tuesday, March 14, 2006 12:04 PM
> To: eustace@safdem.org.zw
> Cc: php-db@lists.php.net
> Subject: Re: [PHP-DB] Mysql/PHP5 connection error
>
> On 3/14/06, Eustace 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) [
> >
> > 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/
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Mysql/PHP5 connection error
am 14.03.2006 15:01:02 von Bastien Koert
Never trust DW to do the testing for you. I never user DWs built in server
stuff to test...create it and then test it thru the browser like it would
actually operate.
Bastien
>From: "Eustace"
>Reply-To:
>To:
>Subject: RE: [PHP-DB] Mysql/PHP5 connection error
>Date: Tue, 14 Mar 2006 12:13:22 +0200
>
>Thanks. That's the mind boggling part, the file does exist, correct case,
>correct path! Dreamweaver does ship the files automatically to the testing
>server..and I checked to make sure!
>
>
>-----Original Message-----
>From: chris smith [mailto:dmagick@gmail.com]
>Sent: Tuesday, March 14, 2006 12:04 PM
>To: eustace@safdem.org.zw
>Cc: php-db@lists.php.net
>Subject: Re: [PHP-DB] Mysql/PHP5 connection error
>
>On 3/14/06, Eustace 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) [
> >
> > 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/
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php