Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/v3451/public_html/OSc/includes/functions/database.php:13) in /home/...


1 reply to this topic

#1 Waffa

  • Community Member
  • 30 posts
  • Real Name:Waffa
  • Location:Pacific [CNMI] or in Estonia :)

Posted 23 November 2009, 04:06

When i try to generate map from admin whit "Google XML Sitemap Admin" or access Sitemap for contribution called "Sitemap SEO" (worked before)

i will get this error:
Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/v3451/public_html/OSc/includes/functions/database.php:13) in /home/v3451/public_html/OSc/includes/functions/database.php on line 25


(the Sitemap SEO only change was 2 times it was asking wrong files from wrong places:

Warning: require(includes/languages/EN.php) [function.require]: failed to open stream: No such file or directory in /home/v3451/public_html/OSc/includes/application_top.php on line 293

Fatal error: require() [function.require]: Failed opening required 'includes/languages/EN.php' (include_path='.:/usr/lib/php') in /home/v3451/public_html/OSc/includes/application_top.php on line 293


& when i ad this he asked:

Warning: require(includes/languages/EN/sitemap.php) [function.require]: failed to open stream: No such file or directory in /home/v3451/public_html/OSc/sitemap.php on line 16

Fatal error: require() [function.require]: Failed opening required 'includes/languages/EN/sitemap.php' (include_path='.:/usr/lib/php') in /home/v3451/public_html/OSc/sitemap.php on line 16



But once i add these files i was still back in the original error that i had before.



I have added on mean time URL seo contribution and Google XML contribution - these 2 work fine.
It's nice to be important, but it's more important to be nice!
[ I do not speak good English, so I hope ya understand ]

#2 MrPhil

  • Community Member
  • 3,281 posts
  • Real Name:Phil
  • Gender:Male

Posted 24 November 2009, 16:57

In your php.ini file, try adding "/home/v3451/public_html/OSc" to the include_path definition. Since includes/ is not directly under /OSC/includes, you may have to specify it in that list.

Also, instead of EN for English, try english.