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

  • Home
  • SEARCH
  • 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 7919015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:42:41+00:00 2026-06-03T15:42:41+00:00

I have a set of codeigniter files, (full application) with me. But i dont

  • 0

I have a set of codeigniter files, (full application) with me. But i dont have a datadump.

I created an empty database and now I need codeigniter to scaffold the database by creating all the needed tables and columns of them.

my database settings looks like this.

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'databasename';
$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;

This is the current output i get when i access the site.

Error Number: 1146

Table ‘databasename.ci_sessions’ doesn’t exist

INSERT INTO ci_sessions (session_id, ip_address, user_agent,
last_activity, user_data) VALUES
(‘1dc9905a9c9acbd267163bf99793bd30’, ‘127.0.0.1’, ‘Mozilla/5.0
(Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like
Gecko) Chrome/17.0.963.56 Safari/535.11’, 1336613961, ”)

Filename: libraries/Session.php

Line Number: 328

  • 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-03T15:42:42+00:00Added an answer on June 3, 2026 at 3:42 pm

    You need to create the session database table manually.

    See the “Saving Session Data to a Database” section on the User Guide

    Edit: This is because you have configured it to save session data in the database ($config['sess_use_database'] = TRUE;)

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

Sidebar

Related Questions

I have developed numerous websites using Codeigniter, but now have the need to migrate
I have a web application built with jQuery Mobile and PHP (CodeIgniter framework). Now
I am using codeigniter 1.7.3 and I have controllers set up and working, but
I have set permission to allow anonymous user to create page. but when the
I have create a web application using CodeIgniter making at first a login interface.
I have a PHP web application built with CodeIgniter MVC framework. I wish to
I have my language files all set up, and everything is great when it
I am using Codeigniter 1.7.2 and HMVC (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home). I have these files and they
I have a domain set up: www.domain.com, that runs a codeigniter website. I want
I have an application built with codeigniter using the sessions class and storing session

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.