Tiff13 1 Posted May 31, 2015 After installing the Google Adwords Conversion Tracking module in my v2.3.4 shop - have tested with selecting Java placement in both Header and footer. Both times after order process the Checkout_Success.php page returns blank Each time my website error log indicates: PHP Fatal error: Cannot redeclare class language in /public_html/includes/classes/language.php on line 16 (code starting line 16 below) class language { var $languages, $catalog_languages, $browser_languages, $language; I haven't made changes to this particular file for years. Do i need to add/change something to the php file also ? any ideas? Thanks in advance Share this post Link to post Share on other sites
♥BrockleyJohn 237 Posted June 1, 2015 (edited) Your problem is not actually in this file. The most likely cause is that you have included it twice. First, lets check that you didn't upload the page file for checkout_success.php to the language directory, which would produce this error. Upload includes/languages/english/checkout_success.php again just to be sure. If that doesn't fix it, you can temporarily add some code to the top of the class file to find out where the duplication is happening. See this thread: http://forums.oscommerce.com/topic/376532-cannot-redeclare/ Edited June 1, 2015 by BrockleyJohn For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix). here: on the official osc download page Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Share this post Link to post Share on other sites
Tiff13 1 Posted June 6, 2015 Your problem is not actually in this file. The most likely cause is that you have included it twice. First, lets check that you didn't upload the page file for checkout_success.php to the language directory, which would produce this error. Upload includes/languages/english/checkout_success.php again just to be sure. If that doesn't fix it, you can temporarily add some code to the top of the class file to find out where the duplication is happening. See this thread: http://forums.oscommerce.com/topic/376532-cannot-redeclare/ OK, thank you so much i'll start there. Share this post Link to post Share on other sites