Forum Replies Created

Viewing 30 posts - 1 through 30 (of 64 total)
  • Author
    Posts
  • in reply to: Layerslider failed to open stream #1204177

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

    Thank you! The Layerslider is working great now. Much thanks for fixing an issue that has plagued our site for a long time.

    I will try the plugins you recommended.

    In the performance module, the theme is recommending image optimization plugins and caching plugins. Based on your experience with our site do you think we need these plugins? I don’t want to install them unless they will make a noticeable difference.

    Thanks,
    -Rob

    Temp admin access info in private window below. Thanks

    Hi,
    I deactivated all plugins – the problem remains.

    Thanks for your help

    in reply to: Layerslider failed to open stream #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!

    in reply to: Layerslider failed to open stream #1198913

    Thanks. Please find credentials in Private Content.

    Hi Rikard,
    This is happening again. Please take a look at this test page and see what you think.
    http://www.infostructures.com/new-test-layerslider/

    The page is jumping and flashing. It looks like the layerslider loads twice. ??

    Thanks

    in reply to: Layerslider failed to open stream #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

    in reply to: Layerslider failed to open stream #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

    in reply to: Layerslider failed to open stream #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

    in reply to: Layerslider failed to open stream #1198373

    I put the URL in the private content box.

    After playing with settings and switching out various layersliders on various pages and resaving layersliders – and resaving the settings in ENFOLD Child Theme Options with various settings… it started working for no apparent reason. Something was out of sync between old and updated versions and with enough jostling it fixed itself. My guess.

    Why are these layersliders looking for shadow.png in the directory indicated below? It does not exist in that location.

    /wp-content/themes/enfold/config-layerslider/LayerSlider/static/layerslider/skins/fullwidth/shadow.png 404 (Not Found)

    in reply to: How to Reduce Margin/Gutter Width #1172904

    Using this fix! Thanks.

    in reply to: LayerSlider failure in ENFOLD version 4.6.3.1 #1159323

    I solved the problem. As far as I can tell the fix was to re install Enfold and then make a change in the theme options form – any minor change – just in order to enable the Save All Changes button. Once I SAVED (with the re-installed theme installed), the LayerSlider began to work.

    I want to emphasize that the theme re-install did NOT fix the problem until I did a SAVE ALL CHANGES in the Theme Options form.

    in reply to: LayerSlider failure in ENFOLD version 4.6.3.1 #1159293

    So, I manually put the shadow.png file in the fullwidth folder. No help. Still not showing layers. Alsthough I see the text from the layer in the HTML.

    Also another error displayed in the console:
    Uncaught ReferenceError: avia_is_mobile is not defined
    at shortcodes.js?ver=4.6.3.1:1186

    Thanks for your help. (Which is a soft sell approach to saying: HELP!)

    in reply to: LayerSlider failure in ENFOLD version 4.6.3.1 #1159280

    Along with this I am getting a console error that shows a 404 Not found error for this asset:
    /wp-content/themes/enfold/config-layerslider/LayerSlider/static/layerslider/skins/fullwidth/shadow.png

    The file shadow.png is not in that folder. Why is the feature looking for a file that doesn’t exist?

    • This reply was modified 5 years, 1 month ago by galpinr.
    in reply to: Update jquery version in Enfold #1098098

    Thank you – that fixed it.
    This is the only issue we have seen resulting from using Jquery updater to update the WordPress core javascript to 3.x.

    The security scans still pickup that Enfold is using the older jquery versions that have been identified as a security risk. Hoping we can find a way to resolve that. But thank you for this Search button fix – that is a great help!

    in reply to: Update jquery version in Enfold #1097704

    I see no errors in the console. Thanks
    Link sent in the private field.

    in reply to: Update jquery version in Enfold #1097003

    Using Jquery Updater has worked for us with one exception that I am hoping I can get help with…

    We have the Search icon at the end of our main menu. The design, when working, is that clicking the Search Icon displays the Search form and search text input field for use. With Jquery Updater the Search form and search text field do not display on click of the Search icon.

    When working, the implementation goes like this: The style of the DIV that holds the search form and field by default set to display: none; opacity: 0; when you click the Search icon that DIV style is changed to display: block; opacity: 1;
    The DIV involved here is:
    <div class="avia-search-tooltip avia-tt" style="top: 28.7344px; left: 738.109px; display: none; opacity: 0;">
    On click of the Search Icon gets changed to:
    <div class="avia-search-tooltip avia-tt" style="top: 28.7344px; left: 738.109px; display: block; opacity: 1;">
    Jquery updater breaks this.
    Is there a way to fix this in functions.php? Or some other way?

    • This reply was modified 5 years, 7 months ago by galpinr.
    in reply to: Update jquery version in Enfold #1094785

    My original post has the details returned by the security scan that explain the issues.

    in reply to: Update jquery version in Enfold #1093681

    It’s a security issue.

    OP: “Results from a security scan on our Enfold site returned security vulnerability issues related to the version of jquery being used by Enfold.”

    I tried replacing the enfold theme files with the latest and got this:

    Fatal error: Can’t use function return value in write context in C:\inetpub\wwwroot\wordpress\wp-content\themes\enfold\includes\helper-post-format.php on line 213

    I had to put the one slide layer slider back in so that the site was usable. How can I attach screenshot images?

    When you load the page though you will notice that the image loads not fully wide across the screen – then after about one second the screen jumps and reloads the image full screen. Something is happening where the Layer Slider loads twice – the second time it loads, it is hosed, all layers lining up vertically in a column and displaying text layers from various slides on one screen – then the image animates and some of the elements disappear.

    Please take a look now. I will leave it like this until 2pm. EST.

    • This reply was modified 5 years, 9 months ago by galpinr.

    That works! Thank you.

    Line 607 referenced in the error is:

    			/**
    			 * Now find all shortcode tags [foo  [/foo]
    			 * 
    			 */
    			preg_match_all( "/" . ShortcodeHelper::get_fake_pattern( false, $shortcodes ) . "/s", $text, $sc_found, PREG_OFFSET_CAPTURE );

    Why is this code producing a warning? Is there a way to turn the warnings off?

    Thanks!

    Is there a workaround or something? Is this a PHP version issue? It seems like there are many instances of this issue in the forum but no responses that provide help.

    When my client is trying to PREVIEW a page they are seeing the following warning repeated 3 times in the body of the page:
    Warning: preg_match_all(): Compilation failed: unknown property name after \P or \p at offset 4669 in /oss/affiliations.sa/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-parser.class.php on line 607

    On POSTS, the same thing happens but it interferes with the CSS that positions the menu – so the menu floats in the middle of the content no matter where you scroll. It makes it difficult to judge if you have any issues in your post – and that’s the whole reason to use the PREVIEW feature.

    Your help on a resolution for this is greatly appreciated!

    Thanks,
    -Rob

    Need a fix for this. Thanks!

    in reply to: Error on page update #1073370

    Dude,

    How do we get rid of the warning? My client wants it gone. It messes up the layout of the entire page when trying to preview a POST.

    Thanks for the help!
    -Rob

Viewing 30 posts - 1 through 30 (of 64 total)