Jump to content

Archived

This topic is now archived and is closed to further replies.

Waffa

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

Recommended Posts

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 ]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×