Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
updated all plugins (Publisher, Gallery, AutoIndex,...)
Tried today to update one of my Galleries and got the following error:
Ein interner Fehler ist aufgetreten: JSON.lua:458: JSON.lua:197: can't parse JSON at char 1 of: Update query failed with error: SQLSTATE[HY000]: General error: 1 no such column: top_level_gallery_path
sql:
'UPDATE `album` SET
`id`=\'10166\',
`publisher_root_id`=\'1\',
`parent_id`=\'\',
`type`=\'album\',
`slug`=\'black-and-white\',
`breadcrumb`=\'\',
`title`=\'B&W Prints\',
`description`=\'\',
`template`=\'gallery_CE4_Galleries\',
`page_copy`=\'\',
`page_copy_placement`=\'replace\',
`sidebar_copy`=\'\',
`sidebar_copy_placement`=\'replace\',
`enable_video`=\'no\',
`video_id`=\'\',
`cover_image`=\'custom_thumbnails/\',
`items_per_page`=\'100\',
`enable_maps`=\'no\',
`enable_password`=\'no\',
`username`=\'\',
`password`=\'enc_a0636379347e32d1ff25e9cfa632d385\',
`enable_cart`=\'yes\',
`pricing_scheme`=\'Print\',
`enable_crg`=\'no\',
`crg_feedback_profile_id`=\'\',
`crg_client_mode`=\'\',
`ordering`=\'lightroom\',
`has_user_order`=\'yes\',
`hide_from_autoindex`=\'no\',
`hide_from_search`=\'no\',
`show_breadcrumbs`=\'yes\',
`needs_first_visit`=\'no\',
`created`=\'2015-02-24 13:12:05\',
`modified`=\'2015-06-26 13:23:46\',
`top_level_gallery_path`=\'../galleries.php\',
`top_level_gallery_title`=\'Galleries\'
WHERE `id`=\'10166\''
params:
array (
)|#0 /home/.sites/351/site6695921/web/ttg-be/framework/dao/PdoExtended.php(449): PdoExtended->_throwSqlQueryException('UPDATE `album` ...', Array, 'Update query fa...')
#1 /home/.sites/351/site6695921/web/ttg-be/framework/dao/GenericDAO.php(31): PdoExtended->update('album', Array, Array)
#2 /home/.sites/351/site6695921/web/ttg-be/publisher/application/dao/AlbumDAO.php(131): GenericDAO->editItem(10166, Array)
#3 /home/.sites/351/site6695921/web/ttg-be/publisher/application/controllers/ApiController.php(763): AlbumDAO->editAlbum(10166, Array)
#4 [internal function]: ApiController->setPhotoOrder()
#5 /home/.sites/351/site6695921/web/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array)
#6 /home/.sites/351/site6695921/web/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#7 /home/.sites/351/site6695921/web/ttg-be/publisher/index.php(23): Framework->route()
#8 {main}|URL: /ttg-be/publisher/index.php
What can I do?
I get these errors on both of my pages:
www.art4u.photography
www.art4u.gallery
Last edited by wolfram (2015-06-26 20:44:35)
Offline
Hi Wolfram, there was a hotfix for this a while ago already. The solution is to re-download Publisher and upload the ttg-be/publisher/application/ directory again.
Offline
Thanks Ben!
Offline
Pages: 1