Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8363609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:13:15+00:00 2026-06-09T12:13:15+00:00

I installed CodeIgniter latest version and Modular extension HMVC Wiredesignz HMVC Bitbucket . It

  • 0

I installed CodeIgniter latest version and Modular extension HMVC Wiredesignz HMVC Bitbucket.

It is showing annoying error in my server. If I refresh the same page for 100 times 5-10% of total refresh show this error.

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: /Library/WebServer/Documents/modular/third_party/MX/Loader.php

Line Number: 96

Screenshot of the Error

enter image description here
Code in Autoload Configuration file ./autoload.php.

$autoload['packages'] = array(APPPATH.'third_party');

$autoload['libraries'] = array('database');

Code in database configuration file ./database.php.

$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = '*****';
$db['default']['password'] = '*****';
$db['default']['database'] = '*****';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

Hope I am clear. Thanks in advanced.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:13:17+00:00Added an answer on June 9, 2026 at 12:13 pm

    It was not HMVC issue, when I change the host it is working perfectly. There might be some database server issue or file permission issue with some hosting or your settings.

    Phil, Author of HMVC explained here

    Trouble with HMVC modular extensions for CodeIgniter

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup Codeigniter on my server and I installed Grocery crud on it.
I installed latest CodeIgniter and copied welcome.php to backend.php, and changed the class variable
I am running CI version 2.1 and I have recently installed the CodeIgniter 2.1
I've installed codeigniter on my server and made Tank auth work fine, too. now
I am having trouble getting a working Codeigniter version 2.0.3 with hmvc and tank
I have a new website wherein I have installed codeigniter (latest). Now for testing
I have codeigniter installed at the root directory, and would like to have a
I've installed the FreakAuth Lite library for CodeIgniter ( http://www.4webby.com/freakauth/ ). Everything is working
I just installed Tank_Auth in Codeigniter and would like to develop a CMS and
I'm developing a web site using codeigniter framework. To document it, I've installed doxygen.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.