Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1198364

    The layerslider is broken. It loads and then flashes and then when the first background slides off screen the next slide does not follow in behind it. The area goes blank until the next slide animation happens. At that point the next slide flashes on the screen and animates across the screen, then the next slide is again blank. None of the text layers display at all.

    When it first happened, I got the following warning and the layerslider is not displaying text and not displaying background graphics consistently.

    Warning: file_get_contents(C:\inetpub\wwwroot\wordpress/https://[my-site-url]/wordpress/wp-content/themes/enfold/config-layerslider/LayerSlider/static/public/front.css): failed to open stream: No such file or directory in C:\inetpub\wwwroot\wordpress\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php on line 418

    We just moved this site from a development state to a production state by cloning the DEV server. It was fine until I made an edit in the ENFOLD Theme Settings – updating the logo – after we hit SAVE in the theme settings page, this WARNING appeared and the layerslider behaviors were messed up – as described here.

    Any ideas what is going on?

    • This topic was modified 4 years, 9 months ago by galpinr. Reason: The nature of the issue changed and i wanted the original post to reflect that
    #1198373

    I put the URL in the private content box.

    #1198379

    The notification is gone.

    The layerslider is still broken. It loads and then flashes and then when the first background slides off screen the next slide does not follow in behind it. The area goes blank until the next slide animation happens. At that point the next slide flashes on the screen and animates across the screen, then the next slide is again blank. None of the text layers display at all.

    There is also a notification in the browser console:
    GET https://www.infostructures.com/wordpress/wp-content/themes/enfold/config-layerslider/LayerSlider/static/layerslider/skins/fullwidth/shadow.png 404 (Not Found)

    Is that related?

    This exact installation is currently working perfectly in our DEVELOPMENT environment. This web server is a clone of the DEV server. It worked until I did my first SAVE from the Enfold Theme settings page. That SAVE seemed to hose the LayerSlider.

    Any ideas on what is going on?

    SITE: https://www.infostructures.com/

    Thanks

    #1198386

    The console now shows additional error notifications:

    shortcodes.js?ver=4.7.4:1193
    Uncaught ReferenceError: avia_is_mobile is not defined at shortcodes.js?ver=4.7.4:1193

    #1198409

    Why is there always this “shadow.png missing” error in the console?

    Failed to load resource: the server responded with a status of 404 (Not Found)
    https://www.infostructures.com/wordpress/wp-content/themes/enfold/config-layerslider/LayerSlider/static/layerslider/skins/fullwidth/shadow.png

    #1198840

    Hi galpinr,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Please refrain from replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.

    Best regards,
    Victoria

    #1198913

    Thanks. Please find credentials in Private Content.

    #1200605

    Hi galpinr,

    You have header and footer files in the child theme, did you update them with a fresh copy?

    Best regards,
    Victoria

    #1200627

    I replaced the header and footer files in the child theme folder. The LayerSlider still loads twice. And now I am getting a lot of Warning notifications in the footer.

    Warning: mysqli_query(): MySQL server has gone away in C:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php on line 2030
    
    Warning: mysqli_query(): Error reading result set's header in C:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php on line 2030
    
    Warning: mysqli_query(): MySQL server has gone away in C:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php on line 2030
    
    Warning: mysqli_query(): Error reading result set's header in C:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php on line 2030
    WordPress database error: [MySQL server has gone away]
    UPDATE <code>wp_options</code> SET <code>option_value</code> = 'a:9619:{s:68:\"avia-footer-scripts-f1b469ff7ac5657ba25dd05303be2d72---5e7e17b883041\";s:21:\"error-generating-file\";s:68:\"avia-footer-scripts-f1b469ff7ac5657ba25dd05303be2d72---5e7e17b9e7b7e\";s:21:\"error-generating-file\";s:68:\"avia-footer-scripts-f1b469ff7ac5657ba25dd05303be2d72---5e7e17bb53f16\";s:21:\"error-generating-file\";s:68:\"avia-footer-scripts-f1b469ff7ac5657ba25dd05303be2d72---5e7e17bca9872\";s:21:\"error-generating-file\";s:68:\"avia-footer-scripts-200aacba5392d0f00743e437f2b5e0a4---5e7e1952bc0ed\";s:21:\"error-generating-file\";s:68:\"avia-footer-scripts-200aacba5392d0f00743e437f2b5e0a4---
    Goes on and on ... way too many lines to put in here.

    Here is the code at line 2030 in C:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php

    		if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
    			$this->result = mysqli_query( $this->dbh, $query );
    		} elseif ( ! empty( $this->dbh ) ) {
    			$this->result = mysql_query( $query, $this->dbh );
    		}
    		$this->num_queries++;
    

    So I opened up the admin side and made a trivial change in the theme editor so that I could hit SAVE because sometimes that seems to jiggle the theme back into shape. And that did indeed get rid of all the Warning notifications in the footer.

    But now the LayerSlider still loads twice. And when I try to use a slider with text layers and slice effects, they fail. Text displays in the upper left – piled on top of each other – and the background images do not display or slide correctly.

    Can you take another look at it?

    Thanks!

    #1204173

    Hi,

    Sorry for the late reply!

    I was checking your website however your Layer Slider on home page seems to work fine and there are no errors in console. Have you already figured it out? :)

    Best regards,
    Yigit

    #1204177

    Yes it was related to a compression setting in the Enfold theme settings. Disabling the compression fixed the Layerslider. Thanks

    #1204370

    Hi,

    Glad you figured it out and thanks for sharing your solution :)

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Layerslider failed to open stream’ is closed to new replies.