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.
My site has had a pounding over the last week but late yesterday I began to get some strange presentation on the iPhone when it looked like the template was missing as the home page just displayed plain text and then a red error bar popped up with the legend:
Fatal error: Could not extract sufficient width/height of the gallery container. Traced measure: width:359px height:20px
Then on the desktop - Windows 10
Fatal error: Could not extract sufficient width/height of the gallery container. Traced measure: width:1287.5px height:19px
Refreshing the page several times cleared this then I started to get this on the desktop this morning plus sometimes images uploaded to Backlight that are used on pages and side bars started to to display placeholders only and refreshing the pages brings them back cyclically and drops them cyclically.
I thought maybe the installtion of PHP 7.4.5 might be an issue but when I downdated that to 7.3 I got a fata error with WP so I put it back to 7.4.5
I've tried this in my default browser Firefox 7.0.1 (64bit) Chrome 83.0.4103.61 (Official Build) (64-bit) and Safari on the iPhone
I've noticed on the phone that if I refresh the page with the right side bar open I get served with a text based page with no template.
All pages and templates to my belief are all converted to BL3.
Does anyone else get this behavior if visiting my live site - link below?
Thanks
Last edited by tomowensphoto (2020-05-22 17:26:31)
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
does this only occur on the home page?
I vaguely recall a similar error from long ago. I think it was associated with Galleria?
Your home page is working fine for me in Safari for iOS
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod,
Home ,Exhibitions pages so far
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Yes I got it, after some refreshs of the site, it appears correct.
Rainer
Offline
Thanks Rainer.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
I got this back from the hosting company
I can see the strange behaviour now.
This would indicate your script is trying to allocate more memory that is allowed. But as we allow php 256mb I can not see why it would be trying to use this much just to load a page and some images.
One error for the software developer. Here is some of the shared environment parameters they may find useful in tracking down the issue.
PHP ini params
allow-url-fopen TRUE
allow_url_include TRUE
max Execution time 90 seconds
max input vars 2000
memory limit 256mb
post max size 64mb
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Are you using the Wordpress NextGEN plugin?
Offline
Hi Ben,
No.
The plugins are;
Akismet Anti-Spam
Classic Editor
Relevanssi
WordPress Importer
I can deactivate the last one and remove it as I used PHPMyAdmin to update the wp-posts and wp-postmeta tables with my old post and media data when I created the new instance earlier this week to allow me to upgrade to PHP7.4.5. I could not upfrade PHP even though I was running WP5.4.1 hence the new install.
WP is working OK. I don't get a page error there, just on the Home and Exhibition pages.
The Home page has a Galleria gallery and side bar images.
The Exhibitions page has static images and side bar images and all of these are erratic in behaviour at present.
Last edited by tomowensphoto (2020-05-22 21:43:02)
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
https://tomowens.openpoint.co.uk/memory_errors.png
this url should take you to a screen shot I uploaded so I don't know why the gallery error comes up
Last edited by tomowensphoto (2020-05-22 21:54:40)
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
try creating a folder on the server and place the image in that. Put the image url inside BBCode img tags.
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 know but I do not know why. I uploaded the png to the root of tomowens.openpoint.co.uk . Should it be somewhere else for you to see?
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
i just edited my above post. take a look at that
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod,
I'm struggling to post the screen shot. I created a sub-directory off the root, moved the image into it, renamed it to take out the underscore in the filename and when I used the img tag then inserted the url and previewed it I get a warning that I cannot do that - embed a url in img.
Last edited by tomowensphoto (2020-05-22 22:23:27)
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
is the file name correct?
this is what it should look like
[img]http://yoursite.com/screen-shots/your-image.jpg[/img]
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
(screenshot issue resolved, thread edited my moderator to remove posts that became irrelevant)
Last edited by tomowensphoto (2020-05-23 00:22:01)
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
I've done some more testing today. Just in case something was corrupt in the live installation, I uploaded copies of the same logos used in the right pallet on my live home page to my test domain and I also replicated settings for templates by just selecting the options in the test domain rather that export and import copies from the live site.
The errors persist on a random cyclical basis
https://owenstest.openpoint.co.uk
This was a fresh install of BL3 so no upgrading involved and therefore not likely to have orphans etc.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
I can see that when the problem occurs, you're getting a 404 response back from the server, with the HTML for the full 404 page a part of the response. That would seem to suggest that something is intermittently amiss with routing on your server. I wonder whether this is related to the problems we've been discussing with using the backlight shortcode on your host.
Offline
I also just got an intermittent 500 error on one of your stylesheets, resulting in the page loading without styling. Your server seems to be having some issues serving resources.
Offline
Thanks Matt,
I’ll pass that information back to the hosting company
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Hi Matt,
I think I found the problem here. It was your mentioning of 500 error that made me look up likely causes and .htaccess was listed as a first port of call so I compared the .htaccess I posted in the shortcode thread to that working yesterday.
The old .htaccess file lisyed the php version as 7.0.
The current one listed it as alt-php72 whereas I had applied alt7.4 in cpanel before I did the fresh install of WordPress to test the shortcode error. The .htacess had not reflected this and I fear to tread where I ought not to and when I see a do not edit statement, I behave myself.
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php72___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
I had not applied the PHP change to my TLD so I tried applying alt-7.4.5 to that and promptly got a 500 error with the stylesheet not loading.
Applying alt72 to the TLD and sub-domain seems to work but applying 7.3 and above brings the intermittent error back.
PHP alt72 does not resolve the shortcode issue though.
I don't understand why PHP versions 73 and 74 cause the errors in loading images though when they are available to use on the server but maybe it makes sense to you? Maybe it it something that will help overall debugging?
I'll ask my host why the .htaccess did not update after applying the change in cPanel.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
No, sadly. Ben is the PHP/server guy here. I just dabble in that stuff, then quickly return to the front end realms where I belong. I do think your host is doing a weirdness, though.
Offline