Welcome Guest, Not a member yet? Register   Sign In
IgnitedRecord and Matchbox incompatible?
#1

[eluser]Gaz[/eluser]
Has anybody managed to get these two to play nicely together? If I try and use the Matchbox Loader.php library replacement I get

Code:
Fatal error: Class 'ignitedrecord/ignitedrecord' not found in /Users/Gaz/Sites/katana_cms/application/libraries/Loader.php on line 1078

Cheers,
Gaz.
#2

[eluser]m4rw3r[/eluser]
It seems like the Loader of Matchbox doesn't have support for libraries in subdirs (I haven't tried Matchbox).

One fix is to upgrade the loader so it can handle that (but I don't know if Matchbox has support for this) and here is another one:

Create this file:
Code:
<?php
require_once 'ignitedrecord/ignitedrecord.php';

/* End of file ignitedrecord.php */
/* Location: ./application/libraries/ignitedrecord.php */
Then you load IgnitedRecord with $this->load->library('ignitedrecord'); (no subdir).
#3

[eluser]Gaz[/eluser]
OK, nice one.

Thanks for the help, and of course IR!

Cheers,
Gaz.




Theme © iAndrew 2016 - Forum software by © MyBB