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
I am getting the following error every time I publish a gallery....
An internal error has occurred: 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`=\'31154\',
`publisher_root_id`=\'1\',
`parent_id`=\'90485\',
`type`=\'album\',
`slug`=\'z_finals\',
`breadcrumb`=\'\',
`title`=\'File Download\',
`description`=\'Final High-Res Files for Download\',
`template`=\'dhp_finals\',
`page_copy`=\'\',
`page_copy_placement`=\'below\',
`sidebar_copy`=\'\',
`sidebar_copy_placement`=\'replace\',
`enable_video`=\'no\',
`video_id`=\'\',
`cover_image`=\'\',
`items_per_page`=\'100\',
`enable_maps`=\'no\',
`enable_password`=\'no\',
`username`=\'\',
`password`=\'enc_a0636379347e32d1ff25e9cfa632d385\',
`enable_cart`=\'no\',
`pricing_scheme`=\'\',
`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`=\'no\',
`needs_first_visit`=\'yes\',
`created`=\'2015-03-03 01:28:27\',
`modified`=\'2015-06-18 14:11:29\',
`top_level_gallery_path`=\'\',
`top_level_gallery_title`=\'\'
WHERE `id`=\'31154\''
params:
array (
)|#0 /home3/hurseyco/public_html/clients/ttg-be/framework/dao/PdoExtended.php(449): PdoExtended->_throwSqlQueryException('UPDATE `album` ...', Array, 'Update query fa...')
#1 /home3/hurseyco/public_html/clients/ttg-be/framework/dao/GenericDAO.php(31): PdoExtended->update('album', Array, Array)
#2 /home3/hurseyco/public_html/clients/ttg-be/publisher/application/dao/AlbumDAO.php(131): GenericDAO->editItem(31154, Array)
#3 /home3/hurseyco/public_html/clients/ttg-be/publisher/application/controllers/ApiController.php(763): AlbumDAO->editAlbum(31154, Array)
#4 [internal function]: ApiController->setPhotoOrder()
#5 /home3/hurseyco/public_html/clients/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array)
#6 /home3/hurseyco/public_html/clients/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#7 /home3/hurseyco/public_html/clients/ttg-be/publisher/index.php(23): Framework->route()
#8 {main}|URL: /clients/ttg-be/publisher/index.php
Sitting Pretty in Sunny L.A.
Offline
make sure you're using the latest version of Publisher. Ben released a hot fix to this a few days ago.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
there has since been an update to fix it (230a). Try downloading it again
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I am getting the same problem, using CE4-Publisher-233
Offline
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Plug-in error log for plug-in at: C:\Users\ian\Downloads\The Turning Gate\CE4-Publisher-233\CE4-Publisher.lrplugin
**** Error 1
An error occurred while attempting to sort photos on this service.
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`=\'53279\',
`publisher_root_id`=\'1\',
`parent_id`=\'\',
`type`=\'album\',
`slug`=\'ivy-selected-feb-2016\',
`breadcrumb`=\'\',
`title`=\'Ivy Selected Feb 2016\',
`description`=\'Ivy Selected Feb 2016\',
`template`=\'CRG-ianlea-01\',
`page_copy`=\'\',
`page_copy_placement`=\'replace\',
`sidebar_copy`=\'\',
`sidebar_copy_placement`=\'replace\',
`enable_video`=\'no\',
`video_id`=\'\',
`cover_image`=\'\',
`items_per_page`=\'100\',
`enable_maps`=\'no\',
`enable_password`=\'no\',
`username`=\'\',
`password`=\'enc_a0636379347e32d1ff25e9cfa632d385\',
`enable_cart`=\'no\',
`pricing_scheme`=\'\',
`enable_crg`=\'yes\',
`crg_feedback_profile_id`=\'1\',
`crg_client_mode`=\'standalone\',
`ordering`=\'lightroom\',
`has_user_order`=\'yes\',
`hide_from_autoindex`=\'no\',
`hide_from_search`=\'no\',
`show_breadcrumbs`=\'yes\',
`needs_first_visit`=\'no\',
`created`=\'2016-02-11 12:23:55\',
`modified`=\'2016-02-11 17:02:43\',
`top_level_gallery_path`=\'\',
`top_level_gallery_title`=\'Galleries\'
WHERE `id`=\'53279\''
params:
array (
)|#0 /home/users/uks58215/html/ianlea.net/ttg-be/framework/dao/PdoExtended.php(449): PdoExtended->_throwSqlQueryException('UPDATE `album` ...', Array, 'Update query fa...')
#1 /home/users/uks58215/html/ianlea.net/ttg-be/framework/dao/GenericDAO.php(31): PdoExtended->update('album', Array, Array)
#2 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/application/dao/AlbumDAO.php(131): GenericDAO->editItem(53279, Array)
#3 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/application/controllers/ApiController.php(763): AlbumDAO->editAlbum(53279, Array)
#4 [internal function]: ApiController->setPhotoOrder()
#5 /home/users/uks58215/html/ianlea.net/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array)
#6 /home/users/uks58215/html/ianlea.net/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#7 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/index.php(26): Framework->route()
#8 {main}|URL: /ttg-be/publisher/index.php
Offline
Be sure to update the online component of Publisher too. You're currently at version 2.3.0 in TTG-BE
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Okay updated but still got a problem, how do you know which version i am on??
Offline
Latest error
Plug-in error log for plug-in at: C:\Users\ian\AppData\Roaming\Adobe\Lightroom\Web Galleries\CE4-Publisher.lrplugin
**** Error 1
An error occurred while attempting to sort photos on this service.
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`=\'78809\',
`publisher_root_id`=\'1\',
`parent_id`=\'\',
`type`=\'album\',
`slug`=\'ivy-selected\',
`breadcrumb`=\'\',
`title`=\'IVY SELECTED\',
`description`=\'IVY SELECTED\',
`template`=\'CRG-ianlea-01\',
`page_copy`=\'\',
`page_copy_placement`=\'replace\',
`sidebar_copy`=\'\',
`sidebar_copy_placement`=\'replace\',
`enable_video`=\'no\',
`video_id`=\'\',
`cover_image`=\'\',
`items_per_page`=\'100\',
`enable_maps`=\'no\',
`enable_password`=\'no\',
`username`=\'\',
`password`=\'enc_a0636379347e32d1ff25e9cfa632d385\',
`enable_cart`=\'no\',
`pricing_scheme`=\'\',
`enable_crg`=\'yes\',
`crg_feedback_profile_id`=\'1\',
`crg_client_mode`=\'standalone\',
`ordering`=\'lightroom\',
`has_user_order`=\'yes\',
`hide_from_autoindex`=\'no\',
`hide_from_search`=\'no\',
`show_breadcrumbs`=\'yes\',
`needs_first_visit`=\'no\',
`created`=\'2016-02-11 14:18:30\',
`modified`=\'2016-02-11 17:25:20\',
`top_level_gallery_path`=\'\',
`top_level_gallery_title`=\'Galleries\'
WHERE `id`=\'78809\''
params:
array (
)|#0 /home/users/uks58215/html/ianlea.net/ttg-be/framework/dao/PdoExtended.php(449): PdoExtended->_throwSqlQueryException('UPDATE `album` ...', Array, 'Update query fa...')
#1 /home/users/uks58215/html/ianlea.net/ttg-be/framework/dao/GenericDAO.php(31): PdoExtended->update('album', Array, Array)
#2 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/application/dao/AlbumDAO.php(131): GenericDAO->editItem(78809, Array)
#3 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/application/controllers/ApiController.php(763): AlbumDAO->editAlbum(78809, Array)
#4 [internal function]: ApiController->setPhotoOrder()
#5 /home/users/uks58215/html/ianlea.net/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array)
#6 /home/users/uks58215/html/ianlea.net/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#7 /home/users/uks58215/html/ianlea.net/ttg-be/publisher/index.php(26): Framework->route()
#8 {main}|URL: /ttg-be/publisher/index.php
Offline
Okay updated but still got a problem, how do you know which version i am on??
Just by going to your TTG-BE. Which still shows that the online component version is 2.3.0
Update as per the instructions in the readme.txt file included in the download.
They're also in the changelog: http://ce4.theturninggate.net/docs/doku … _changelog
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Also make sure you're using CE4 Gallery 6.1.8 or newer. Update all your Publisher templates.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
IT WAS PUBLISHER THAT WAS THE PROBLEM, THOUGHT I HAD UPDATED IT, PUBLISHER IN TTG-BE THAT IS.
HOW COME IT WAS WORKING FINE LAST WEEK NOTHING CHANGED THEN BAM DOES A LIGHTROOM/TTG NASTY ON ME.
LOVE TTG WHEN IT WORKS BUT EVERYTIME I COME TO IT IT DOESNT
Offline
No need to shout
I don't know why it wasn't working. Perhaps because the Lightroom plug-in was updated and the online component was not.
Maybe this was the first time you tried to change or add an album since updating the plug-in.
In my experience, things like these usually come down to forgetting to complete an update process (logging on to ttg-be to complete an update), using outdated components, and server incompatibilities.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
mmmmm changed the server after the error and before I asked for help. The error occurred after I changed the order of the pictures in publisher.
nothing else changed, no updates, nothing.
oh sorry caps are not shouting I was doing something else and got half way through then noticed I had caps on ,, sorry
Thanks again Rod
BTW you live in a nice place, not been up there, only been to LA and New York and didnt stay for long
Offline
it is a nice place.
Something must be going on. You say you updated the Publisher online component to 2.3.3? It's still showing 2.3.0.
If you did update, did you also log in as Admin to ttg-be?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Admin is TTG BE Admin version: 2.0.5
Now got a white page
Oh back again http://ianlea.net/ttg-be/admin/?a=list_settings
Last edited by idlea (2016-02-12 05:02:50)
Offline
now showing Publisher 2.3.3
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Great, this plugin is not for the casual user, I only use it 2-3 times a year so every time I use it I have to go through the process of updating.
thanks for looking
Offline
Great, this plugin is not for the casual user, I only use it 2-3 times a year so every time I use it I have to go through the process of updating.
only if you decide to update to the latest version (which is usually a pretty good idea anyway)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1