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 »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • PHP error in drupal/civicrm.module
Pages: [1]

Author Topic: PHP error in drupal/civicrm.module  (Read 1010 times)

Wonder95

  • Guest
PHP error in drupal/civicrm.module
April 02, 2008, 07:53:49 am
When going to the front page of my site, I get the following error:
Code: [Select]
Parse error: syntax error, unexpected ',', expecting '(' in /home/campus/public_html/members/sites/all/modules/civicrm/drupal/civicrm.module on line 477

The requisite code is:
Code: [Select]
    if ( $userID ) {
        $html = CRM_Core_BAO_UFGroup::getEditHTML( $userID, '',
                                                   CRM_Core_Action::UPDATE, true,
                                                   $reset, null,
                                                   $doNotProcess, $ctype );

where line 477 is
Code: [Select]
CRM_Core_Action::UPDATE, true,

I have not touched this file since the site was initially installed.  I recently upgraded Drupal to 5.7, but the site has been working fine since then.  There were some issues with Apache and PHP on the server last night, and the host took care of those (PHP and Apache were recompiled).

Anybody have any ideas what could be causing this code error?

Thanks.

Wonder95

  • Guest
Re: PHP error in drupal/civicrm.module
April 02, 2008, 08:49:02 am
It turned out to be an issue on the server, nothing with the code itself.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • PHP error in drupal/civicrm.module

This forum was archived on 2017-11-26.