Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-10-07 03:06:25

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

attempted updating 1.05 - no go

I get this message: search page

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

#2 2016-10-07 03:42:27

lmiller41
Member
Registered: 2016-05-07
Posts: 42

Re: attempted updating 1.05 - no go

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

#3 2016-10-07 03:48:10

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: attempted updating 1.05 - no go

THE PROBLEM IS.... I can't even get into backlight. the message above is the only thing I get.

Offline

#4 2016-10-07 03:55:22

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: attempted updating 1.05 - no go

OOPS - now it is working...thanks

Offline

#5 2016-10-07 08:19:01

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: attempted updating 1.05 - no go

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

#6 2016-10-07 08:25:01

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: attempted updating 1.05 - no go

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

#7 2016-10-07 09:48:54

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: attempted updating 1.05 - no go

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

#8 2016-10-07 10:04:49

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: attempted updating 1.05 - no go

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

Board footer

Powered by FluxBB