Subject Re: ADOdatabase not working in signup.prg
From Gaetano <gaetanodd@hotmail.com>
Date Mon, 24 Aug 2020 20:44:29 +1000
Newsgroups dbase.getting-started

Hi Akshat,

I have tried it from the command line and in a separate PRG with just
the connection code + some code to create a table, and that works
perfectly. It must have something to do with the web server.

I might try to run it on a vanilla version of Apache without the XAMPP
customisations.

The error is generated upon setting the database active status to to true.

I am not using the css myself, it must be triggered by XAMPP through
it's supplemental conf files.

Since this is not a coding issue, I will move the thread to the web group.

Cheers,
Gaetano.
>
> Good Afternoon Gaetano,
> I have never used web apps. You may get a better response on the web
> apps group.
>
> Leave the web app,
> Try a normal prg with the following code.
>
> adodb = new adodatabase()
> adodb.connectionstring = your connection string
> adodb.active = true
>
> If it executes successfully then there is error in web code else there
> is error in connection string.
>
> Try logging into mysql using phpmyadmin or whatever database
> administrator you are using.
>
> Success will tell you the status of userid and or password.
>
> Another question are you sure there is error in login and not in some
> code after that.
> To check this write a simple web app that just displays a message
> "Successful connection" without using any css. Just a simple code with
> bare minimum lines (like 3 lines only written above)
>
> Regards
> Akshat