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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Right version, but still WSOD
Pages: [1]

Author Topic: Right version, but still WSOD  (Read 608 times)

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Right version, but still WSOD
June 07, 2012, 02:43:33 pm
I've loaded 4.1.3 onto D6, twice, but still get the WSOD. It seems to load properly, but when I go to the Civi home page, I get a blank HTML screen. I asked my ISP to make sure the DB was valid and he said it was but came back with two error messages (which may tell you my level of expertise in that I don't know how to get my own error messages):
My ISP reports the following errors:
the first error reads:

[error] PHP Fatal error:  Call to undefined function filter_var() in /usr/home/dcrca/htdocs/dcrca.org/drupal/sites/all/modules/civicrm/CRM/Utils/Rule.php on line 401

Line 401 reads:
401   return (bool) filter_var($value, FILTER_VALIDATE_EMAIL);

I don't know what this means, but may have something to do with how Civi handles bounced messages????

The second error reads:

[error] PHP Parse error:  syntax error, unexpected '=' in /usr/home/dcrca/htdocs/dcrca.org/drupal/sites/default/civicrm.settings.php on line 135

Line 35 reads:
135:  $civicrm_root = '/usr/home/dcrca/htdocs/dcrca.org/drupal/sites/all/modules/civicrm';

Which is very similar to the example on line 110 (allowing for slightly different root paths), which also has an ‘=’:
110 *    $civicrm_root = '/var/www/htdocs/drupal/sites/all/modules/civicrm/';

This latter error is consistent with the problem – Civi seems to work, but can’t find any of its data. However, the PHP Parse error does not appear to be an error in that both the working copy and the example have an ‘=’ in the same place.

Any suggestions? Thanks.

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: Right version, but still WSOD
June 07, 2012, 02:57:07 pm

what version of PHP are you using? if i had to guess its a fairly old version and hence filter_var is undefined

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

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Right version, but still WSOD
June 07, 2012, 04:34:25 pm
My ISP reports: " Arthur has PHP version 5.2.6 and MySQL version 5.1.26 with InnoDB support".
Arthur is the server that we know won't run D7, but seems to be within the D6 specs.

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: Right version, but still WSOD
June 07, 2012, 07:09:52 pm

Might want to check with the ISP why u r getting this error:

 PHP Fatal error:  Call to undefined function filter_var()

since that function was defined in PHP 5.2

http://php.net/manual/en/function.filter-var.php

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

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Right version, but still WSOD
June 08, 2012, 06:39:37 am
Thanks, Lobo. Will do.
But in the meantime, I think I will just roll back to Civi 3.n and work on developing the D7/C4 site for later roll-out. I gotta get back access to the Civi functions today.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Right version, but still WSOD

This forum was archived on 2017-11-26.