Error al adicionar en StandardForm

edited septiembre 2007 in Principiantes
Hola que tal, al adicionar me sale lo siguiente: version: 0.4.7-stable

KumbiaWarning: Propiedad no definida
Propiedad indefinida 'schema' leida de el modelo 'ventas'
En el modelo ventas al ejecutar ventas/insert/

#0 ActiveRecordException::display_warning(Propiedad no definida, Propiedad indefinida 'schema' leida de el modelo 'ventas', ventas) called at [C:\AppServ\www\ventas\forms\db\active_record.php:169]
#1 ActiveRecord->__get(schema) called at [C:\AppServ\www\ventas\forms\db\active_record.php:485]
#2 ActiveRecord->find_first(3) called at [C:\AppServ\www\ventas\forms\db\active_record.php:1457]
#3 ActiveRecord->save() called at [C:\AppServ\www\ventas\forms\db\active_record.php:1046]
#4 ActiveRecord->create() called at [C:\AppServ\www\ventas\forms\controller\standard_form_controller.php:274]
#5 StandardForm->insert()
#6 call_user_func_array(Array ([0] => VentasController Object ([scaffold] => 1,[controller_name] => ventas,[action_name] => insert,[id] => ,[ignore_list] => Array ([0] => fechaYHora_in,[1] => id),[form] => Array ([components] => Array ([id] => Array ([auto_numeric] => 1,[primary] => 1,[notNull] => 1,[valueType] => numeric,[attributes] => Array ([size] => 11,[maxlength] => 11),[type] => text,[caption] => Id),[codigo] => Array ([notNull] => 1,[attributes] => Array ([size] => 50,[maxlength] => 50),[type] => text,[caption] => Codigo),[tallas_id] => Array ([notNull] => 1,[valueType] => numeric,[type] => combo,[class] => dynamic,[foreignTable] => tallas,[detailField] => nombre,[orderBy] => 2,[column_relation] => id,[caption] => Tallas,[use_helper] => tallas),[colores_id] => Array ([notNull] => 1,[valueType] => numeric,[type] => combo,[class] => dynamic,[foreignTable] => colores,[detailField] => nombre,[orderBy] => 2,[column_relation] => id,[caption] => Colores,[use_helper] => colores),[tiendas_id] => Array ([notNull] => 1,[valueType] => numeric,[type] => combo,[class] => dynamic,[foreignTable] => tiendas,[detailField] => nombre,[orderBy] => 2,[column_relation] => id,[caption] => Tiendas,[use_helper] => tiendas),[fechaYHora_in] => Array ([attributes] => Array ([size] => 80,[maxlength] => 80),[type] => text,[caption] => FechaYHora In)),[source] => ventas,[caption] => Ventas,[type] => standard,[scaffold] => ,[force] => ),[cache_layout] => ,[cache_view] => ,[view] => index,[keep_action] => ,[sucess_insert_message] => ,[failure_insert_message] => ,[success_update_message] => ,[failure_update_message] => ,[success_delete_message] => ,[failure_delete_message] => ,[response] => ,[all_parameters] => Array ([0] => ventas,[1] => insert),[parameters] => Array (),[source] => ventas,[Ventas] => Ventas Object ([db] => db Object ([Id_Connection] => Resource id #29,[lastResultQuery] => Resource id #34,[] => SELECT MAX(id) FROM ventas,[] => root,[] => localhost,[] => 123456,[] => ventas,[] => 3306,[] => ,[lastError] => ,[debug] => ,[logger] => ,[display_errors] => 1,[] => ),[source] => ventas,[count] => ,[fields] => Array ([0] => id,[1] => codigo,[2] => tallas_id,[3] => colores_id,[4] => tiendas_id,[5] => fechaYHora_in),[primary_key] => Array ([0] => id),[non_primary] => Array ([0] => codigo,[1] => tallas_id,[2] => colores_id,[3] => tiendas_id,[4] => fechaYHora_in),[not_null] => Array ([0] => id,[1] => codigo,[2] => tallas_id,[3] => colores_id,[4] => tiendas_id),[attributes_names] => Array ([0] => id,[1] => codigo,[2] => tallas_id,[3] => colores_id,[4] => tiendas_id,[5] => fechaYHora_in),[attributes] => id,codigo,tallas_id,colores_id,tiendas_id,fechaYHora_in,[is_view] => ,[debug] => ,[logger] => ,[persistent] => ,[dynamic_update] => ,[dynamic_insert] => ,[select_before_update] => ,[subselect] => ,[] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => Array ([0] => fechaYHora_in),[] => Array (),[] => ,[] => 1,[] => ,[] => Array (),[] => Array (),[] => Array (),[] => Array (),[id] => ,[codigo] => 565473474537456,[tallas_id] => 1,[colores_id] => 2,[tiendas_id] => 1,[fechaYHora_in] => NULL)),[1] => insert), Array ()) called at [C:\AppServ\www\ventas\kumbia.php:201]
#7 Kumbia::main() called at [C:\AppServ\www\ventas\public\index.php:76]

De que puede ser??



Saludos

Comentarios

Sign In or Register to comment.