CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla? Error after install unexpected T_STRING
Pages: [1]

Author Topic: Joomla? Error after install unexpected T_STRING  (Read 5005 times)

Frederick.Martinez

  • Guest
Joomla? Error after install unexpected T_STRING
May 09, 2007, 11:34:43 am
I have installed the package as best I can but when I execute any feature I get :

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/3794/domains/slidelllittletheatre.org/html/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 57

I have verified I am using the right version for my php. Can you help?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla? Error after install unexpected T_STRING
May 09, 2007, 11:55:45 am
Please verify that you have downloaded the correct version of CiviCRM. From the error, I suspect you are trying to run the PHP5 version of CiviCRM in a PHP4 environment.
Protect your investment in CiviCRM by  becoming a Member!

Frederick.Martinez

  • Guest
Re: Joomla? Error after install unexpected T_STRING
May 09, 2007, 01:14:01 pm
I have verified that I am using the proper versions of php and civicrm. Both are php 5. Any other ideas.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla? Error after install unexpected T_STRING
May 09, 2007, 02:54:51 pm
I believe that the line that is throwing the error contains is:
Code: [Select]
    public $initialized = 0;
"public" is not supported in php4 - and hence errors would occur.

1. Please cut-n-paste the downloaded file name.
2. Please run phpinfo( ) on your web serve and cut-n-paste the first 20 lines which will include the php version.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla? Error after install unexpected T_STRING

This forum was archived on 2017-11-26.