Jump to content
Sign in to follow this  
Paul Newman

Errors

Recommended Posts

HI

HELP!!

I AM GETTING THIS:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/sites/user/5/57/58261/public/www/prestashop/install/classes/LanguagesManager.php on line 7

ANY IDEAS PLEASE

TA

Share this post


Link to post
Share on other sites

1/ Check your PHP version : did you change the htaccess (from BO per example) ?
2/ re-upload your file onto your server

Share this post


Link to post
Share on other sites

many thanks and please excuse me as i am very new to all this web language.
How do I check my PHP?
When you say re-upload your file? what file are we talking about.

Share this post


Link to post
Share on other sites
many thanks and please excuse me as i am very new to all this web language.
How do I check my PHP?
When you say re-upload your file? what file are we talking about.



To check you version you can check with your host or create a file "php_version.php" containing:
<?php
     phpinfo();
?>



... upload the file and navigate to it with your browser.


The file you shuld try to reupload since it might be corrupted is:

prestashop/install/classes/LanguagesManager.php

Share this post


Link to post
Share on other sites

hi
i googled this and managed to find out the following:

PHP Version 4.4.2-90claranet

System Linux cgi31-ch 2.6.24-24-server #1 SMP Tue Aug 18 17:46:20 UTC 2009 i686
Build Date Aug 1 2007 13:23:58
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/cgi/php.ini
Scan this dir for additional .ini files /etc/php4/extensions
additional .ini files parsed /etc/php4/extensions/extensions.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

when i check on my service provider website it says version 5

thanks again Joltgen

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More