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 get this message:
I re-downloaded twice and applied the correct modules from scratch.
Does this have somerthing to do with code Ben had me change in replacing the contents of SQLiteHandler in backlight/framework/dao/SQLiteHandler.php:
<?php defined('APP_DIR') or die('No direct script access allowed in ' . __FILE__);
class SQLiteHandler extends PdoExtended
{
public function __construct($args=array())
{
//parent::__construct(SQLITE_DSN, null, null, array(PDO::ATTR_PERSISTENT => true));
$dsn = isset($args['DSN']) ? $args['DSN'] : SQLITE_DSN;
if (!is_file(preg_replace('/^sqlite:/', '', $dsn))) {
die('Backlight is not yet configured. Please login to Backlight at /backlight/ to continue.');
}
parent::__construct($dsn, null, null, array());
$this->query('PRAGMA synchronous = off');
$this->query('PRAGMA journal_mode = persist');
}
}
?>
here is the post to which i am referring:
http://community.theturninggate.net/vie … hp?id=6994
Last edited by gwlco (2016-10-07 03:23:48)
Offline
I had the same thing. In my case the solution was logging into Backlight and letting it update the various databases as noted at the bottom of the readme file. When I initially went directly to my Backlight galleries after the update I got the same errors you received.
Offline
For anybody else reading, for this release you really do need to complete the upgrade instructions before trying to access your site. That means following the steps to log into Backlight and visit each of the main Backlight, Backlight > Publisher and Backlight > Designer pages.
Offline
Gary, please note that the performance settings you applied with my advice will not work. (or should not work, as the update removed them.). I can confirm this by seeing that your site is again slow. They can be set again via the Backlight settings.
Please take a look at this page about how to do so: http://backlight.theturninggate.net/doc … e_settings
The "too long; didn't read" version for your server:
1. Log into Backlight
2. Click on Backlight > Settings
3. Scroll down to the end of the page
4. Click on Show Advanced Settings
5. Click on Edit Settings
6. Towards the end of the page, change SQLite Journal Mode to PERSIST, and change SQLite Synchronous to OFF
7. Click Save Settings
Offline
Thanks Ben, that did it. However, I did not find in the instructions given in the zip filel with anything to do with this. You said
The "too long; didn't read" version for your server:
is hard to comprehend with it did not seem to be there. May I am misinterpreting your statement.
You are right, the speed is really 'up to speed' and for that I sincerely thank you. I was just about ready to give up when I consistently had 20 - 45 second page load times. You have solved that, greatly appreciated.
Offline
Hi Gary, it would help if I had provided the link. I'll edit the post above, but here it is: http://backlight.theturninggate.net/doc … e_settings
I'm glad to have been able to solve the performance issues, though I still don't know why nobody else is experiencing the same problem on Bluehost's shared hosting.
Offline
Pages: 1