ORM_Validation_Exception [ Database Error ]:
ORM Validation has failed for items model
SYSPATH/libraries/ORM_Validation_Exception.php[ 20 ]
15 * @param Validation $array
16 * @return
17 */
18 public static function handle_validation($table, Validation $array)
19 {
20 $exception = new ORM_Validation_Exception('ORM Validation has failed for :table model',array(':table'=>$table));
21 $exception->validation = $array;
22 throw $exception;
23 }
24} // End ORM_Validation_Exception
SYSPATH/libraries/ORM.php[ 755 ] » ORM_Validation_Exception_Core::handle_validation( arguments )
MODPATH/gallery/models/item.php[ 887 ] » ORM_Core->validate( arguments )
SYSPATH/libraries/ORM.php[ 778 ] » Item_Model_Core->validate()
MODPATH/gallery/libraries/MY_ORM.php[ 34 ] » ORM_Core->save()
MODPATH/gallery/libraries/ORM_MPTT.php[ 79 ] » ORM->save()
MODPATH/gallery/models/item.php[ 533 ] » ORM_MPTT_Core->save()
MODPATH/gallery/models/item.php[ 320 ] » Item_Model_Core->save()
MODPATH/gallery/models/item.php[ 140 ] » Item_Model_Core->relative_url()
MODPATH/gallery/libraries/Breadcrumb.php[ 52 ] » Item_Model_Core->url( arguments )
MODPATH/gallery/controllers/albums.php[ 98 ] » Breadcrumb_Core::array_from_item_parents( arguments )
{PHP internal call} » Albums_Controller::get_display_context( arguments )
MODPATH/gallery/helpers/item.php[ 419 ] » call_user_func_array( arguments )
MODPATH/gallery/controllers/photos.php[ 34 ] » item_Core::get_display_context( arguments )
{PHP internal call} » Photos_Controller->show( arguments )
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )
{PHP internal call} » Kohana_Core::instance( arguments )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
DOCROOT/index.php[ 116 ] » require( arguments )
Posts: 3
Some additional information... I checked the database and looks like the Fix-function has changed relative_path_cache and relative_url_cache to NULL on one folder, which will hide all folders. I changed them manually and folders are visible again, but if trying to run fix my gallery again, result is the same. Also, thumbnail is missing and I get this in log file when trying to rebuild it:
Yet, file .album.jpg is present in file system.
Posts: 3
Finally got it sorted out. I have a folder named "Users", which has worked before. I manually changed the slug value from Users and after that I was able to create thumbnails as before.