I posted this over on the CiviCRM site after doing searches there, and was hoping someone here might have more of a clue than I do.

Drupal 4.7.0
MySQL 5.0.18 / 5.0.1.6 client
PHP 4.4.2
CiviCRM 1.4

Trying to set up a brand-new Drupal 4.7 & CiviCRM 1.4 instance. I've followed the steps exactly so far as I can tell, but I get the following error when I attempt to activate CiviCRM in Drupal I get:

Parse error: syntax error, unexpected T_DNUMBER in /...MYPATH.../USER/MYSITEURL/drupal/sites/default/civicrm.settings.php on line 188

In civicrm.settings.php on that line, I have identified my MySQL version variously as 5.0 and 5.018 and 5.018-standard to no avail. Am I missing something? Could it be my PHP version which was not explicitly said to be compatible in the CiviCRM documentation?

Comments

EWD’s picture

I believe that only '4.0' and '4.1' are defined T_DNUMBER for mysql version. I am running version 5.0.18 and entered '4.1'. Seems to work fine.

silurius’s picture

Thank you for that, it worked. Hopefully someone will be able to document that over on the opengo site.

silurius’s picture

After editing the mysql setting above, I ran into more issues which seemed to require many, many file edits to establish usable file paths. Here's an example of what Drupal's module page generated after I edited everything, (which went away after a page refresh):


    * warning: main(..CRM/Core/I18n.php): failed to open stream: No such file or directory in /home/...PATH.../MYSITE.COM/drupal/modules/civicrm/CRM/Utils/Menu.php on line 49.
    * warning: main(PHPgettext/streams.php): failed to open stream: No such file or directory in /home/...PATH.../MYSITE.COM/drupal/modules/civicrm/CRM/Core/I18n.php on line 31.
    * warning: main(PHPgettext/streams.php): failed to open stream: No such file or directory in /home/...PATH.../MYSITE.COM/drupal/modules/civicrm/CRM/Core/I18n.php on line 31.

...(much more)...

I've trimmed my listing above as it's too many to list here. Additionally, after these edits when I navigated to the civicrm menu path in drupal, I encountered many, many more.

After making all of these edits, I now get this error which I'm not sure how to resolve:

Fatal error: Cannot redeclare class pear in /...PATH.../MYSITE.COM/...PATH.../modules/civicrm/packages/PEAR.php on line 103