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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........
Pages: [1]

Author Topic: Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........  (Read 2136 times)

redking

  • I’m new here
  • *
  • Posts: 28
  • Karma: 2
  • CiviCRM version: CiviCRM 4.1.0
  • CMS version: Joomla! 2.5.4
  • MySQL version: 5.1.30
  • PHP version: 5.2.8
Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........
February 08, 2009, 09:46:59 pm
I am testing civicrm 2.2 version on Joomla 1.59

It Installed smoothly but the below error appear every time I try to access the component.

Parse error: syntax error, unexpected T_STRING in C:\wamp\www\Joomla_1.59\administrator\components\com_civicrm\civicrm.settings.php on line 109

I made the folder and the file civicrm.settings.php writable and made the changes to the file.

line 109
Quote
* If your site's home url is http://www.example.com/drupal/
 * these variables would be set as below. Modify as needed for your install.
 *
 * CIVICRM_UF_BASEURL - home URL for your site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/drupal/' );
 *
 * EXAMPLE - Joomla Installations:
 * If your site's home url is http://www.example.com/joomla/
 *
 * CIVICRM_UF_BASEURL - home URL for your site:
 * Administration site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://localhost/Joomla_1.59/administrator/' );
 * Front-end site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://localhost/Joomla_1.59/' );
 *

Can anybody help me to solve the puzzle...

Thank you

« Last Edit: February 08, 2009, 09:53:35 pm by redking »

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........
February 09, 2009, 04:40:05 am
Scroll down to line 131 -- that's where the actual setting line is. The section you edited is commented out -- there for instruction only. It's possible that it doesn't like the presence of a "." in the folder name. You're running on a windows system, and windows doesn't usually like periods in folder names very much. you'd have to update your joomla settings too if you change the folder name.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........
February 09, 2009, 06:55:57 am

this is a bug with CiviCRM (on windows) and has been fixed. This will be part of beta2 (later this week)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

redking

  • I’m new here
  • *
  • Posts: 28
  • Karma: 2
  • CiviCRM version: CiviCRM 4.1.0
  • CMS version: Joomla! 2.5.4
  • MySQL version: 5.1.30
  • PHP version: 5.2.8
Re: Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........
February 15, 2009, 11:47:59 pm
yes, after installing the new alternative version (civicrm-2.2.beta2-joomla-alt.zip)  the above bug is gone.

It works perfectly. Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Parse error: CiviCRM 2.2 version with Joomla 1.59 HELP........

This forum was archived on 2017-11-26.