Jump to content

Custom module's controller db-list filter/order error


Recommended Posts

Hi,

 

I've written many little modules, which uses custom tables - also joined to "officeal" ones - to list/sort data.

 

My current problem is:

- have a module

- need more controllers, to list different tables

 

Happening:

- when first call the custom controller, it lists the rows correctly

- when try to sort, filter, page the result, got exception, like this:

 

###

Fatal error: Uncaught exception 'ReflectionException' with message 'Class AdminVateraOrders does not exist' in /var/www/clients/client3/web8/web/classes/ObjectModel.php:1828 Stack trace: #0 /var/www/clients/client3/web8/web/classes/ObjectModel.php(1828): ReflectionClass->__construct('AdminVateraOrde...') #1 /var/www/clients/client3/web8/web/classes/controller/AdminController.php(797): ObjectModelCore::getDefinition('AdminVateraOrde...') #2 /var/www/clients/client3/web8/web/classes/controller/AdminController.php(896): AdminControllerCore->processFilter() #3 /var/www/clients/client3/web8/web/classes/controller/Controller.php(178): AdminControllerCore->postProcess() #4 /var/www/clients/client3/web8/web/classes/Dispatcher.php(367): ControllerCore->run() #5 /var/www/clients/client3/web8/web/admin564zgiluv/index.php(58): DispatcherCore->dispatch() #6 {main} thrown in /var/www/clients/client3/web8/web/classes/ObjectModel.php on line 1828

###

 

^^ this is my test site, on "real" one just got a blank screen :P

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...