Hook not working after update to 5.3 - HELP!

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
omackeytech
Veteran Member
Posts: 35
Joined: 2014-06-04 13:18

Hook not working after update to 5.3 - HELP!

Post by omackeytech » 2014-06-05 16:49

I had a simple hook in the items.php file for items_after_update that worked fine in the previous version. After updating to 5.3 and re-generating the code the hook quit working.
Has the function of the hooks changed?

:?

omackeytech
Veteran Member
Posts: 35
Joined: 2014-06-04 13:18

Re: Hook not working after update to 5.3 - HELP!

Post by omackeytech » 2014-06-06 14:37

Found it....
The hook does work. I had a trigger set on an event on another table that updated the table the hook was on. It did not record an error in the logs so it was tricky to find.
I ran the code from the hook in phpMySql and there is where the error was described.
I removed the offending trigger and all is well.

Love this app, it has saved me very many hours developing simple databases.

Post Reply