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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Interface 'Countable' not found
Pages: [1]

Author Topic: Interface 'Countable' not found  (Read 3511 times)

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Interface 'Countable' not found
April 19, 2009, 10:37:42 am
I've installed Drupal 6.10. I just installed CiviCRM 2.2.2. Finally got successful installation. When I clicked "Configuration Checklist," I got:

Fatal error: Interface 'Countable' not found in /home/drupal6/public_html/sites/all/modules/civicrm/packages/IDS/Report.php on line 49

When I go to my home page and click CiviCRM in the left sidebar, I get the same error message. The URL shows:

http://drupal6.nccommunities.org/civicrm/dashboard
Judy Hallman

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: Interface 'Countable' not found
April 19, 2009, 03:07:30 pm
I didn't have a files directory. I created files/civicrm/upload with permissions 755 on each directory, but that didn't fix the problem. I also created crm_docs, custom, persist, and templates_c in the civicrm directory with permissions 755.  That didn't fix it either. I looked at the tables in the database and they look OK. I missed something.

The instructions at http://wiki.civicrm.org/confluence/display/CRMDOC/Drupal+Installation+Guide#DrupalInstallationGuide-5.ReviewPermissions say "Refer to Step 2 for instructions on directories to create and permissions to set." I don't see that information anywhere in the Installation Guide.
Judy Hallman

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: Interface 'Countable' not found
April 19, 2009, 08:09:52 pm

hey judy:

what version of PHP? if i had to guess, your php version is a bit old and does not support the Countable interface

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

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: Interface 'Countable' not found
April 20, 2009, 05:49:36 am
PHP Version 5.2.8-pl1-gentoo

System    Linux rtpnet 2.6.16-gentoo-r13 #1 Mon Jul 17 11:10:02 EDT 2006 i686
Judy Hallman

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: Interface 'Countable' not found
April 20, 2009, 11:31:08 am

hmm, not sure about this one. i'll think about it and see if i can find something

any chance i can get ssh access to your machine to debug?

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

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: Interface 'Countable' not found
April 20, 2009, 03:31:17 pm
Yes. This is a new, temporary site, for me to learn Drupal 6 and CiviCRM 2.2. I am the only one using it. I'll send you login info in two email messages. The systems guys run a tight secure site, but they are helpful. I can send you email addresses if you want them.
Judy Hallman

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: Interface 'Countable' not found
May 07, 2009, 11:26:50 am
I asked our system admin if he knew anything about PHP Interface 'Countable.' He said he did not and added

"If there is a PHP software change that needs to be made, though, just let me know and I'll do what I can."

Any suggestions on where to look or what to do?

Judy
Judy Hallman

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Interface 'Countable' not found
May 07, 2009, 12:15:42 pm
Judy,

Most likely the error is due to "SPL Support" not enabled/compiled with the php version, since "Countable interface" ships with SPL library (http://php.net/Countable).

Checking phpinfo() would help confirming.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: Interface 'Countable' not found
May 08, 2009, 09:09:22 am
Thank you! The system admin had disabled SPL. He enabled it for me and CiviCRM starts up fine now.

Thanks again for your help!
Judy Hallman

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Interface 'Countable' not found

This forum was archived on 2017-11-26.