Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Parse error: syntax error, unexpected '[' in /home/globa344/public_html/independ

8 years 4 months ago
  • k's Avatar
    Topic Author
  • k
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

Hi. I have just installed the jomsocial, but when i click on the jomsocial menu it comes with this error message:
Parse error: syntax error, unexpected '[' in /home/username/public_html/websitename/components/com_community/templates/jomsocial/layouts/stream/base.php on line 269.
What could that be?
Thankyou

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Can you make sure your server requirments is fit with jomsocial needs? please check this for the requirments info documentation.jomsocial.com/wiki/JomSoci..._System_Requirements

thank you

8 years 4 months ago
  • k's Avatar
    Topic Author
  • k
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

This is the response from my web host:
"The only thing that we are not supporting on our shared servers is FFMPEG. We meet the rest of the requirements provided from the screenshots. We do not meet the recommended settings for some of the PHP variables but they are above the minimum required values."

thank you

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Would you mind provide me backend and FTp access, please? you can send it via Message on our Community page.

thank you!

8 years 4 months ago
  • k's Avatar
    Topic Author
  • k
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

I have change the code on row 269 from " if(explode('.',$act->app) [0]== 'service'){ " to "if(explode('.',$act->app) == 'service'){ "and now it is working. So removed "[0]. Not sure if it is something important though :)

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Nice... but I will report this to our developer for the proper fix..

8 years 4 months ago
  • k's Avatar
    Topic Author
  • k
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

Hi
i have messaged you my access codes as couple of thing still not working. like members link and profile link

thank you

8 years 4 months ago
  • k's Avatar
    Topic Author
  • k
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

looks like changing php version to 7. worked. you might have to change the minimum requirements as well :)
i had 5.3.29
min for jomsocial is 5.3.11

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi K,

I alraedy fixed this by change the line 90 on helpers/maps.php with this code :

$location = stdClass();
			$location->name = $location;
			$location->desc = '';
			$location->lat = '';
			$location->lang = '';
			return $location;

thank you!

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

and yes your right this issue caused by old php version.. we need to change the min php req to 5.6 :)

anyway I set this topic as locked now, already solved ;)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW