Database error after module changes

cj_nza

Joined: 2004-05-26
Posts: 10
Posted: Wed, 2009-03-25 10:59

After I make module changes and then select the modules tab again from dashboard gets this error.

Database Error

A database error occurred while performing the requested procedure. Please review the database error below for more information.

kohana/libraries/drivers/Database/Mysql.php [322]:

Table gallerymodules does not exist in your database.
Stack Trace

* kohana/libraries/Database.php [1234]:

Database_Mysql_Driver->list_fields( gallerymodules )

* kohana/libraries/ORM.php [897]:

Database_Core->list_fields( modules, 1 )

* kohana/libraries/ORM.php [154]:

ORM_Core->reload_columns( )

* kohana/libraries/ORM.php [104]:

ORM_Core->__initialize( )

* kohana/libraries/ORM.php [82]:

ORM_Core->__construct( )

* core/helpers/module.php [152]:

ORM_Core::factory( module )

*

module_Core::load_modules( )

* kohana/core/Event.php [209]:

call_user_func( Array
(
[0] => module
[1] => load_modules
)
)

* kohana/core/Bootstrap.php [46]:

Event::run( system.ready )

* index.php [61]:

require( kohana/core/Bootstrap.php )

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-04-07 06:38

Whoa, that's odd. What's your table prefix set to? Is it set to "gallery" ? If so, do you have a "gallerymodules" table in your database? If not, what's the prefix set to?