0

I am working on a Joomla Website and Have Installed Jomsocial however I keep getting some syntax errors. The files and folders are exactly where they are supposed to be I believe its just the code and I cant see it. below is where my errors are said to be...

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/findthem/public_html/administrator/components/com_community/models/network.php on line 56

I know there is an issue on line 56 and maybe 58. it keeps going back and forth to T-Constant errors and

Failed to Launch errors.  directory of file is in home/public_html/administrator/components/com_community/models/network.php

thanks for the help in advance.

 {
    $include_path '/usr/lib/php:/usr/local/lib/php:/home/findthem/php'  {
        // Parse SEF URL to join_url
        $communityLibraries = JPATH_SITE . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'core.php';
        require_once($path.'/home/findthem/public_html/administrator/components/com_community/libraries');      
        $params     = array();
        $params['network_site_name']        = '';
        $params['network_description']      = '';
        $params['network_keywords']         = '';
        $params['network_language']         = '';
        $params['network_member_count']     = '';
        $params['network_group_count']      = '';
        $params['network_enable']           = '0';
        $params['network_site_url']         = JURI::root();
        $params['network_join_url']         = CRoute::_(JURI::root().'index.php?option=com_community&view=register', false);
        $params['network_logo_url']         = '';
        $params['network_cron_freq']        = 24;
        $params['network_cron_last_run']    = 0;

Edited by mike_2000_17: Fixed formatting

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by EvolutionFallen
0

Hi,
You're missing a semi-colon and an assignment operator in your first line (Also, why is there an opening brace right after it?):

$include_path = '/usr/lib/php:/usr/local/lib/php:/home/findthem/php'; {

Hope that helps.
-EF

0

Just as EvolutionFallen wrote, but leave { out from the end of the line.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.