Page 1 of 1

Problem with PHP, MYSQL and IIS

Posted: Mon Mar 26, 2007 9:30 am
by dwairlk
Good Morning

I have a problem with next error:

Fatal error: Cannot redeclare class Database in C:\Inetpub\wwwroot\portal\lib\Database.class.php on line 2

I have installed Microsoft-IIS/6.0, PHP Version 5.2.1, and MySQL 5.0.37.
The page work correctly the twice times and third time reload it doesn´t work and it generate the error previous,

Thanks

Posted: Mon Mar 26, 2007 9:38 am
by feyd
I would have to guess that your code is, for some reason, including the class twice.