Welcome Guest, Not a member yet? Register   Sign In
Hooks don't work
#10

[eluser]jeephnx[/eluser]
Hi Ive also just had trouble getting hooks to work with php5.2 and CI 1.7.2. Seems that CI is VERY case sensitive in this configuration. Filenames and class names must be capitalised as per the manual. (php4x seemed more forgiving in this regard)

I found this useful:
http://ellislab.com/codeigniter/user-gui...aries.html

In the end I gave up constructing a class in the hook file and went for a simple procedural function, just setting the class => '' in the config array as per this:
http://ellislab.com/codeigniter/user-gui...hooks.html

I do like CI but this stuff burns hours if you dont read the manual exactly!


Messages In This Thread
Hooks don't work - by El Forum - 06-08-2010, 12:27 PM
Hooks don't work - by El Forum - 06-08-2010, 02:30 PM
Hooks don't work - by El Forum - 06-08-2010, 03:28 PM
Hooks don't work - by El Forum - 06-08-2010, 10:48 PM
Hooks don't work - by El Forum - 06-09-2010, 12:42 AM
Hooks don't work - by El Forum - 06-09-2010, 02:03 AM
Hooks don't work - by El Forum - 06-09-2010, 12:34 PM
Hooks don't work - by El Forum - 06-09-2010, 01:05 PM
Hooks don't work - by El Forum - 06-09-2010, 01:47 PM
Hooks don't work - by El Forum - 06-22-2010, 09:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB