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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Getting internal server error after deploying a new hook module
Pages: [1]

Author Topic: Getting internal server error after deploying a new hook module  (Read 1837 times)

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Getting internal server error after deploying a new hook module
March 15, 2010, 07:29:42 am
I deployed a hook module for setting custom select options several weeks ago. Everything was fine.

I just tried to deploy a second module that hooks formBuild and now the server throws Error 500.

Nothing useful in any of the logs. All file permissions appear to be correct. The two modules work fine in my development.

Anyone experience something similar at anytime?
« Last Edit: March 15, 2010, 07:46:57 am by dschafer »

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Re: Getting internal server error after deploying a new hook module
March 15, 2010, 08:38:02 am
OK, I found a useful log entry

I have any error including - sites/all/modules/civicrm/CRM/ACL/BAO/Acl.php

When I look at my Civi folders the directory and files group and owner are: unknown / unknown

I assume I don't have permissions to the file - and there is no execute for group or public.

Are these ownership/permission options correct?

Other than this the Civi app is working great.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Getting internal server error after deploying a new hook module
March 15, 2010, 10:21:31 am
Can you make sure apache user is able to access civicrm files.

Kurund
Found this reply helpful? Support CiviCRM

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Re: Getting internal server error after deploying a new hook module
March 15, 2010, 12:34:22 pm
OK - never under estimate the power of capitalization.

The file is ACL.php not Acl.php.

Its always the simple things.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Getting internal server error after deploying a new hook module

This forum was archived on 2017-11-26.