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.

#51 Re: Backlight Support » Whsy am I getting these symbols instead of the corect ones » 2016-10-09 03:00:13

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 WordPress

Probably should make a note of this for others.

#53 Re: Backlight Support » Installing the Wordpress Add-on » 2016-10-07 09:49:54

A really good reason, sorry I brought this up.

#54 Re: Backlight Support » attempted updating 1.05 - no go » 2016-10-07 09:48:54

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.

#55 Backlight Support » Installing the Wordpress Add-on » 2016-10-07 04:35:48

gwlco
Replies: 4

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...

#57 Re: Backlight Support » attempted updating 1.05 - no go » 2016-10-07 03:48:10

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

#58 Backlight Support » attempted updating 1.05 - no go » 2016-10-07 03:06:25

gwlco
Replies: 7

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

#59 Backlight Support » WOW, it all works expressly like it was intended » 2016-10-03 06:24:35

gwlco
Replies: 0

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.

http://garylittle.com

#60 Backlight Support » page load problem solved » 2016-09-28 19:24:07

gwlco
Replies: 1

search page
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...!!!

#61 Re: Backlight Support » worked 3 hours with bluehost technician and... » 2016-09-27 12:37:41

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:
search page

and this when pressing Galleries: search page

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

#62 Re: Backlight Support » worked 3 hours with bluehost technician and... » 2016-09-27 12:11:48

I found out that I have shared NOT VPS on Bluehost.

#63 Re: Backlight Support » worked 3 hours with bluehost technician and... » 2016-09-27 00:27:27

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

#64 Backlight Support » An SQL DATA BASE error when trying to republish » 2016-09-21 00:53:03

gwlco
Replies: 3

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.php

after about 1 min and 30 seconds.

I wonder if this is related to the error in trying to get a FB image.

http://garylittle.com

#65 Backlight Support » no image on the facebook post » 2016-09-21 00:46:32

gwlco
Replies: 1

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

#66 Re: Backlight Support » alternate installation possible in a folder under public_html? » 2016-09-20 06:33:57

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:

#67 Backlight Support » alternate installation possible in a folder under public_html? » 2016-09-20 04:47:28

gwlco
Replies: 3

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?

#68 Backlight Support » hyperlink the masthead » 2016-09-17 01:04:03

gwlco
Replies: 1

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,

http://garylittle.com

#69 Re: Backlight Support » new error what it is? » 2016-09-16 03:13:20

Here is one I have never seen before:
search page

#70 Backlight Support » I vote for the 'Ken Burns' » 2016-09-16 03:08:23

gwlco
Replies: 7

I really really like the Ken Burns slider effect
Is it p[possible?

an example:

http://slippry.com/examples/pictures/

#71 Re: Backlight Support » new error what it is? » 2016-09-16 01:30:57

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 .php

#72 Re: Backlight Support » new error what it is? » 2016-09-16 01:13:40

I did find some ttg be in a folder and deleted them. Other than that, i don't what else to do.

#73 Backlight Support » worked 3 hours with bluehost technician and... » 2016-09-16 01:11:17

gwlco
Replies: 9

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.

#74 Re: Backlight Support » new error what it is? » 2016-09-16 01:05:31

Do you mean the public_html or the backlite folder?

#75 Re: Backlight Support » FB links contain no image » 2016-09-16 00:55:33

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: search page

Board footer

Powered by FluxBB