• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]Unable to load helpers in module folder

So I loaded up a project today that I was working on yesterday and it's suddenly throwing the following error:

Quote:An Error Was Encountered

Unable to load the requested file: helpers/account/ssl_helper.php

I'm sure I accidentally moved something around, can someone look at this file structure and let me know if this looks correct:

I checked folder permissions and file permissions, and they are all 755 (I'm on my macbook pro)

This is what my constructor looks like:

function __construct()

        $this->load->helper(array( 'language', 'url', 'form', 'account/ssl'));

I even tried creating an empty helper in the account module folder and load that, but that didn't run.

I don't see any errors in the CI log or the PHP log.

This whole structure is based off of the A3M library.

Anyone run into this before?


I noticed that it is looking for the helper in the application/helper folder ... how do I get it to look at the modules folder?

Figured out what it was. I installed Sparks via the one liner command, and it overwrote my Application/core/MY_loader.php which was using the HMVC loader. Here's something I found:


Thanks for sharing!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.