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-06-17 19:13:14

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Update to 2.0.9 cut my page layout to half what it used to be

It appears that all my page settings are the same in the page template but my site appears to be about tablet size width on a desktop display. Pretty sure that's a setting somewhere but I can't find it.
Regards Mark

ooops: affected site is at https://blog.photophart.com
It should look like this: https://blog.photophart.com/testblog/

Last edited by markh (2019-06-17 22:28:26)

Offline

#2 2019-06-18 00:07:36

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

There is another error:

<b>Fatal error</b>:  Uncaught Error: Call to undefined function shortSiteURL() in /home/markho6/public_html/blog.photophart.com/wp-content/themes/backlightpangolintheme/footer.php:393

Is the Backlight Wordpress module up-to-date? Maybe export the theme again.

Don't know about the site appearance, apart there is a 700px width setting screwing up the layout. No idea from where this comes.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2019-06-18 00:36:49

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Update to 2.0.9 cut my page layout to half what it used to be

Backlight2 WP module is at 2.0.3. Tried exporting the theme again. No idea where that 700 px width is coming from as I don't have that set anywhere that I can find. Perplexing.

Offline

#4 2019-06-18 01:13:02

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

So this affects only your blog?


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#5 2019-06-18 01:21:04

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

The site look is a result of code inserted by Wordpress due to the error you have. shortSiteURL() is a Backlight function and Wordpress can't find it.

I think to remember that you have a very special setup where Backlight resides in your main domain and the blog is in a subdomain, but you still export the theme from the main domain. Is this correct? Did you follow all the steps necessary after you exported the theme?


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#6 2019-06-18 01:44:53

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Update to 2.0.9 cut my page layout to half what it used to be

Blog is the only thing I've updated to 2.0.9. Blog is in it's own domain and backlight resides there with it. Site worked great until the 2.0.9 update so there must be something screwy with one of the modules that were changed as nothing else was modified. I'm examining ways to backtrack to the site's state before the update. Looks tricky.
The theme is exported from the blog's domain not the main domain. What steps are you referring to after exporting? I use a child theme to link the exported pangolin theme.

Offline

#7 2019-06-18 02:19:05

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

markh wrote:

Blog is the only thing I've updated to 2.0.9. Blog is in it's own domain and backlight resides there with it. Site worked great until the 2.0.9 update so there must be something screwy with one of the modules that were changed as nothing else was modified. I'm examining ways to backtrack to the site's state before the update. Looks tricky.
The theme is exported from the blog's domain not the main domain. What steps are you referring to after exporting? I use a child theme to link the exported pangolin theme.

Sorry, I have mistaken your installation for somebody else's.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#8 2019-06-18 02:20:41

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

Bingo, got the same error!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#9 2019-06-18 02:34:29

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Update to 2.0.9 cut my page layout to half what it used to be

I have restored the pangolin wordpress theme in its entirety from a backup copy. The problem goes away completely. So the pangolin theme is getting mangled by the 2.0.9 update, or at least it seems that way.

Offline

#10 2019-06-18 02:36:57

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

Workaround: I modified the file ~/blog/wp-content/themes/my-theme/footer.php.  This reverts a v2.0.9 code change back to the previous version.

For me, this change starts at line 385:

<?php
//      $moduleURL = shortSiteURL().'backlight/modules/module-cart/';
        $shortSiteURL = '/';
        $moduleURL = $shortSiteURL.'backlight/modules/module-cart/';
?>

Please note that this change is overwritten whenever the Wordpress theme is exported again.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#11 2019-06-18 04:13:44

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Update to 2.0.9 cut my page layout to half what it used to be

Got it. Update 2.0.9 shouldn't negatively impact non-wordpress sites then?

Offline

#12 2019-06-18 04:55:27

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

I've had no problems with my sites or with any WordPress installations on those sites. I'm also using a custom footer via phplugins, so that may be why I'm not seeing any footer issues in WordPress.

On one test site I disabled phplugins for the custom footer. Still no issues in the Backlight or WordPress portions of the 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

#13 2019-06-18 05:06:54

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

rod barbee wrote:

I've had no problems with my sites or with any WordPress installations on those sites. I'm also using a custom footer via phplugins, so that may be why I'm not seeing any footer issues in WordPress.

On one test site I disabled phplugins for the custom footer. Still no issues in the Backlight or WordPress portions of the site.

Hi Rod,

This is independent of a custom footer (I'm using one too). Did you export the WP theme after the Backlight update? It might only happen when the cart is enabled.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#14 2019-06-18 05:34:13

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

Re: Update to 2.0.9 cut my page layout to half what it used to be

One test site has Cart installed and one doesn't. I've re-saved the page templates for the themes as well as re-exporting the themes to WordPress.
I haven't been able to duplicate the problem yet.


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-06-18 06:01:07

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Update to 2.0.9 cut my page layout to half what it used to be

That’s the fix for the cart for embedded albums and the search page. The fix on our side will be to resolve the output of shortSiteURL() during theme export rather than at runtime (where WP won’t have access to the function). I’ll apply a hot fix and reply again here.

Offline

#16 2019-06-18 07:23:48

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Update to 2.0.9 cut my page layout to half what it used to be

I have released an update to address this

To fix this on your site:

1. Visit Backlight Modules on your server.  You should see that there is an updated version of pangolin-page available, version 2.0.6
2. Click Update All under Backlight 2
3. Confirm by clicking the Update button
4. Visit Designer > Templates
5. Click on the name of the template you're using in Wordpress
6. Click on the Export Theme to Wordpress button
7. Repeat steps 5. and 6. for any other templates you use in Wordpress

Offline

#17 2019-06-18 07:51:52

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Update to 2.0.9 cut my page layout to half what it used to be

Following Ben's instructions my original issue seems to be resolved.
Thanks guys! You're great, as always.
Mark

Offline

#18 2019-06-18 08:17:04

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Update to 2.0.9 cut my page layout to half what it used to be

Hi Mark, thanks for confirming. I’m glad that fixed it for you.

Offline

Board footer

Powered by FluxBB