| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
mierlo Newbie


Offline Joined: Jan 02, 2007 Posts: 8 Location: Valkenswaard, The Netherlands
|
Posted: Wed Jan 10, 2007 12:01 pm Post subject: [solved]Don't add config.php to root directory in 9.1.1 |
|
Hi there,
I'm running into the following error after upgradingDF 9.0.6.1 to 9.1.1
Fatal error: Cannot redeclare class sql_db in /includes/db/mysql.php on line 19
I'm not good in php, so can someone please advise me.
_________________ kind regards,
Martijn
mierlo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.4.21-57/Apache 2.0/MySQL 4.1.15/PHP 5.2.4/CMS 9.2.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed Jan 10, 2007 1:42 pm Post subject: Re: Fatal error: Cannot redeclare class sql_db in mysql.php l 19 |
|
Do you have a config.php file in your root directory?
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
mierlo Newbie


Offline Joined: Jan 02, 2007 Posts: 8 Location: Valkenswaard, The Netherlands
|
Posted: Wed Jan 10, 2007 3:08 pm Post subject: Re: Fatal error: Cannot redeclare class sql_db in mysql.php |
|
Yes I do have my old config in the root,
I was indeed thinking why the new zip file didn't contain a config file.
Whats the story?
_________________ kind regards,
Martijn
mierlo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.4.21-57/Apache 2.0/MySQL 4.1.15/PHP 5.2.4/CMS 9.2.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed Jan 10, 2007 3:43 pm Post subject: Re: Fatal error: Cannot redeclare class sql_db in mysql.php l 19 |
|
remove it - 9.1.1 generated its own config file when you went through the install procedure.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
mierlo Newbie


Offline Joined: Jan 02, 2007 Posts: 8 Location: Valkenswaard, The Netherlands
|
Posted: Wed Jan 10, 2007 3:54 pm Post subject: Re: Fatal error: Cannot redeclare class sql_db in mysql.php l 19 |
|
Yes,
I removed the file, uploaded the 'includes' over the old one and now it works fine.
Thanks
_________________ kind regards,
Martijn
mierlo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.4.21-57/Apache 2.0/MySQL 4.1.15/PHP 5.2.4/CMS 9.2.1
|
|
| Back to top |
|
 |
|
|