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 273525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:28:09+00:00 2026-05-12T00:28:09+00:00

I am getting the following error on my site, however, i don’t know what

  • 0

I am getting the following error on my site, however, i don’t know what I am to do. I know I am missing something, however, I just can’t figure it out.

You can see what I am trying to achieve here: 4.6.4. Zend_Application_Resource_Session

Fatal error: Uncaught exception ‘Zend_Db_Table_Exception’ with message ‘No adapter found for Zend_Session_SaveHandler_DbTable’ in C:\xampp\htdocs\app\library\Zend\Db\Table\Abstract.php:667 Stack trace: #0 C:\xampp\htdocs\app\library\Zend\Db\Table\Abstract.php(652): Zend_Db_Table_Abstract->_setupDatabaseAdapter() #1 C:\xampp\htdocs\app\library\Zend\Session\SaveHandler\DbTable.php(401): Zend_Db_Table_Abstract->_setup() #2 C:\xampp\htdocs\app\library\Zend\Db\Table\Abstract.php(286): Zend_Session_SaveHandler_DbTable->_setup() #3 C:\xampp\htdocs\verelo\library\Zend\Session\SaveHandler\DbTable.php(205): Zend_Db_Table_Abstract->__construct(Array) #4 C:\xampp\htdocs\app\library\Zend\Application\Resource\Session.php(59): Zend_Session_SaveHandler_DbTable->__construct(Array) #5 C:\xampp\htdocs\app\library\Zend\Application\Resource\ResourceAbstract.php(93): Zend_Application_Resource_Session->setSaveHandler(Array) #6 C:\xampp\htdocs\app\library\Zend\Application\Resource\ResourceAbstract.php(72): Zend_Application_R in C:\xampp\htdocs\app\library\Zend\Db\Table\Abstract.php on line 667

Here is my config.ini file:

[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"

resources.db.adapter = "pdo_mysql"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.dbname = "app"
resources.db.isDefaultTableAdapter = true

resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
;resources.frontController.moduleControllerDirectoryName = "actions"
;resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
;resources.frontController.defaultControllerName = "site"
;resources.frontController.defaultAction = "home"
;resources.frontController.defaultModule = "static"
;resources.frontController.baseUrl = "/subdir"
;resources.frontController.plugins.foo = "My_Plugin_Foo"
;resources.frontController.plugins.bar = "My_Plugin_Bar"
resources.frontController.env = APPLICATION_ENV

resources.layout.layout = "layout"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"

resources.view[] = 
resources.view.encoding = "UTF-8"
resources.view.basePath = APPLICATION_PATH "/views/scripts"

resources.session.save_path = APPLICATION_PATH "/../data/session"
resources.session.use_only_cookies = true
resources.session.remember_me_seconds = 864000
resources.session.saveHandler.class = "Zend_Session_SaveHandler_DbTable"
resources.session.saveHandler.options.name = "session"
resources.session.saveHandler.options.primary.session_id = "session_id"
resources.session.saveHandler.options.primary.save_path = "save_path"
resources.session.saveHandler.options.primary.name = "name"
resources.session.saveHandler.options.primaryAssignment.sessionId = "sessionId"
resources.session.saveHandler.options.primaryAssignment.sessionSavePath = "sessionSavePath"
resources.session.saveHandler.options.primaryAssignment.sessionName = "sessionName"
resources.session.saveHandler.options.modifiedColumn = "modified"
resources.session.saveHandler.options.dataColumn = "session_data"
resources.session.saveHandler.options.lifetimeColumn = "lifetime"

[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

resources.db.params.username = "root"
resources.db.params.password = ""

I removed the root password of course, however, that is all I modified for this post.

  • 1 1 Answer
  • 1 View
  • 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-05-12T00:28:10+00:00Added an answer on May 12, 2026 at 12:28 am

    You need to ensure that the database resource is loaded first. The easiest way is to add a new function to application/Bootstrap.php:

    <?php
    
    class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
    {
        public function _initSessionAfterDb()
        {
            $this->bootstrap('db');
            $this->bootstrap('session');
        }
    
    }
    

    Of course, you’d expect this to happen automatically, so I suspect that there’s a dependency bug within Zend_Applicaton’s session resource…

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

Sidebar

Related Questions

I am getting following error while starting apache. Can't locate /usr/sbin/webmux.pl in @INC (@INC
I'm doing a new site and getting the following error: Property opacity doesn't exist
On my site wemanageloans.com, many of the users are getting the following error when
I'm getting the following error on my site when I upload it or submit
I'm getting the following error on my site; Microsoft VBScript compilation error '800a03f2' Expected
I am getting the following error C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 126: The specified module could not
Am getting following error message on calling WCF service: The formatter threw an exception
I am Getting following error on exporting the video using [exportSession exportAsynchronouslyWithCompletionHandler:^ Error: -[TiBlob
I am getting following error while installing the application on my device. before running
i am getting following error while getting data from dictionary -[__NSCFString objectForKey:]: unrecognized selector

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.