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 2019-01-09 03:14:39

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Upgrade to Backlight 2 painfull

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

#2 2019-01-09 03:27:47

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

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

#3 2019-01-09 04:53:46

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#4 2019-01-09 06:07:08

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

Just in case you can spot something odd, here is the folder tree in my Backlight version, before the upgrade to Backlight 2:
tree

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

#5 2019-01-09 06:24:41

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#6 2019-01-09 06:25:17

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

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

#7 2019-01-09 06:53:39

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#8 2019-01-09 06:59:13

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

I'm sorry but the view I sent of the folders tree misled you. Here is a view without the folders open: tree2

Offline

#9 2019-01-09 07:05:39

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#10 2019-01-09 07:05:52

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

pideja wrote:

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

#11 2019-01-09 07:12:05

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#12 2019-01-09 07:14:12

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

Please remind me of those lines I would have to include into the htaccess file.

Offline

#13 2019-01-09 07:24:06

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#14 2019-01-09 07:28:56

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

pideja wrote:

Please remind me of those lines I would have to include into the htaccess file.

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

#15 2019-01-09 07:30:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

pideja wrote:

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

#16 2019-01-09 08:14:49

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#17 2019-01-09 08:18:55

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

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

#18 2019-01-09 10:28:44

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#19 2019-01-09 10:29:23

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

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

#20 2019-01-09 10:34:55

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Upgrade to Backlight 2 painfull

pideja wrote:

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

#21 2019-01-09 12:37:36

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Upgrade to Backlight 2 painfull

pideja wrote:

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

#22 2019-01-10 00:32:40

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

#23 2019-01-10 01:49:20

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Upgrade to Backlight 2 painfull

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

Board footer

Powered by FluxBB