adding fuel to an existing CI installation
I have followed the rather straight forward process discussed earlier of just replacing the applications folder and its all crashing in me with the following errors.
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant MODULES_PATH - assumed 'MODULES_PATH'
Filename: fuel/Loader.php
Line Number: 350
Fatal error: Cannot redeclare valid_email() (previously declared in
\wamp\www\bslusers\fuel\codeigniter\helpers\email_helper.php:38) in
\wamp\www\bslusers\fuel\application\helpers\validator_helper.php on line 106
Kindly shed some light on this.
Comments
That valid_email error is probably happening because you are including the email_helper somewhere and it's being included before the validator library. I'll look into adding a fix to help prevent that error, but in the meantime, I'd just move the loading order to have Validator load first.
Think of FUEL as an extension of CI, meaning you can do everything you could do in in CI, but now you have a lot of extra functionality which includes a CMS (and other things) In the 1.0 beta, there is a "fuel" object you can access directly in your controller that exposes a lot of the fuel functionality.
https://github.com/daylightstudio/FUEL-CMS/tree/1.0
http://docs.getfuelcms.com/general/fuel-object-structure