Quantcast
Channel: DOCU - Foren
Viewing all articles
Browse latest Browse all 6559

Administration - Installation - Core: ActiveRecord discrepancy.

$
0
0

I've been having a weird issue with plugins that use ActiveRecord  lately and was curious if anyone else had this issue,


Sometimes plugins that use ActiveRecord seem to lose reference to it, today it was CtrlMainMenu. Trying to load up my personal desktop I receive the error.


Class 'ActiveRecord' not found in /Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/CtrlMainMenu/classes/class.ctrlmmData.php on line 11


This breaks the page as I have CtrlMainMenu installed, but if I go into that file and manually include ActiveRecord
(include_once('./Services/ActiveRecord/class.ActiveRecord.php');)


it seems to fix the issue, i've been having the same issue with plugins i've been developing as well, but sometimes it'll refind ActiveRecord on its own without my manual inclusion.


Any suggestions or insight are always appreciated!


Thanks,


Evan Jackson


Viewing all articles
Browse latest Browse all 6559

Trending Articles