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.
I updated my hosting to PHP 7.3.3 following warnings that earlier versions were open to compromise. My site now crashes with te following error message:
Something went wrong
Unexpected error: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php-7.3.3-flock/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /usr/local/php-7.3.3-flock/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/php-7.3.3-flock/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Can BL2 not work with the latest version of PHP?
As an update, this resolved itself overnight. I suspect the hoster was doing some server work. Sorry for bothering y'all
I'm getting the same error message. Site was working fine until I did a lot of album set deletion/creation. Now I get:
session_start(): Unable to clear session lock record|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/var/sites/a/ar...', 156, Array) #1 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/helpers/AuthHelper.php(156): session_start() #2 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/Framework.php(390): AuthHelper::handleSession() #3 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/Framework.php(148): Framework->handleSession() #4 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/Framework.php(41): Framework->init() #5 /var/sites/a/artofthewild.co.uk/public_html/index.php(37): Framework->__construct('.', Array) #6 {main}|URL: /index.php
Just to update the thread - I used another album as a theatre stand-in and the homepage worked. So I went back to basics and created a new pangolin theatre album template, a new page template and updated the lightroom homepage export - and now theater is working on my homepage. Thanks for the pointers!
I had, but the versions were old. So I hit update all modules (success) and then tried to access the homepage and got this error:
Something went wrong
Unable to find the module module-theater.
Have you removed this from backlight/designer/modules? If so, either copy the module back, or change the template used by this album. in EngineFactory.php on line 404
I then tried reinstalling the backlight 2 modules from the "modules" page - success - and went back to the site homepage and got the same error.
The modules page now lists:
module-admin 2.0.8
module-designer 2.0.8
module-framework 2.0.8
module-pages 2.0.2
module-publisher 4.0.8
okapi-core 2.0.0
pangolin-album 2.0.6
pangolin-album-set 2.0.2
pangolin-core 2.0.2
pangolin-page 2.0.5
Backlight 2 Add-on: Cart
Changelog module-cart 5.0.5
Backlight 2 Add-on: Galleria
Changelog pangolin-galleria 2.0.2
Changelog pangolin-theater 2.0.1
Backlight 2 Add-on: WP Theme
Changelog pangolin-wordpress 2.0.3
Okapi Web Modules
standard-album 2.0.3
standard-album-set 2.0.0
standard-page 2.0.3
Hi Ben,
All standard backlight2 modules are installed. Should I try "update all modules"?
Having failed to upgrade before and then restored my site from backup, I've just had another go at updating my site www.artofthewild.co.uk from BL1 to BL2 following the instructions given. This time I kept a changelog so you can see the steps I took and what happened.
I'm clearly missing a step or doing something wrong, but what?
Changelog – using installer rev 107.
• Copied files to public-html
• Tried to access backlight - error
• Copied files again
• Tried to access backlight
• Success-backlight 2 dashboard
• Installed pangolin theatre – success
• Installed wp-admin -success
• Installed galleria – success
• Installed cart – success
• Clicked on update album files - success
• Went to site homepage- error:
Something went wrong
Unable to find module with id standard-page. Make sure this module is installed under backlight/modules/. in EngineFactory.php on line 95
• Went to designer-list-templates: no templates found
??? Why hasn’t my existing site migrated? Why do I have to start designing pages all over again?
• Created new page template “pangolin-page”
• Left all values at default: saved – success
• Went to backlight2> designer >Pages.
• Home page is set to “backlight standard page”.
• Clicked “edit”
Error Message;
Call to a member function getPath() on boolean|#0 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-designer/application/helpers/EngineFactory.php(159): EngineFactory->getEngineForTemplate('6') #1 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-designer/application/models/TemplateEntity.php(648): EngineFactory->getModelDataForTemplate('6') #2 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-designer/application/controllers/DesignerAdminController.php(226): TemplateEntity->design('6', Array, 'list') #3 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-designer/application/controllers/DesignerAdminController.php(457): DesignerAdminController->design_template('6', 'list', 'content') #4 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/controllers/Controller.php(56): DesignerAdminController->design_page('6') #5 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/models/Dispatchable.php(135): Controller->dispatch(Array) #6 /var/sites/a/artofthewild.co.uk/public_html/backlight/modules/module-framework/Framework.php(73): Dispatchable->dispatch() #7 /var/sites/a/artofthewild.co.uk/public_html/backlight/index.php(32): Framework->route() #8 {main}|URL: /backlight/index.php
… same error message for all pages.
• Checked homepage -
Something went wrong
Unable to find module with id standard-page. Make sure this module is installed under backlight/modules/. in EngineFactory.php on line 95
• Clicked on “update Backlight index files – success.
• Checked homepage -
Something went wrong
Unable to find module with id standard-page. Make sure this module is installed under backlight/modules/. in EngineFactory.php on line 95
• Tried to access www.artofthewild/galleries
Error message:
Something went wrong
Unable to find the module standard-album-set.
Have you removed this from backlight/designer/modules? If so, either copy the module back, or change the template used by this album. in EngineFactory.php on line 404
• Went back to backlight2 > designer > templates
• Clicked on “design” for the pangolin-page I’d created earlier
• Tried to change name to “backlight standard page”
• Error message:
Please fix the following problems:
A template already exists with this name
Stuck - exiting
I have the same issue. I just get the error message:
Something went wrong
Unable to find the module module-theater.
Have you removed this from backlight/designer/modules? If so, either copy the module back, or change the template used by this album. in EngineFactory.php on line 404
Please advise. There has to be a better way than de-installing the whole installation and starting again. It is really urgent that I have a working website.
Rod - would it work simply deleting te album set from inside Backlight? Or could I delete the individual photos via FTP and then delete the albums and album sets from inside backlight before republishing from Lightroom? I'm happy to spend time republishing but I don't want to make things worse!
Hi Rod,
Thanks for replying. Yes, I can see what looks like the album set and albums beneath it in FTP, and numbers of photos in each. If I go to Backlight it is listing 7 album sets which is the right number. I'm not sure how to look at the specific album sets via backlight. The website is www.artofthewild.co.uk
Hi
I'm about to transfer my site from Backlight to backlight 2, so I did a quick look around to check all was well and discovered that an album set ("Landscapes and Seascapes") which has been working fine for months has suddenly thrown this error when viewed :
Something went wrong
SQLSTATE[HY000]: General error: 1 no such column: sequence in PdoExtended.php on line 524
When I try and republish the albums from inside lightroom, the upload seems to go fine right until te last second when Lightroom posts this error:
{"status":"error","message":"The album could not be found."}
The rest of the site is working perfectly
Help!?
I found your description of what you did last time to fix the error:
What I just tried was to copy the file out via FTP, delete it on the server, and then copy it back in again. I did this both for backlight/data/publisher/master.sq3 and backlight/data/designer/master.sq3
Can this be done again?
TSOHOST
Ben, you managed to resolve this issue last time by doing something to the database - I can' t recall what. But it's just happened again. The whole website has gone down with this message:
Something went wrong
Update query failed with error: SQLSTATE[HY000]: General error: 5 database is locked sql: 'UPDATE `engine` SET `identifier`=\'pangolin-core\', `product_suite`=\'pangolin\', `name`=\'Pangolin Core\', `type`=\'core\', `version`=\'1.2.3\', `path`=\'pangolin-core\', `modified`=\'2018-07-29 05:31:43\' WHERE `id`=\'91\'' params: array ( ) in PdoExtended.php on line 55
Lightroom is giving me a long error message about action GetSetupforTemplate - I have it stored as a screenshot because helpfully it won't let cut and paste it. Can I email it?
I can log into backlight admin, but when I click on Backlight settings, I get:
Update query failed with error: SQLSTATE[HY000]: General error: 5 database is locked sql: 'UPDATE `engine` SET `identifier`=\'pangolin-core\', `product_suite`=\'pangolin\', `name`=\'Pangolin Core\', `type`=\'core\', `version`=\'1.2.3\', `path`=\'pangolin-core\', `modified`=\'2018-03-31 01:25:43\' WHERE `id`=\'91\'' params: array ( ) in PdoExtended.php on line 552
The website is www.artofthewild.co.uk. I can't get in to the front page. That just gives:
This page isn’t working
www.artofthewild.co.uk didn’t send any data.
ERR_EMPTY_RESPONSE
For once, I don't think it's something stupid I've done (although history is against me)
I have a backlight installation that was working perfectly well with no issues. A friend told me that they couldn't access it, when I checked I found the same issue. many of the image parts of the site are inaccessible.
I went into lightroom and tried to republish and I get the error message:
unable to perform this action: getsetupfortemplate
message: update query failed with error: [SQLSTATE:HY000] general error: 5 database is locked
I'm not aware of done anything different in terms of updating the site. Any suggestions?how to unlock the database?
I think this was finger trouble. When I returned to Backlight using a stored link I could access it. and the moment I updated the modules inside it, all the problems went away. My thanks to all for their support here.... Now to back it up fully and start updated theatre etc...
Hi Ben,
redownloaded the backlight zip file and extracted from it, deleted backlight framework, uploaded new version - no difference. Exact same error messages.
Done it again - killed my website.
Trying to upgrade from a long-ago version of backlight to backlight+pages 1.2.3, I now get this when I try to get to www.artofthewild.co.uk/backlight:
Warning: require_once(./backlight/framework/Framework.php) [function.require-once]: failed to open stream: No such file or directory in /var/sites/a/artofthewild.co.uk/public_html/backlight/index.php on line 17
Fatal error: require_once() [function.require]: Failed opening required './backlight/framework/Framework.php' (include_path='.:/usr/local/lib/php') in /var/sites/a/artofthewild.co.uk/public_html/backlight/index.php on line 17
Trying to access the website root gives:
Something went wrong
Update query failed with error: SQLSTATE[HY000]: General error: 1 no such column: type sql: 'UPDATE `engine_view` SET `name`=\'content\', `type`=\'dynamic\', `path`=\'\', `rename`=\'\', `passthrough`=\'no\', `modified`=\'2017-11-18 10:10:40\' WHERE `engine_id`=\'83\' AND `view_id`=\'view.content\'' params: array ( ) in PdoExtended.php on line 552
the backlight directory exists, as does the index.php, and the framework/framework.php file. I'm hosted on tsohost, the
Directories are set to 755, files to 644 and there is a live .htaccess file
All advice very gratefully received!
Update: the TTG Publisher seems to have a problem, too. I tried to edit the album settings and get:
Unabl to perform action: getThumbnails
Message: SQLSTATE[HY000]: General error: 1 no such column: pr.show_beradcrumb_for_children in PdoExtended.php on line 524.
I'm running lightroom 5.
Help?
Hi,
How do I tell what version number of Backlight I'm using - and is it possible to skips versions when upgrading? I've left my installation alone for several months but now need to catch up and update it. Do I have to install every sequential update or can I just skip to the latest in each module?
An update, which ties up with the other poster on the thread.
When I go to www.artofthewild.co.uk, it comes up with a working front page.
But if I click on the menu item "home", which is auto-generated from within backlight, it directs to "www.artofthewild.co.uk/home/" - and the screen is blank again. If I manually remove the trailing frontslash at the end of the URL, the theater slideshow returns.
I can't fix this, because I don't add the trailing frontslash, it's put there by Backlight. But it doesn't seem to be an issue on any other page.
So I'm in a better place but still baffled.
Don't think I saw a backlight upgrade notice for release 3 either - but it just fixed the problem straight away. Thanks, Rod.
As original poster - no. Mine is backlight 104. No release in the name. I'll re-download and update. Fingers crossed...
It is, I'm afraid:
presentation type: vegas slideshow
Presentatino style: inline
aspect 16:9
display controls on
autoplay on
controls alignment right
image scaling fit
overlays none
shuffle images on
timer display on
slide delay 3500ms
transition effect fade
display captions on
The images in the collection are the ones that used to be on my CE4 pages-gallery homepage slideshow.
Album, album title and slug in lightroom are all "Homepage" (no quotes)
page copy is blank for now
Just republished the whole thing again, and blank. I'm baffled...
Hi Rod,
Yes I did. Album is inserted and republished from within lightroom. I've also copied the htaccesss and index across from the latest pages release. No change - the page is still blank.