SongCatcher Posted November 7, 2012 Share Posted November 7, 2012 hi, after instaling the software prestashop i went to my server and tried to open it on line - it does not work. i got this message: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/44/d336494288/htdocs/shop/index.php on line 29 i'd appreciate any help/support/ideas. thanx, SongCatcher Link to comment Share on other sites More sharing options...
SongCatcher Posted November 7, 2012 Author Share Posted November 7, 2012 please check it out if you like: http://www.songcatcher.eu/shop/ Link to comment Share on other sites More sharing options...
Radu Posted November 7, 2012 Share Posted November 7, 2012 Hello Song Catcher, can you please post your index.php here please? The error says that is an issue wjen calling a class method like $class->method-name should be $class->{"method-name"} Link to comment Share on other sites More sharing options...
SongCatcher Posted November 7, 2012 Author Share Posted November 7, 2012 (edited) sorry, but this - see below- is the only index.php i have access to... and there is nothing like you mentioned in line 29... the other index.php which was mentioned in my website does not exist on my server. (/homepages/44/d336494288/htdocs/shop/index.php) it ,means i cannot edit it, i still have no solution. hi radu, thank you for your help www.songcatcher/shop/index.php: <?php /* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.or...ses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 17893 $ * @license http://opensource.or...ses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch(); Edited November 7, 2012 by SongCatcher (see edit history) Link to comment Share on other sites More sharing options...
Radu Posted November 18, 2012 Share Posted November 18, 2012 thanks for your answer, what PHP version do you have? (in case you haven't solved your problem) Link to comment Share on other sites More sharing options...
SongCatcher Posted November 18, 2012 Author Share Posted November 18, 2012 thanx for coming back. no, i couldn't solve the problem - pls see my comment above. my php-version is 4.4.9 Link to comment Share on other sites More sharing options...
Radu Posted November 19, 2012 Share Posted November 19, 2012 The php version is too low, so it won't work what hosting do you have? maybe they have php 5 also installed on the server but you need to configure it, check with your hosting company also Link to comment Share on other sites More sharing options...
MohamedWer Posted June 14, 2013 Share Posted June 14, 2013 add in your htaccess SetEnv PHP_VER 5 SetEnv REGISTER_GLOBALS 0 SetEnv MAGIC_QUOTES 0 http://www.prestashop.com/forums/topic/446-pre-installation-settings-php-5-htaccess-for-certain-hosting-services/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now