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
Hey Guys,
Just as the subject says my homepage takes a good 15-20 secs to load. All other pages are speedy.
Any advice?
Evagoras
Offline
I see what you mean.
Have you tried changing things to see if something triggers the problem? Try removing the Vegas slideshow album from the home page and see if it loads any faster.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hey Rod, thanks for the reply.
Just tried various combinations and still the same problem.
Anything else I could do?
Offline
Have you tried clearing template cache lately?
I can see a couple of errors in the console using the browser inspector. I don't know what they mean though:
Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://53572eb3-c6bd-467e-b216-9333eb1172f3/node_modules/webextension-polyfill/dist/browser-polyfill.js
Source Map URL: browser-polyfill.js.map[Learn More]
Source map error: SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
Resource URL: http://www.evagoras.co.uk/backlight/publisher/resource.php?template=61&extension=js&name=scripts
Source Map URL: vegas.min.js.map[Learn More]
I notice you're still using Backlight 1.1 (Okapi). You could try creating Pangolin pages and see if there's a difference.
Have you tried creating a duplicate of the home page (so that it's not the index page) and seeing if the same thing happens?
You could also try asking your hosting company about it. Maybe they can see something happening that's slowing things down
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Excuse my ignorance but how do I upgrade to Pangolin? I'll try that first.
Offline
If you haven't downloaded it yet, you can do so from the Support page
http://theturninggate.net/support/
After installation you'll need to create new Pangolin page, album, and album set templates.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Will look into it now. hopefully I can copy page, album, and album set templates?
Offline
No, you’ll need to create new.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Just figured it out, I have to 'Create New template' and and select Pangolin from the 'Type' drop down menu.
I feel like a idiot right now
Maybe due to creating all my pages before pangolin was released I didn't get round to creating new templates. It's gonna be a long process to create new templates but I'll get there in the end.
Offline
This blog post details new features and discusses upgrading to Pangolin
http://theturninggate.net/2017/06/30/ba … available/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Just figured it out, I have to 'Create New template' and and select Pangolin from the 'Type' drop down menu.
I feel like a idiot right now
Maybe due to creating all my pages before pangolin was released I didn't get round to creating new templates. It's gonna be a long process to create new templates but I'll get there in the end.
It’s easier the second time around
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Reading now, thanks for the help
Offline
Hey Rod, Thanks for your help.
All sorted with the home Homepage and a speedy load time. https://www.evagoras.co.uk/ Check it out - Pangolin did the trick
On an other note: I've changed the site to https:// and my stand alone pages are 'not found' is it coz of this change or something else?
Example
https://www.evagoras.co.uk/?page=corporate-headshots
Event the non secure version doesn't work
http://www.evagoras.co.uk/?page=corporate-headshots
Another Example
https://www.evagoras.co.uk/?page=pricing
Any Advice would be great
Offline
You may need to change something in your .htaccess file. See this sticky post for more: http://community.theturninggate.net/vie … hp?id=7876
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hey Rod, I've added it and uploaded the new .htaccess file but nothing has worked.
The first time I did it Backlight Admin wouldn't even work, I did it again and put the code right under the :<IfModule mod_rewrite.c> line see below:
Also which .htaccess is it (although I've tried both)
/public_html or /public_html/backlight
# ------------------------------------------------------------------------------
# | Web fonts access |
# ------------------------------------------------------------------------------# Allow access from all domains for web fonts
<IfModule mod_headers.c>
<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule><IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]############################################################################
# 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} !-dRewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
</IfModule>
Offline
.htaccess is a bit beyond me. You're best off waiting on Ben or shooting him an email with reference to this thread.
for what it's worth, I used this url: https://evagoras.co.uk/ to access your site and everything seemed to work fine
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Ok no worries. Home page is working perfectly. its the individual page that are not.
I'll send him an email in the week. too late now and have a weekend of weddings (plus our back holiday!)
Appreciate your help for the https.
Offline
Hi Evagoras, I've found the problem and fixed it. It looks like the wrong index.php had been copied to the top of your site. That meant that the individual page requests weren't being forwarded to the application. Do you know which file you may have copied in?
In any case, this is fixed.
Offline
Excellent, thanks Ben! Appreciate your help.
Offline
Hi Evagoras, I've found the problem and fixed it. It looks like the wrong index.php had been copied to the top of your site. That meant that the individual page requests weren't being forwarded to the application. Do you know which file you may have copied in?
In any case, this is fixed.
Hey Ben, just got in form a wedding. Not sure which file I may have copied in.
However now the Homepage is not working.
Offline
Have you tried re-uploading the index.php file that’s in your unzipped Backlight + Pages download folder? It sound be uploaded to the root of your site
http://backlight.theturninggate.net/doc … on_install
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Ben, tried uploading the index.php with no luck. Anything other help would be appreciated as the site it totally down.
Offline
In Backlight>Designer>Pages did you set your home page to be the index page.
I can access the rest of your site just by adding /galleries to the site url.
This leads me to believe that there is no page assigned to be the index page
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1