Been working this for a few days now. I've exhausted my brain what little I know. Can't figure out why I'm getting this ORM Validation Error.
Also after I upgraded to Gallery 3.0.9 everyone including myself has to login twice. For some reason it does that but you can still login just the first time it will give you an invalid username and password.
It goes into maintenance mode and I can take it out but cannot figure how to fix the ORM Validation Error.
I've attached and included the error log.
"Quote"
Task Fix your Gallery started (task id 883)
exception 'ORM_Validation_Exception' with message 'ORM Validation has failed for items model' in /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/system/libraries/ORM_Validation_Exception.php:20
Stack trace:
#0 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/models/item.php(887): ORM_Core->validate(NULL)
#2 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/system/libraries/ORM.php(778): Item_Model_Core->validate()
#3 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save()
#4 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/libraries/ORM_MPTT.php(79): ORM->save()
#5 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/models/item.php(533): ORM_MPTT_Core->save()
#6 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/models/item.php(305): Item_Model_Core->save()
#7 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/helpers/gallery_task.php(692): Item_Model_Core->relative_path()
#8 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/helpers/task.php(90): gallery_task_Core::fix(Object(Task_Model))
#9 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('gallery_task::f...', Array)
#10 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('883')
#11 [internal function]: Admin_Controller->__call('883')
#12 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Array, Array)
#13 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/system/core/Event.php(208): Kohana_Core::instance('schedule', Array)
#14 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/application/Bootstrap.php(67): Event_Core::run(Object(Admin_Controller), Array)
#15 /hsphere/local/home/xxxxxxxxxxx/xxxxxxxxxxxx.com/index.php(116): require('/hsphere/local/...')
#16 {main}
"Unquote"
If someone can help it would be greatly appreciated.
Ggrego
---------
Ggrego...
Miami, Florida
Freedom Ain't Free...
http://www.ggrego.com
Posts: 33
Can anyone answer or help me with this? I will be very grateful.
Thankx...
---------
Ggrego...
Miami, Florida
Freedom Ain't Free...
http://www.ggrego.com
Posts: 33
I finally figured out what was causing the ORM Validation. I deleted a video file in Gallery but it was still resident in my database. Once I
delete it from the database I no longer got the ORM Validation Error message.
Ggrego...
---------
Ggrego...
Miami, Florida
Freedom Ain't Free...
http://www.ggrego.com
Posts: 67
Hi Ggrego,
I have the same problem:
I removed a video, but the problem still is the same.
What is the field name that you removed in your database? Thanks........