× Joomla Facebook Connect support forum

Topic-icon php version problem?

Active Subscriptions:

None
16 years 2 months ago #3414 by framer8
php version problem? was created by framer8
Hi,

I have a working joomla 1.5 install using php 4.4.9. When I install JFBConnect, I get the following error when accessing any page (front end or admin):

Parse error: syntax error, unexpected ';', expecting '(' in /homepages/19/d152885003/htdocs/beta/plugins/authentication/jfbconnectauth.php on line 49

to save you the bother, line 49 is
$fbUserId = JFBConnectFacebookHelper::$_OrigFbUser;

Could this be to do with my php version? Any other suggestions?

Cheers.
The topic has been locked.
Active Subscriptions:

None
16 years 2 months ago #3415 by framer8
Replied by framer8 on topic php version problem?
ok, so I added this line to my root .htaccess file

AddType x-mapp-php5 .php

and it sorted me. I am hosted with 1&1 and they use php4 be default and php5 with that mapping added in.
The topic has been locked.
Support Specialist
16 years 2 months ago #3416 by alzander
Replied by alzander on topic php version problem?
Cool. Thanks for posting your solution back to help others.
The topic has been locked.