iSilver Posted August 23, 2011 Posted August 23, 2011 Hi I've had an install of osCommerce for a number of years without problems, yesterday my ISP updated their systems and now the site is not working properly. When the homepage of the store loads a bunch of code from store/index.php is being written to the page, I'm not sure how to go about correcting this. You can view the store and the problem here: http://store.jefflang.com.au/index.php The ISP has provided me the following information showing the versions of the technologies installed on the server: osCommerce 2.2-MS2PHP 5.2.17 (cli) (built: Aug 14 2011 11:46:15) Copyright © 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright © 1998-2010 Zend Technologies with eAccelerator v0.9.6.1, Copyright © 2004-2010 eAccelerator, by eAccelerator with the ionCube PHP Loader v4.0.9, Copyright © 2002-2011, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright © 1998-2009, by Zend Technologies with Suhosin v0.9.32.1, Copyright © 2007-2010, by SektionEins GmbH And the MySQL server version is: 5.1.56 If anybody can offer some assistance I'd be very grateful.
♥toyicebear Posted August 23, 2011 Posted August 23, 2011 Replace short code php start calls.. <? with the full version <?php Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
iSilver Posted August 24, 2011 Author Posted August 24, 2011 The tags are all written as "<?php" but thanks for your suggestion :-) The directory structure changed from "/var/www/html/" to "/home/username/public_html" and the PHP scripts were updated by the ISP. The following files were changed during the upgrade: /home/webmaste/public_html/store/includes/configure.php /home/webmaste/public_html/store/admin/includes/configure.php define('DIR_FS_CATALOG', '/home/webmaste/public_html/store/'); <--- ISP changed original code to this define('DIR_WS_IMAGES', 'images/'); There must be somewhere in the code that the script did not pick-up and change, also some of the pages are throwing up a 404 error ... any thoughts would be appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.