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.
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
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
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
So this affects only your blog?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
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
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
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
Bingo, got the same error!
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
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
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
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
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
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
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
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
Hi Mark, thanks for confirming. I’m glad that fixed it for you.
Offline