bobg7 Posted October 8, 2006 Share Posted October 8, 2006 I'm getting this error in admin > payment modules that started this morning that I can't seem to nail down. Warning: main(/home/www/coloryourgrout.com/includes/languages/english/modules/payment/invoice.php): failed to open stream: No such file or directory in /home/www/coloryourgrout.com/admin/modules.php on line 128 Warning: main(): Failed opening '/home/www/coloryourgrout.com/includes/languages/english/modules/payment/invoice.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/coloryourgrout.com/admin/modules.php on line 128 Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/www/coloryourgrout.com/admin/includes/functions/database.php:13) in /home/www/coloryourgrout.com/admin/includes/functions/database.php on line 13 Been through just about everything I can think of but I'm missing something. Thanks Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
OceanRanch Posted October 8, 2006 Share Posted October 8, 2006 Looks like you might have over-written a language file with a php application file. http://www.oscommerce.info/kb/osCommerce/G...on_Problems/198 HTH Tom Link to comment Share on other sites More sharing options...
bobg7 Posted October 8, 2006 Author Share Posted October 8, 2006 The questions then, which file. I haven't made any changes in several days. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
OceanRanch Posted October 8, 2006 Share Posted October 8, 2006 Perform a global search on your source files for "tep_db_connect" and that will show you where else it was previously defined. Tom Link to comment Share on other sites More sharing options...
bobg7 Posted October 9, 2006 Author Share Posted October 9, 2006 I found the error, somehow I moved a copy of the invoice.php onto includes/modules/payment and once I removed it, it went back to normal. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.