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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • White screen setting path for hooks
Pages: [1]

Author Topic: White screen setting path for hooks  (Read 1185 times)

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
White screen setting path for hooks
November 05, 2009, 05:23:01 am
When I go to the administration and attempt to set a custom path for civicrmhooks.php I'm getting a white screen. I'm not seeing any error trace with xdebug but I do get a cachegrind.out file each time I try to set the path.

This is on xampp, 3.0.1 Jomla 1.5.14.

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: White screen setting path for hooks
November 05, 2009, 06:47:32 am

is it only for that setting or for all settings?

what about when u set a custom template path?

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

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: White screen setting path for hooks
November 05, 2009, 06:18:30 pm
Custom template path works fine.
The information is actually saved in the backend_config. If i clear that field it all goes back to normal.

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: White screen setting path for hooks
November 05, 2009, 08:07:26 pm
Hi,

Okay, i found the problem in my code but also I found

            @include_once( "civicrmHooks.php" );

on 435 of CRM/Hook.php which would be good to not do.

Also Sam suggested that you namespace the functions e.g.  civicrm_dashboard.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • White screen setting path for hooks

This forum was archived on 2017-11-26.