ZF-8930: Fatal error: Class name must be a valid object or a string in C:\Archivos de programa\Zend\ZendServer\share\ZendFramework\library\Zend\Db\Table\Row\Abstract.php on line 343


I have a Model where i store a rowSet; I save the Model in the Default Namespace of Zend_Session; When the user selects a subset of the rowSet he submit's the form a when i try to reactive the rosSet to update(rowSet->setTable()) i get the error.


Can you please supply a short reproduction case?

Sorry for my english. I don't understand what are you asking for. If you want i could send you my code with a script for my database. In the model, i get the rowSet that is associated with my user actually logged in, the first time i ask for the rowSet the member of my model that stores the rowSet is NULL, the i initialize it with the rowSet from my database, the subsequent access to my rowSet are satisfied with the rowSet stored in my model. the first access is when he asked for the form to choose a subset of then (if any), if there are none then a page with a message appears. Else a page with the rowSet data is show to the user, in this request is also accesed the rowSet to format the form with it's data. Then when the user submit the form i modify the rowSet with his selection and then i reactivate the rowSet setting the table before i could iterate over the rowSet to save each row.

I am looking for something like this:…

Please try to isolate the issue to just Zend_Db (that means reproduce it without any other components involved, like Zend_Session or your models, etc)