After I copy from the Gallery3 from other server, and the relevant data base, it works fine
but when I try upload new photo's to the server, it said error, then I try to use the maintenance mode to solve the problem, an orm error ocurs, here is the message:
exception 'ORM_Validation_Exception' with message 'ORM Validation has failed for items model' in /home/hkbwater/public_html/gallery3/system/libraries/ORM_Validation_Exception.php:20
Stack trace:
#0 /home/hkbwater/public_html/gallery3/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /home/hkbwater/public_html/gallery3/modules/videos/models/item.php(740): ORM_Core->validate(NULL)
#2 /home/hkbwater/public_html/gallery3/system/libraries/ORM.php(778): Item_Model_Core->validate()
#3 /home/hkbwater/public_html/gallery3/modules/gallery/libraries/MY_ORM.php(23): ORM_Core->save()
#4 /home/hkbwater/public_html/gallery3/modules/gallery/libraries/ORM_MPTT.php(79): ORM->save()
#5 /home/hkbwater/public_html/gallery3/modules/videos/models/item.php(492): ORM_MPTT_Core->save()
#6 /home/hkbwater/public_html/gallery3/modules/videos/models/item.php(276): Item_Model_Core->save()
#7 /home/hkbwater/public_html/gallery3/modules/videos/models/item.php(165): Item_Model_Core->relative_path()
#8 /home/hkbwater/public_html/gallery3/modules/gallery/helpers/access.php(671): Item_Model_Core->file_path()
#9 /home/hkbwater/public_html/gallery3/modules/gallery/helpers/gallery_task.php(548): access_Core::update_htaccess_files(Object(Item_Model), Object(Group_Model), 'view', '0')
#10 [internal function]: gallery_task_Core::fix(Object(Task_Model))
#11 /home/hkbwater/public_html/gallery3/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::f...', Array)
#12 /home/hkbwater/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('123')
#13 [internal function]: Admin_Maintenance_Controller->run('123')
#14 /home/hkbwater/public_html/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#15 [internal function]: Admin_Controller->__call('schedule', Array)
#16 /home/hkbwater/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#17 [internal function]: Kohana_Core::instance(NULL)
#18 /home/hkbwater/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#19 /home/hkbwater/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#20 /home/hkbwater/public_html/gallery3/index.php(102): require('/home/hkbwater/...')
#21 {main}
this is already the second time, the first time, I delete the database, and reload, it work, when upload failure, I use maintenance mode, the orm error comes back again.
Thank you in advance for help.
Posts: 7
my web site address in www.hkblowwater.net/gallery3
Posts: 25965
Disable the videos module and others. Try again. If it works then add the modules back again one at a time.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Dave,
I have disable video as suggested, it doesn't work, I disable further modules, now only exif data; fit to screen; hide; iptc data; language flag; max size; multi langage support; nobots; noffmpeg; noleftclick; pages; phpmailer; user registration; rescue; rss; schuduler; slide show; square thumbnail; tag; thumb navigator; update albums; user albums; chroot users; user homes and user info modules left behind.
Thank you again for your help
Posts: 25965
Did you disable those as well?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Dave,
I disable all, same
Posts: 25965
I bet there is a different error?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Dave
now, no more orm error, but still cannot upload photo's
Posts: 25965
Anything in the logs?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team