Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1302535
    mdmason23
    Participant

    Hello,

    The light boxes for my Envira galleries are not working. I have looked through this forum for a solution, but have found nothing that worked for me.

    I have both confirmed that all the images in the gallery contain url’s, and have also deactivated all plugins on my website (except cornerstone, envira gallery and x add-ons), but the problem persists. The gallery I tested is on the following webpage:

    Scrapbook Layouts

    Also, after I reactivated the plugins, I started getting errors with the ConvertPlug plugin. The following error kept displaying when trying to login to my admin panel:
    “Page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.”

    This is the url that it kept trying to redirect to:
    https://www.butterbeescraps.com/wp-admin/admin.php?page=convertplug

    The problem was resolved by deactivating the ConvertPlug plugin (done by my host). I did uninstall the plugin, reinstalled it, and when I tried to reactivate it, ended up with the same error.

    Any help with these 2 issues would be appreciated,
    Monique

    #1302538
    mdmason23
    Participant
    This reply has been marked as private.
    #1302606
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in and the very detailed post information. I have checked your site thoroughly and I could replicate the issue. The lightbox is displaying perfectly when viewing your site. You can check out my screenshot here: http://prntscr.com/dmz0d0

    Since you have installed a caching plugin SG CachePress, please clear your plugin cache before testing your site. This can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching plugins are best to turn on only when you’ve finished building the site.

    And also since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.

    For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm

    Hope this helps.

    #1302931
    mdmason23
    Participant

    Very strange…I did activate ConvertPlug with no issues this morning.

    With regards to the lightboxes…I tried viewing my website in a different browser and they worked using IE, Google Chrome and Opera. They seem to not be working when viewing my website using Firefox…do you know why this may be? I did ensure that pop-ups were allowed and cleared my website cache afterwards, but the problem persists.

    Also, when viewing my website via Google Chrome and Opera, all the text looks bold and isn’t displaying correctly on my homepage.

    With regards to the supercacher, a large part of the reason I am with Siteground is for this feature, as it significantly decreases the load time of my website. Can you please explain why you would suggest disabling it?

    Thanks,
    Monique

    #1303123
    Rue Nel
    Moderator

    Hello Monique,

    Thanks for updating in! I have checked your site in Firefox and I think I found the issue. You have added this code in your child theme’s function.php file

    // Add Comodo SSL Logo script before head tag //
    //====================================================
    function my_custom_head_output() {
    ?>
    <script type="text/javascript"> //<![CDATA[ 
    var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/");
    document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
    //]]>
    </script>
    <?php
    }
    
    add_action( 'wp_head', 'my_custom_head_output', 99999 );
    

    The trustlogo.js has some errors. Once you disable the code, the lightbox will show up. Temporarily, I disabled it at the moment. http://prnt.sc/dn9g2r

    You can enable the code by removing the commented line:

    
    add_action( 'wp_head', 'my_custom_head_output', 99999 );

    Please check your site now.

    Most of time, we recommend to disable any caching feature to be able to test and fix with the caching issue. You can always turn in ON again once your issue has been resolved. Cache can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately or troubleshooting any issues. Caching plugins are best to turn on only when you’ve finished building the site or fix site issues.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1302535 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>