Menu

PHPlib - redeclare error

Help
2002-08-22
2002-09-14
  • Jens Kielmann

    Jens Kielmann - 2002-08-22

    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

     
    • Layne Weathers

      Layne Weathers - 2002-08-26

      Maybe because you are including the class multiple times? Double-check your prepend file.

       
    • Anonymous

      Anonymous - 2002-09-14

      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

       

Log in to post a comment.