Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI_Loader in HMVC #8

Open
Jorgibiris opened this issue Jun 3, 2016 · 3 comments
Open

CI_Loader in HMVC #8

Jorgibiris opened this issue Jun 3, 2016 · 3 comments

Comments

@Jorgibiris
Copy link

Jorgibiris commented Jun 3, 2016

Hi,
I have a error in HMVC app.
Neccesary my folder estructure is:

  • app (all CI)
    • application
    • system
  • www (public with index.php)

The error is:
Fatal error: Class 'CI_Lang' not found in C:/wamp/www/myapp/app/application/third_party/MX/Lang on line 37

Exist MX_Lang in this folder, but not Lang...

Thank for your work!... and excuse my english... :)

@kenjis
Copy link
Owner

kenjis commented Jun 4, 2016

Sorry, I don't use HMVC.

@Jorgibiris
Copy link
Author

Ah, ok.
Thanks, I'll try to fix it ant comment.

@Userlocal2
Copy link

Please add
define('SYSDIR', basename(BASEPATH));
to ci_instance.php after
define('VIEWPATH', $application_folder . '/views/');

and
remove
load_class('Loader', 'core');
it is unnecessary and will be loaded in
require(BASEPATH . 'core/Controller.php');

after that MX will be working and without MX too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants