CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Beta 5 DB Error Connection PHP vs ASP

Print topic Send  topic

Author Message
Code Charge
Posted: 06/01/2002, 6:26 AM

Please Help:

I have followed the Tutorial through to page 15 "Test the Page". I have
done this twice now.

If I use ASP, the page displays fine.

If I use PHP (which I prefer), I get an error saying it can't connect to the
database. I am following the tutorial exactly, using the intranet sample
database.

Can someone help?

Thanks,

Chuck

Code Charge
Posted: 06/01/2002, 6:31 AM

Here is the error. I know it has to do with the "server" setting, but their
is no choice in php for MS Access.

Database error: cannot use database
MySQL Error: 1046 (No Database Selected)
Session halted.


"Code Charge" <cparish@familyofgod.net> wrote in message
news:adai1b$5q5$1@news.codecharge.com...
> Please Help:
>
> I have followed the Tutorial through to page 15 "Test the Page". I have
> done this twice now.
>
> If I use ASP, the page displays fine.
>
> If I use PHP (which I prefer), I get an error saying it can't connect to
the
> database. I am following the tutorial exactly, using the intranet sample
> database.
>
> Can someone help?
>
> Thanks,
>
> Chuck
>
>

Chuck Parish
Posted: 06/01/2002, 6:33 AM

Sorry forry using the "Code Charge" name - new to this newsgroup and I
always forget to change the name. I just purchased the full product.

Thanks,

Chuck Parish

CodeCharge Support
Posted: 06/01/2002, 12:24 PM

Please double-click on your database connection name in Project Explorer,
then click on "Server" tab and setup your Server parameters.

Konrad


"Code Charge" <cparish@familyofgod.net> wrote in message
news:adai1b$5q5$1@news.codecharge.com...
> Please Help:
>
> I have followed the Tutorial through to page 15 "Test the Page". I have
> done this twice now.
>
> If I use ASP, the page displays fine.
>
> If I use PHP (which I prefer), I get an error saying it can't connect to
the
> database. I am following the tutorial exactly, using the intranet sample
> database.
>
> Can someone help?
>
> Thanks,
>
> Chuck
>
>

Chuck Parish
Posted: 06/01/2002, 5:45 PM

Hi Konrad,

What do I set up? There is no choice for MS Access in the PHP window.
There is in the ASP window.

It only has a PHP Database Library box and there is no choice for MS Access.
Do I use ODBC? And if so, why isn't this in the tutorial?

I am dead in the water right now - waiting for your reply.

Thanks,

Chuck

"CodeCharge Support" <support@codecharge.com> wrote in message
news:adb71r$a3a$1@news.codecharge.com...
> Please double-click on your database connection name in Project Explorer,
> then click on "Server" tab and setup your Server parameters.
>
> Konrad
>
>
> "Code Charge" <cparish@familyofgod.net> wrote in message
>news:adai1b$5q5$1@news.codecharge.com...
> > Please Help:
> >
> > I have followed the Tutorial through to page 15 "Test the Page". I have
> > done this twice now.
> >
> > If I use ASP, the page displays fine.
> >
> > If I use PHP (which I prefer), I get an error saying it can't connect to
> the
> > database. I am following the tutorial exactly, using the intranet
sample
> > database.
> >
> > Can someone help?
> >
> > Thanks,
> >
> > Chuck
> >
> >
>
>

Chuck Parish
Posted: 06/01/2002, 6:02 PM

Okay,

In the server dialog box, I had to choose ODBC, which then brought up
another box which allowed for the selection of MS Access. Then, after
setting up the ODBC on the server, I set the ODBC Name where it asks for the
Database name. This works, but for me, at least, is confusing. I think it
should ask for "ODBC connection" name instead of "Database name."

Hope this helps someone else.

Chuck

"Chuck Parish" <cparish@familyofgod.net> wrote in message
news:adbpr3$9k0$1@news.codecharge.com...
> Hi Konrad,
>
> What do I set up? There is no choice for MS Access in the PHP window.
> There is in the ASP window.
>
> It only has a PHP Database Library box and there is no choice for MS
Access.
> Do I use ODBC? And if so, why isn't this in the tutorial?
>
> I am dead in the water right now - waiting for your reply.
>
> Thanks,
>
> Chuck
>
> "CodeCharge Support" <support@codecharge.com> wrote in message
>news:adb71r$a3a$1@news.codecharge.com...
> > Please double-click on your database connection name in Project
Explorer,
> > then click on "Server" tab and setup your Server parameters.
> >
> > Konrad
> >
> >
> > "Code Charge" <cparish@familyofgod.net> wrote in message
> >news:adai1b$5q5$1@news.codecharge.com...
> > > Please Help:
> > >
> > > I have followed the Tutorial through to page 15 "Test the Page". I
have
> > > done this twice now.
> > >
> > > If I use ASP, the page displays fine.
> > >
> > > If I use PHP (which I prefer), I get an error saying it can't connect
to
> > the
> > > database. I am following the tutorial exactly, using the intranet
> sample
> > > database.
> > >
> > > Can someone help?
> > >
> > > Thanks,
> > >
> > > Chuck
> > >
> > >
> >
> >
>
>

CodeCharge Support
Posted: 06/02/2002, 12:15 PM

Use ODBC.
The tutorial cannot cover every possible situtation. It is a sample
tutorial, focused on ASP & MS Access.
We're adding some PHP info, but PHP is mostly used with MySQL.

Konrad



"Chuck Parish" <cparish@familyofgod.net> wrote in message
news:adbpr3$9k0$1@news.codecharge.com...
> Hi Konrad,
>
> What do I set up? There is no choice for MS Access in the PHP window.
> There is in the ASP window.
>
> It only has a PHP Database Library box and there is no choice for MS
Access.
> Do I use ODBC? And if so, why isn't this in the tutorial?
>
> I am dead in the water right now - waiting for your reply.
>
> Thanks,
>
> Chuck
>
> "CodeCharge Support" <support@codecharge.com> wrote in message
>news:adb71r$a3a$1@news.codecharge.com...
> > Please double-click on your database connection name in Project
Explorer,
> > then click on "Server" tab and setup your Server parameters.
> >
> > Konrad
> >
> >
> > "Code Charge" <cparish@familyofgod.net> wrote in message
> >news:adai1b$5q5$1@news.codecharge.com...
> > > Please Help:
> > >
> > > I have followed the Tutorial through to page 15 "Test the Page". I
have
> > > done this twice now.
> > >
> > > If I use ASP, the page displays fine.
> > >
> > > If I use PHP (which I prefer), I get an error saying it can't connect
to
> > the
> > > database. I am following the tutorial exactly, using the intranet
> sample
> > > database.
> > >
> > > Can someone help?
> > >
> > > Thanks,
> > >
> > > Chuck
> > >
> > >
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.