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
Once again, trying to upgrade a site from Backlight to Backlight 2 proves less than straightforward.
As per instructed, I deleted or moved aside everything from within /backlight except for /backlight/data and /backlight/custom. I made sure to leave any gallery folders untouched. But, wanting to continue to install Backlight 2, I get a non-formatted page https://lucnadeau.ca/backlight that I cannot alter in any way.
This site https://lucnadeau.ca has two sections, being a bilingual site. Each of these sections are built with Backlight (1).
If I ever get the issue with the first page settled, should I then go thru all this again, twice for both sides?
Offline
That makes no sense. You shouldn’t be seeing front facing elements when visiting the backlight/ folder.
Did you make sure to upload the new index.php and .htaccess files from the root of the unzipped installer-105 folder to the root of the site?
Did you also remember to upload the index.php and .htaccess files from the installer-105/backlight/ folder to the site’s backlight/ folder?
Uploading these files to the wrong folders seems to account for about 95% of BL 2 upgrade problems.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I noticed that I had two sets of Backlight files somehow. That is: lucnadeau.ca>backlight>backlight>backlight
Re-installing the original site and will try again to upgrade...
Offline
Just in case you can spot something odd, here is the folder tree in my Backlight version, before the upgrade to Backlight 2:
The main portal is in white, the English section in pink and the French side in blue. I don't recall why the videosrc folder is only on the Fr side but that video can be seen on both En and Fr sides.
I think I must delete or move aside everything from within the main /backlight folder (in white) except for /backlight/data and /backlight/custom. The galleries folder is empty but will be left untouched.
Then, I will continue to install Backlight 2 according to the Backlight 2 Installation Setup.
Once that installation is complete ( a complete replication of all Backlight settings, I think I should do the same on each Fr and En sections.
Do I have this right?
Last edited by pideja (2019-01-09 06:09:53)
Offline
I did the upgrade of the portal - no problem. It's now on to the Fr and En sides. By the way, I seem to have lost the https status. Any guess why?
Offline
you've got the en/ and fr/ folders inside of the main site's backlight folder? That's not right.
sorry, but this looks like a mess. those en/ and fr/ folders should not be inside of a backlight/ folder. They should probably be at the same server level as your main site's backlight/ folder so that the french site is lucnadeau.ca/fr and the english site is at lucnadeau.ca/en
The way you have it, the french site is at lucnadeau.ca/backlight/fr and the english site is at lucnadeau.ca/backlight/en
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Installed the Fr and the En sides but can't log in to the Backlight 2 settings. Previous user name/password combinations won't work and trying to get a password reset, I'm asked for a user name (?) and my email.
Offline
I'm sorry but the view I sent of the folders tree misled you. Here is a view without the folders open:
Offline
Finally installed the En side correctly. I can log into the En side and edit normally. As per the Fr side, I still can't log into it.
Offline
I did the upgrade of the portal - no problem. It's now on to the Fr and En sides. By the way, I seem to have lost the https status. Any guess why?
did you add the https rewrite to the new Backlight 2 .htaccess file?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Used the "old" way of retrieving passwords, going to http://yoursite.com/backlight/admin/?a= … _passwords, but it returned this message:
Something went wrong
Unexpected error: Undefined index: email in AdminController.php on line 562
And there was the "success" message also!
Logged into the Fr site!
Upgrade complete.
Offline
Please remind me of those lines I would have to include into the htaccess file.
Offline
Two more observations/questions about that https issue:
- If I write the URL as https://lucnadeau.ca/en it will be https. But if I just write lucnadeau.ca or, when in https mode, I go back using the masthead link, I get back to http; why?
- In https mode, the formatting of thumbnails is different than in http mode. Why?
Last edited by pideja (2019-01-09 07:24:37)
Offline
Please remind me of those lines I would have to include into the htaccess file.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Two more observations/questions about that https issue:
- If I write the URL as https://lucnadeau.ca/en it will be https. But if I just write lucnadeau.ca or, when in https mode, I go back using the masthead link, I get back to http; why?- In https mode, the formatting of thumbnails is different than in http mode. Why?
to the first question, that's what the https rewrite is for in the .htaccess file
to the second question. I don't know. How is the formatting different?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
For some reason, I can't get to https://lucnadeau.ca/fr
I inserted the lines
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
but as of now, the Fr side does not answer.
Offline
where in the fr/.htaccess file did you add the lines. I think they need to be under a specific line/command
Or it could be that you have the wrong index.php and/or .htaccess files in the root of the fr site
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The lines are written at the top, right under </IfModule>like so:
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I installed the index.php and the htaccess files from the backlight folder in the Backlight Installer folder.
Offline
That looks right
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I installed the index.php and the htaccess files from the backlight folder in the Backlight Installer folder.
The index.php and .htaccess files that need to go in the fr/ folder should come from the root of the installer-105 folder, NOT from the backlight folder inside of the installer-105 folder.
And it’s the .htaccess file in the root of the site that needs to be modified.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Two more observations/questions about that https issue:
- If I write the URL as https://lucnadeau.ca/en it will be https. But if I just write lucnadeau.ca or, when in https mode, I go back using the masthead link, I get back to http; why?- In https mode, the formatting of thumbnails is different than in http mode. Why?
In the backlight admin setting, did you set your domain as httpS://.... ?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
The index.php and .htaccess files were changed to the ones in the root of the installer-105 folder, and all the URLs in Backlight 2 are all "https".
They now load, but ever so slowly. Might it be an issue with my server? Looking into it.
Offline
Checked with the people who host me: seems they are experiencing "stability" issues. Should be resolved shortly.
So, for curiosity's sake, I checked the site against some web checking sites:
https://www.ssllabs.com/ssltest/analyze … cnadeau.ca
https://validator.w3.org/nu/?doc=https% … cnadeau.ca
https://www.webpagetest.org/result/1901 … 14db4b845/
Not too sure who to interpret these findings and how to manage the issues identified.
Offline
Pages: 1