Unable to complete installation....

Parse error: syntax error, unexpected ')', expecting '(' in /home/********/public_html/drupal/modules/civiconference/civiconference.module on line 229

Comments

david strauss’s picture

Status: Active » Postponed (maintainer needs more info)

This is what I see around that line number:

226:  $slots = array();
227:  $sql = 'SELECT id, title, start_date FROM civicrm_event WHERE is_online_registration = 1 AND is_active = 1 AND event_type_id = ' . $event_type_id . ' AND start_date >= NOW() ORDER BY title';
228:  //drupal_set_message($sql);
229:	$res = CRM_Core_DAO::executeQuery($sql, CRM_Core_DAO::$_nullArray);
230:	if (PEAR::isError($res))
231:		return FALSE;

I also tried downloading the 5.x-1.0 release, and it has no syntax error for me. Are you running PHP 4? I don't typically test with PHP 4.

david strauss’s picture

Please check your download for corruption, too.

Lifeischoice’s picture

Yes, I am running php 4.4.4. I downloaded and reinstalled the 5.x.1.0 several time with the same error. the code line(s) are the same. Maybe it does not play well with php 4.x ?

Lifeischoice’s picture

I have re-downloaded and same issue....thanks for looking into it....

Lifeischoice’s picture

any luck on solution for php 4.*..? thanks

david strauss’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

PHP 4 is not supported by CiviCluster.