goFrendiAsgard / No-CMS

No-CMS, A CodeIgniter Based CMS Framework
299 stars 199 forks source link

MX / Modules.php question. #94

Closed ceoseo closed 9 years ago

ceoseo commented 10 years ago

hi

No-CMS / application / third_party / MX / Modules.php line 223 ~ 231

/* is the file in an application directory? */
        if ($base == 'views/') {
            if (is_file(APPPATH.$base.$path.$file_ext)) return array(APPPATH.$base.$path, $file);
            show_error("Unable to locate the {$base} file: {$path}{$file_ext}");
        }
log_message('debug', "Unable to locate the {$base} file: {$path}{$file_ext}");
        return array(FALSE, $file); 
    }

The location of the log message is not it? Wrong ? Log messages of many unusual has occurred .

       show_error (~~~);
      }
 log_message( ~~~);

---> show_error(~~~); log_message(~~~); }

I think this.

goFrendiAsgard commented 10 years ago

Hi, ceoseo. Thanks for your report. However, I'm afraid I don't really get what you want to say, can you please give more detail explanation?

Thanks.

ceoseo commented 10 years ago

Hi. goFrendiAsgard

my debug log message.

FYR.

DEBUG - 2014-02-18 13:24:04 --> Loader Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: constants.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: autoload.php DEBUG - 2014-02-18 13:24:04 --> Controller Class Initialized DEBUG - 2014-02-18 13:24:04 --> Main MX_Controller Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: constants.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: autoload.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the models/ file: no_cms_model.php DEBUG - 2014-02-18 13:24:04 --> Model Class Initialized DEBUG - 2014-02-18 13:24:04 --> Model Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: url_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: url_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: html_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: html_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: form_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: form_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: string_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: string_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: user_agent.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: user_agent.php DEBUG - 2014-02-18 13:24:04 --> User Agent Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: Session/session.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: session.php DEBUG - 2014-02-18 13:24:04 --> CI_Session Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: encrypt.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: encrypt.php DEBUG - 2014-02-18 13:24:04 --> Encrypt Class Initialized DEBUG - 2014-02-18 13:24:04 --> Database Driver Class Initialized DEBUG - 2014-02-18 13:24:04 --> Session garbage collection performed. DEBUG - 2014-02-18 13:24:04 --> CI_Session routines successfully run DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: cms_helper_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: cms_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: form_validation.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: form_validation.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: form_helper.php DEBUG - 2014-02-18 13:24:04 --> Form Validation Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: url_helper.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: html_helper.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: form_helper.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: string_helper.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: Extended_Grocery_CRUD.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: extended_grocery_crud.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: template.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: template.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the libraries/ file: parser.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: parser.php DEBUG - 2014-02-18 13:24:04 --> Template Class Initialized DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Config file loaded: /home/hosting_users/luvingnet/www/application/config/cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the helpers/ file: directory_helper.php DEBUG - 2014-02-18 13:24:04 --> Helper loaded: directory_helper DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php DEBUG - 2014-02-18 13:24:04 --> Unable to locate the config/ file: cms_config.php

goFrendiAsgard commented 9 years ago

Please reopen this issue if the problem persists in newest version