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 2018-05-03 20:59:20

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

Site transfer

Getting ready to go online! This test site pideja.ca/luc is being transferred to lucnadeau.ca, it's proper place.
I changed both the url in BACKLIGHT SETTINGS/PERSONALISATION and the address to link the CSS file in BACKLIGHT/CUSTOM/PHP.

The "portal" works fine but when I try to go to either the French or English side, I get a 404 error.

What did I miss? Also, the url indicated in the inspector is 

<script src="https://lucnadeau.ca/backlight/publisher/resource.php?template=8&amp;extension=js&amp;name=scripts&amp;ppf=on"></script>

However, the url used is http://lucnadeau.ca
Should I use https ?
But, when I do, I get a warning that the site is not secure.

Last edited by pideja (2018-05-03 21:02:55)

Offline

#2 2018-05-03 21:09:12

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

Re: Site transfer

In the portal page, did you update the menu links to the two sites?

Did you change the URLs in Backlight Settings for the FR and EN sites?


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 2018-05-03 21:24:12

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

Re: Site transfer

Yep, the menu links to the two sites are wrong. They contain the old path from the test site. Take out /luc


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#4 2018-05-03 21:35:33

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

Re: Site transfer

The menu sets in the portal indicate https://lucnadeau.ca/fr for the French side and https://lucnadeau.ca/en for the English side.

It's as if the cache was stuck with that old URL. But I did clear it.

In lucnadeau.ca/en/backlight in the Backlight Settings/Personalisation section, I have http://lucnadeau.ca/en/ as Company and Site URL.

Also, the CSS does not seem to apply, although I did change the link in the PHP file.

Last edited by pideja (2018-05-03 21:56:08)

Offline

#5 2018-05-03 22:02:40

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

Re: Site transfer

pideja wrote:

Also, the url indicated in the inspector is 

<script src="https://lucnadeau.ca/backlight/publisher/resource.php?template=8&amp;extension=js&amp;name=scripts&amp;ppf=on"></script>

However, the url used is http://lucnadeau.ca
Should I use https ?
But, when I do, I get a warning that the site is not secure.

I don't know why your site is using https to reach the css file. Mine doesn't. But it's working so....


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2018-05-03 22:08:44

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

Re: Site transfer

Maybe that explains part of the problem:
On the English side, I have no background image for the Prints, Exhibitions, Biography, Gallery and Contact pages;
on the French side, the background images are there, but there is no CSS formatting at all!

Offline

#7 2018-05-03 22:09:56

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

Re: Site transfer

pideja wrote:

The menu sets in the portal indicate https://lucnadeau.ca/fr for the French side and https://lucnadeau.ca/en for the English side.

It's as if the cache was stuck with that old URL. But I did clear it.

In lucnadeau.ca/en/backlight in the Backlight Settings/Personalisation section, I have http://lucnadeau.ca/en/ as Company and Site URL.

Also, the CSS does not seem to apply, although I did change the link in the PHP file.

I don't know what to say. Without seeing the backend, the only thing I can guess is that the menu set you're using for the portal page is using outdated URLs to the French and English sites.

The css is being applied. You can see it being called in the page source and you can see it in the Inspector.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2018-05-03 22:16:09

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

Re: Site transfer

In lucnadeau.ca/backlight/custom/php the link reads:

// CUSTOM lucnade css
function ttg_head( $style, $path ) { 
	echo '
	<link rel="stylesheet" href="http://lucnadeau.ca/backlight/custom/css/lucnade.css" />
	';
} // END

but the inspector indicates:

<script src="https://lucnadeau.ca/backlight/publisher/resource.php?template=5&amp;extension=js&amp;name=scripts"></script>

Strange, no? Unless I'm not looking at the right place.

Ah, but I forgot to change the PUBLISHER settings!

Last edited by pideja (2018-05-03 22:20:36)

Offline

#9 2018-05-03 22:22:38

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

Re: Site transfer

OK PUBLISHER has been corrected. The URLs are apparently correct. But I still get a 404 mistake. Looking for that elusive " /luc " in the URL.

Offline

#10 2018-05-03 22:37:30

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

Re: Site transfer

pideja wrote:

In lucnadeau.ca/backlight/custom/php the link reads:

// CUSTOM lucnade css
function ttg_head( $style, $path ) { 
	echo '
	<link rel="stylesheet" href="http://lucnadeau.ca/backlight/custom/css/lucnade.css" />
	';
} // END

but the inspector indicates:

<script src="https://lucnadeau.ca/backlight/publisher/resource.php?template=5&amp;extension=js&amp;name=scripts"></script>

Strange, no? Unless I'm not looking at the right place.

Ah, but I forgot to change the PUBLISHER settings!

these are different css file.
the one starting with https is the one loaded by Backlight.

yours is being loaded too, look about four lines below


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 2018-05-03 22:38:56

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

Re: Site transfer

pideja wrote:

OK PUBLISHER has been corrected. The URLs are apparently correct. But I still get a 404 mistake. Looking for that elusive " /luc " in the URL.

As I said, I can only guess that the urls in the menu set are wrong.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2018-05-04 00:39:40

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

Re: Site transfer

There where some menu errors but in the end, I had to delete the menu entries in Backlight and repost them. Same for the missing background images on the English side. I went to each page template, in the "use background image" section, I turned the image OFF, saved then ON and saved again. And it worked!

I am (at last) online at the correct URL: http://lucnadeau.ca

Still, have minor cosmetic tweaks to do though. And after that, in due time, updating sections as needed.

Offline

Board footer

Powered by FluxBB