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.
Fixed it, but the .htaccess had been altered by Wordpress installation. Here is what was there:
# rewrite www.example.com → example.com
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
</IfModule>
# END WordPressProbably should make a note of this for others.
Suddenly I am getting symbols I don't want: 
A really good reason, sorry I brought this up.
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.
In the Backlight documentation:
Installing the Wordpress Add-on To install the Wordpress add-on:
Copy the downloaded /backlight/modules/module-wordpress folder into /backlight/modules on your server.
After installing the add-on, it should be ready for use; see Wordpress Add-on Basics. but I cannot find that...
OOPS - now it is working...thanks
THE PROBLEM IS.... I can't even get into backlight. the message above is the only thing I get.
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
You may have seen some many posts about the troubles I was having, especially with PAGE SPEED, FACEBOOK POSTS.
Well they are all gone. I just want to jump up and yell. THANK YOU GUYS. It is a great piece of work you have done.

After working many hours trying to find out why page load times were around 30-40 seconds, Ben finally solved the problem and you can see the results above...are now around 1.2 - 2 seconds.
Great work on all the developers...!!!
I found out that I have shared NOT VPS on Bluehost.
IT APPEARS THAT THE PROBLEM HAS SOLVED ITSELF.
However, now after replacing the code here is what is happening after replacement:

and this when pressing Galleries: 
this is what I replaced:
<?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');
}
}
?>BTW I think this did drastically improve the response time. THANK YOU VERY MUCH
On GTMETRIX.com i am now getting 1.1 - 1.3 seconds!!!!!!!!!!!!!
http://garylittle.com
I found out that I have shared NOT VPS on Bluehost.
Thanks for the work. I have been out of the country for a few days, hence no reply. I will be back on home turf Wednesday evening.
Regards, Gary
I get this error when trying to republish:
SQLSTATE[HY000]: General error: 5 database is locked|#0 /home2/garyphot/public_html/backlight/framework/dao/PdoExtended.php(524): PDO->prepare('select * from s...') #1 /home2/garyphot/public_html/backlight/framework/dao/PdoExtended.php(156): PdoExtended->_prepareAndExecuteSqlQuery('select * from s...', Array) #2 /home2/garyphot/public_html/backlight/framework/dao/GenericSettingsDAO.php(25): PdoExtended->selectRows('select * from s...', Array) #3 /home2/garyphot/public_html/backlight/publisher/application/helpers/ApplicationConfigManager.php(15): GenericSettingsDAO->getData(Object(ApplicationConfigManager)) #4 /home2/garyphot/public_html/backlight/publisher/application/helpers/ApplicationHelper.php(30): ApplicationConfigManager->merge(Object(SettingsDAO), Array) #5 /home2/garyphot/public_html/backlight/framework/helpers/GenericApplicationHelper.php(28): ApplicationHelper->createConfigManager() #6 /home2/garyphot/public_html/backlight/publisher/application/init.php(7): GenericApplicationHelper->getConfigManager() #7 /home2/garyphot/public_html/backlight/framework/init.php(141): require_once('/home2/garyphot...') #8 /home2/garyphot/public_html/galleries/flora-and-fauna/butterflies/lib.php(56): require_once('/home2/garyphot...') #9 /home2/garyphot/public_html/galleries/flora-and-fauna/butterflies/index.php(8): require_once('/home2/garyphot...') #10 {main}|URL: /galleries/flora-and-fauna/butterflies/index.phpafter about 1 min and 30 seconds.
I wonder if this is related to the error in trying to get a FB image.
When choosing a Facebook link/post from single image, about 85-90% of the images DO NOT INCLUDE THE IMAGE on the post. This is a recurring problem that I have posted a number of times.
There seems to be no support for this. Guess I will just let it go, which seems a shame since it was clearly intended to work.
http://garylittle.com
That did it. Thank you. Is it also possible to copy templates form the primary installation so I don't have to redo all the settings:
I have created a sub folder under public_html defined as "a".
Is this possible and what do I have to do to make it operate independently of the primary BL?
I see that i can option I want that in Backlight Standard Page, but does not give me opportunity to change where I want the hyperlink to go,
Here is one I have never seen before:

I really really like the Ken Burns slider effect
Is it p[possible?
an example:
this is in the public_html folder:
.htaccess
# Use PHP5.4 Single php.ini as default
AddHandler application/x-httpd-php54s .php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^garylittle\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.garylittle\.com$
RewriteRule ^/?$ "http\:\/\/garylittle\.com\/home" [R=301,L]
<IfModule mod_rewrite.c>
############################################################################
# Edit this section for servers using FastCGI
# For FastCGI (or seeing the error message 'No input file specified.':
# add # to the start of the next line
RewriteBase /
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
# For FastCGI (or seeing the error message 'No input file specified.':
# add # to the start of the next line and remove # from the line after)
RewriteRule ^.*$ - [E=BASE:%2]
#RewriteRule ^(.*)$ - [E=BASE:]
############################################################################
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]
RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]
#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
</IfModule>and this one also .htaccess.orig.1
RewriteEngine on
RewriteCond %{HTTP_HOST} ^garylittle\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.garylittle\.com$
RewriteRule ^/?$ "http\:\/\/garylittle\.com\/home" [R=301,L]
<IfModule mod_rewrite.c>
############################################################################
# Edit this section for servers using FastCGI
# For FastCGI (or seeing the error message 'No input file specified.':
# add # to the start of the next line
RewriteBase /
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
# For FastCGI (or seeing the error message 'No input file specified.':
# add # to the start of the next line and remove # from the line after)
RewriteRule ^.*$ - [E=BASE:%2]
#RewriteRule ^(.*)$ - [E=BASE:]
############################################################################
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]
RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]
#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
</IfModule>and this one in the backlite folder:
# Use PHP54CGI as default
AddHandler fcgid54-script .phpI did find some ttg be in a folder and deleted them. Other than that, i don't what else to do.
It appears that when there is 1 or 2 process going the site responds well. but when there are 4-16 processes or more going the site slows almost to a stand still. He advised me to pass on that the database seriously needs optimizing. Not something I can do, i don't think. I used GTmetrics.com and got allot of information. If you are interested I will provide it in an email, since the length would be too much for this. area.
Do you mean the public_html or the backlite folder?
90% of the time when i try to create a facebook post, there is no image on the page, same as above. it is happening all over the site. Am I doing something wrong??
I got this error just now: 