exstreamscience Posted September 18, 2011 Posted September 18, 2011 i uploaded all the files to my server and when i try to open index.php i get an error: Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/content/............../test/index.php on line 9 this is line 9 use osCommerce\OM\Core\Autoloader; and this is all the code <?php /** * osCommerce Online Merchant * * @copyright Copyright © 2011 osCommerce; http://www.oscommerce.com * @license BSD License; http://www.oscommerc.../bsdlicense.txt */ use osCommerce\OM\Core\Autoloader; use osCommerce\OM\Core\OSCOM; define('OSCOM_TIMESTAMP_START', microtime()); error_reporting(E_ALL | E_STRICT); define('OSCOM_PUBLIC_BASE_DIRECTORY', __DIR__ . '/'); require('osCommerce/OM/Core/Autoloader.php'); $OSCOM_Autoloader = new Autoloader('osCommerce\OM'); $OSCOM_Autoloader->register(); OSCOM::initialize(); require($OSCOM_Template->getTemplateFile()); ?> this is the first time i have ever seen this error and i have 2.xx installed and working and have installed 3.xx before without problems. thanks for any help in advanced. ES ps i just saw that this is posted in the forums for ver 2.xx. is there a forum for 3.xx thanks again
Guest Posted September 18, 2011 Posted September 18, 2011 v3.0.2 is NOT ready for production use, you will need to download v2.3.1 if you would like a production cart. FYI, the error you received is because v3.x will require a minimum of Php 5.3 on your server. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.