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) »
  • Fatal error: Invalid opcode 153/1/8
Pages: [1]

Author Topic: Fatal error: Invalid opcode 153/1/8  (Read 2657 times)

kimberley-p

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.28
Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:00:16 am
Hi, I have installed civi 4.4.6 onto Drupal 7.31 today and it has now installed and I can see it in /admin/ modules and I can edit the permissions, however, if I try to visit /civicrm, I get the following error -

Fatal error: Invalid opcode 153/1/8. in <my root folders>/sites/all/modules/civicrm/CRM/Core/Resources.php on line 214

I had a few permissions issues that needed resolving before it would install, so wondering if this is permissions related too.

I've tried deleting civicrm.settings.php and re-installing a couple of times with the same result.

Any guidance would be much appreciated
« Last Edit: August 26, 2014, 08:08:23 am by kimberley-p »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:05:01 am
Might be a problem with eAccelerator. Try putting these lines in your .htaccess file:

Code: [Select]
php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

kimberley-p

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.28
Re: Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:10:52 am
Thanks Hershel, I put that in the htaccess in sites/default/files/civicrm/ConfigAndLog and it hasn't changed anything - is that the .htaccess you meant?

kimberley-p

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.28
Re: Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:22:41 am
I just noticed that my root folder for the site (which is on a sub-domain, don't know if that's relevant) has no .htaccess. Am assuming one was supposed to be created there as part of install? COuld that be why?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:32:11 am
Drupal comes with a .htaccess file in the root. You don't have to use that file in reality, but it's nice to have. But anyhow I meant to put those lines in the .htaccess file in the root of the install, meaning the root of Drupal.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

kimberley-p

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.28
Re: Fatal error: Invalid opcode 153/1/8
August 26, 2014, 08:40:26 am
I created a .htaccess in the root and put only these lines in it (I can add the other useful stuff later) and it has fixed the problem!

Thank you very much for help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Fatal error: Invalid opcode 153/1/8

This forum was archived on 2017-11-26.