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) »
  • Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR
Pages: [1]

Author Topic: Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR  (Read 1275 times)

jimwall

  • Guest
Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR
September 02, 2008, 09:49:25 pm
I received this error during the install of CiviCRM:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home2/ntahrmmz/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 58

The host is BlueHost
Joomla _1_5_6
CiviCRM-2.1.Beta3-Joomla

The code on lines
54   /**
55     * the dsn of the database connection
56     * @var string
57     */
58    public $dsn;

Can I fix this?  What do I need to do to finish the install?

Thanks, Jim Wall

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR
September 03, 2008, 12:17:48 am
Can't see any syntax error in that file. Release test installs didn't throw any such error. Someone running on same host could confirm the problem.

You sure your host meets the minimum requirement - http://wiki.civicrm.org/confluence/display/CRMDOC/Install+2.1+for+Joomla ?
« Last Edit: September 03, 2008, 12:58:51 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR
September 03, 2008, 01:32:45 am
Jim:

most likely u r running a php4 server. CiviCRM requires php5.

HTH

Kurund
Found this reply helpful? Support CiviCRM

jimwall

  • Guest
Re: Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR
September 03, 2008, 10:39:53 am
That was it.  Bluehost helped me change to PHP 5 and the install was successful and totally automatic!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Install Error CiviCRM-2.1.Beta3-Joomla 1.5.6 PARSE ERROR

This forum was archived on 2017-11-26.