HI all,
I am relatively new to this, so pleez be patient.
I tried to use PHPlib for creating a login.
The sample pages worked fine, but as soon as i wandet to load my own coded login-page, I received to following error message:
Fatal error: Cannot redeclare class db_sql in c:\...\db_mysql.inc on line 12
Why redeclare because it is the first time this class is declared (required by prepend.php)?
I dont get it. Did anyone have the same error message occurred? Where to start to solve this?
Thanks in Advance for your help!
Greets,
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI all,
I am relatively new to this, so pleez be patient.
I tried to use PHPlib for creating a login.
The sample pages worked fine, but as soon as i wandet to load my own coded login-page, I received to following error message:
Fatal error: Cannot redeclare class db_sql in c:\...\db_mysql.inc on line 12
Why redeclare because it is the first time this class is declared (required by prepend.php)?
I dont get it. Did anyone have the same error message occurred? Where to start to solve this?
Thanks in Advance for your help!
Greets,
Jens
Maybe because you are including the class multiple times? Double-check your prepend file.
Also a beginner...
I am getting the same message, but for me it's when I run the sample files. What am I doing wrong?
Steve