![]() |
Codeigniter Hook Based Plugin System - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Codeigniter Hook Based Plugin System (/showthread.php?tid=39357) |
Codeigniter Hook Based Plugin System - El Forum - 08-19-2011 [eluser]Vheissu[/eluser] This is very pecuilar. I wonder if it's some kind of paths issue. I am using the latest copy of XAMPP so the following; Apache 2.2.17 MySQL 5.5.8 PHP 5.3.5 I know Windows and UNIX paths are different, this could perhaps be the reason. Need to fire up my Mac Mini and have a look, this is friggen troubling, haha. Codeigniter Hook Based Plugin System - El Forum - 08-20-2011 [eluser]NeoArc[/eluser] Hi. Sometimes you have to use DIRECTORY_SEPARATOR in windows. Codeigniter Hook Based Plugin System - El Forum - 03-12-2012 [eluser]Unknown[/eluser] Hi Timothy, I have some issue with this library. Just downloaded fresh CI 2.1.0, added your library, import plugin.sql and get lots of error's: Code: A PHP Error was encountered Code: A PHP Error was encountered Code: Fatal error: Call to a member function database() on a non-object in \application\libraries\Plugins.php on line 62 Here is autoload: Code: $autoload['libraries'] = array('database','plugins'); Codeigniter Hook Based Plugin System - El Forum - 11-07-2012 [eluser]@MaxG[/eluser] I have the same Error like Timothy Codeigniter Hook Based Plugin System - El Forum - 11-07-2012 [eluser]umefarooq[/eluser] hi guys in php 5.3 and later variable passing by reference is deprecated that why getting error just change code at line 60 will work Code: $this->_ci &= get_instance(); to Code: $this->_ci = get_instance(); Codeigniter Hook Based Plugin System - El Forum - 11-08-2012 [eluser]@MaxG[/eluser] Heyo, The Error comes just, if i activate the plugin or the plugin isnt in the DB. Greets Codeigniter Hook Based Plugin System - El Forum - 01-10-2013 [eluser]Unknown[/eluser] Hello Guys, I have a modified Plugins.php that seems to work. I thought I could share this to all of you ![]() I have attached the file. Hope it works for you. Cheers! |