Werner Schoenfeldinger
|
Posted: 04/07/2001, 9:25 AM |
|
Dear CChargers,
2 Questions:
I gettin a strange bug/feature when connecting to the MYSQL Database in PHP
on W2000. ODBC-Device set up correctly, it also works in CC for the
application design. When I put the system to production it has an
runtime-error (Browser strangely enough appends my hostname to the login
i.e. dbuser@at-schoenf.chello.at - then the login fails) What am I doing
wrong?
USED PHP4
MySQL
MySQL OLEDB
MySQL ODBC
When I am using PHP with apache (PHPTriad) I get this strange error from
defining twice the db-class in db_something.inc. The .htaccess-hint didn't
help. Strangely enough when I want codecharge to create PHP4-files the
database.inc-file says still in the code that it was PHP3? Any ideas?
regards from Europe
-schoenf
|
|
|
Alexey Alexapolsky
|
Posted: 04/09/2001, 7:36 AM |
|
1) Duz this happen right after you enter login/password and press login
button ?
2) Please scan your php.ini , httpd.conf , .htaccess files on you drive ,
is there any reference to your db_something.inc ?
As a temporary solution I suggest removing line
include("./db_something.inc");
from your coomon.php file
--
Regards,
Alexey
CodeCharge Support
Werner Schoenfeldinger <schoenf@chello.at> wrote in message
news:9anf1p$d5h$1@mail.tankhill.com...
> Dear CChargers,
>
> 2 Questions:
> I gettin a strange bug/feature when connecting to the MYSQL Database in
PHP
> on W2000. ODBC-Device set up correctly, it also works in CC for the
> application design. When I put the system to production it has an
> runtime-error (Browser strangely enough appends my hostname to the login
> i.e. dbuser@at-schoenf.chello.at - then the login fails) What am I doing
> wrong?
> USED PHP4
> MySQL
> MySQL OLEDB
> MySQL ODBC
>
> When I am using PHP with apache (PHPTriad) I get this strange error from
> defining twice the db-class in db_something.inc. The .htaccess-hint didn't
> help. Strangely enough when I want codecharge to create PHP4-files the
> database.inc-file says still in the code that it was PHP3? Any ideas?
>
> regards from Europe
> -schoenf
>
>
|
|
|
|