Skip to content

CI_Loader in HMVC #8

Open
Open

Description

@Jorgibiris

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... :)

Activity

  1. kenjis commented on Jun 4, 2016

    @kenjis
    Owner

    Sorry, I don't use HMVC.

  2. Jorgibiris commented on Jun 6, 2016

    @Jorgibiris
    Author

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

  3. Userlocal2 commented on Aug 21, 2017

    @Userlocal2

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions