Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter thetasound

    (@thetasound)

    @kbat82

    It was not a permissions issue. The permissions for the folders and files were correct. I don’t know what BlueHost is doing, but I’ve already moved my client to SiteGround and we are now live with the site.

    Check it out at https://www.corffvoice.com

    Go right to the Biography tab and MetaSlider works.

    I even reverted to the previous mini audio player, since that wasn’t the problem.

    Thought you should be aware of this situation for the future.

    Best, RMT

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    After receiving no reply to my e-mail to BlueHost Tier 2 support, I set up a fresh install of WP on SiteGround and restored my client’s website there. Working with a modified “hosts” file on my system, I am able to access my client’s “new” site on the SG server while the actual site remains active for the rest of the world.

    After the restore, I tested our MetaSlider problem by going to the home page and then the Biography tab. No problem. Everything works as it should. I flushed caches and tried again. Same result.

    As you and I both suspected, the problem was server access. Your clue as to why the readme.txt file could not be accessed was helpful as well.

    I wrote BH support back and let them know I have advised my client to switch hosts.

    Best, RMT

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    This failure to load error happens on any page that’s accessed before audio is played. It’s not just the home page. Also, this site is set up in a unique way where virtually the entire site is loaded for every page; the other pages are accessed via the nav tabs but the code has already been loaded in. It had to be done this way to emulate the previous theme that my clients requested the new site resemble as much as possible.

    I’m waiting to hear back from BlueHost because this issue of not being able to access the readme.txt file, along with the phantom version number, is pointing to a real server issue.

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    how is that 3.3.6 number being generated from a clean install of 3.7.2? MetaSlider itself is version 3.7.2

    That’s the problem and usually indicates some sort of caching.

    I had BH clear their cache and I cleared mine. No change on this version number.

    I can disable several of these, but I’m guessing that’s not the issue

    I would still suggest you eliminate the possibility of them causing an issue. You never know what kind of code they have running behind the scenes.

    I disabled most of them and no change to this problem.

    No. This site must remain exactly as it is. I’m using Divi to emulate an older theme that is no longer in business, but that my client requires that I keep the look and feel as close as possible and still be more or less responsive.

    If you could switch themes for just a few minutes you would be able to rule out the theme being the cause. Could you do this at 2am or a time when traffic is low? Switching back shouldn’t have any negative effect as the database tables should still be there. But I would recommend you do a backup anyway to ensure you have extra protection.

    Not going to work with Divi. Divi is a framework, not a static theme. I’ve not had success with doing what you suggest.

    I would also contact bluehost about the permissions issue.

    I have. Here’s their first response from Tier 2 support and my reply:

    ===
    On 5/9/18 10:53 AM, [email protected] wrote:
    > Hello,
    >
    > Thank you for contacting support. We strive to provide the best customer service and hosting experience to all our customers. We appreciate your business and value your loyalty.
    > I understand that your having trouble loading your java script on your account.
    > I do see your jquery.flexslider.min.js file is pulling a 404, however this would result in consulting in a developer.
    > Unfortunately we are unable to troubleshoot your script. There are resources you can utilize online but the best choice would be to consult a developer that has experience in java scripting.
    >
    >
    > Thank you,
    > Technical Support
    > Sincerely,
    > Allana K
    > Tech Tier 2
    > https://www.bluehost.com
    > For support, go to https://my.bluehost.com/hosting/help
    >
    > If you have any further questions or concerns please do not hesitate to reach out to our staff. As always have a pleasant rest of the week and thank you for your continued patronage with us here at BlueHost.com!
    >
    > Sincerely,
    > Allana K
    > Tech Tier 2

    > https://www.bluehost.com
    > For support, go to https://my.bluehost.com/hosting/help
    > ref:_00D36qEW6._50036WZjGn:ref

    Allana,

    Thanks for your letter. I think there is some missing information that needs to be considered before closing this ticket. I don’t know if you had all the data I communicated last night with the BH tech person. Please look at the following:

    1. The failure to load the jquery.flexslider.min.js and therefore rendering MetaSlider inactive (which affects only the Biography tab on corffvoice.com) only happens if the audio player (on a page with audio samples) has not been played.

    2. Once an audio clip has been played (for example: https://www.corffvoice.com/audio-courses/accent-reduction/), then one switches to the Biography tab, jquery.flexslider.min.js loads and the slider operates as it should.

    3. The plugin developer (Updraft Plus) noted that there seems to be an issue with server access as one of their readme.txt files cannot be read via its URL: https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/readme.txt – it returns the following:

    This file can be read from the BlueHost File Manager.

    4. I am the webmaster for about 50 sites. Of these, only one client is using BlueHost. Using Opera as my browser of choice, I am unable to log in to corffvoice.com via the WordPress login screen whereas I can log in to any of my other websites using Opera and the other hosting services: SiteGround, GoDaddy, Lunar Pages. I can log in to the BlueHost back office and access the corffvoice.com WordPress back office that way, or, I can use FireFox or Chrome to directly access the WP back office. This would seem to point to a problem with file access that is unique to BlueHost. It would be an interesting exercise to migrate this site to another host and see if this problem disappears. Before I got to this extreme measure, I hope you and your tech team can find the solution. I can assure you this is not the developer’s problem.

    You do not need to troubleshoot the js script as that is not the problem. You need to troubleshoot the access to that script as when it’s called for, it is returning a “not found” error.

    I would appreciate you getting with your upper-tier team and approaching this problem with the above information in mind.

    Thanks for your help…

    Randy Tobin
    Theta Media Group
    ===

    Finally, I would try to install your site on another server. There are plenty of migration plugins out there, and updraftplus (our company) also has a migration tool as a premium feature.

    (see above)

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    Thanks for your reply!

    (see below…)

    Have you tried deactivating all the other plugins? There might be a plugin causing a conflict that you would not expect.

    Here’s a list of plugins. The one that have “activate” underneath are disabled. I can disable several of these, but I’m guessing that’s not the issue.

    All 404 Redirect to Homepage
    Activate

    Better Search Replace
    Deactivate

    Child Theme Configurator
    Deactivate

    Elegant Themes Support
    Deactivate

    Elegant Themes Updater
    Deactivate

    mb.miniAudioPlayer
    Activate

    MCE Table Buttons
    Deactivate

    MetaSlider
    Deactivate

    PixelYourSite
    Deactivate

    Save with keyboard
    Deactivate

    UpdraftPlus – Backup/Restore
    Deactivate

    Video.js – HTML5 Video Player for WordPress
    Activate | Edit | Delete

    W3 Total Cache
    Deactivate

    White Label CMS
    Deactivate

    WonderPlugin Audio Player
    Deactivate

    Wordfence Security
    Deactivate

    WP Config File Editor
    Activate

    WP fade in text news
    Deactivate

    Can you also try using the default WP theme?

    No. This site must remain exactly as it is. I’m using Divi to emulate an older theme that is no longer in business, but that my client requires that I keep the look and feel as close as possible and still be more or less responsive.

    About the query string on the FlexSlider file, the reason that’s relevant is because of how we call in that script.

    wp_enqueue_script($handle, METASLIDER_ASSETS_URL . $this->js_path, array(‘jquery’), METASLIDER_VERSION);

    So the version number on the query string should match the version of the plugin.

    I know. So how is that 3.3.6 number being generated from a clean install of 3.7.2? MetaSlider itself is version 3.7.2, Flexslider might have a different version number?

    Another thing you can check is what happens when you click the preview button on the slideshow settings page. It should load the files the same as on the front end.

    I tried that and is hangs on the first photo. So I set the slider to show Nav Dots and reloaded the page. No Dots showing. When I checked the dev console I got this:

    GET https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3.6 net::ERR_ABORTED
    (index):1132 GET https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3.6 404 (Not Found)
    (index):876 Uncaught TypeError: $(…).flexslider is not a function
    at metaslider_313 ((index):876)
    at timer_metaslider_313 ((index):891)

    So there’s a new line at the beginning showing an aborted load attempt.

    You can also check the folder and file permissions to make sure everything is accessible. For example, the readme.txt file is usually accessible but in this situation it isn’t.

    I think that’s the issue here. There is something unusual about BlueHost as they’re the only host that Opera browser is unable to directly log into WP using the WP login screen. I can log in using Firefox just fine. I can also use Opera and log in to BlueHost and from the back end enter WP via their portal.

    https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/readme.txt

    I’m unable to access it either.

    • This reply was modified 6 years, 6 months ago by thetasound.
    Thread Starter thetasound

    (@thetasound)

    @kbat82
    I was on the phone with BlueHost support for about an hour.
    Here’s what was done:

    1. BH cleared server cache. Same error reported
    GET https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3.6 404 (Not Found)
    (index):876 Uncaught TypeError: $(…).flexslider is not a function
    at metaslider_313 ((index):876)
    at timer_metaslider_313 ((index):891)

    (BTW: ver=3.3.6 doesn’t affect the loading of the file. I can access the file from the above URL and view its contents.)

    2. Deactivated MetaSlider and deleted it.

    3. Did fresh install of MetaSlider and verified that it was indeed today’s date.

    4. Purged browser caches.

    5. BH cleared server cache. Same error reported
    GET https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3.6 404 (Not Found)
    (index):876 Uncaught TypeError: $(…).flexslider is not a function
    at metaslider_313 ((index):876)
    at timer_metaslider_313 ((index):891)

    6. If I go to one of the pages on this site with the audio player and play the clip, when I then go to the Biography tab, MetaSlider works as it should.

    Note: When using Inspect Element on the home page, at the bottom of the page is where a series or scripts are loaded. All of the scripts load before this slider script, including other MetaSlider scripts.

    What’s most puzzling is that the GET command is not working, yet the file is accessible at that exact URL.

    Hope that gives you enough clues to find the answer.

    Thread Starter thetasound

    (@thetasound)

    I don’t want to lose my slider data file with lots of photos and captions.
    Any way to preserve that before deleting the ml-slider folder?

    Thread Starter thetasound

    (@thetasound)

    I checked BlueHost and could not find any server cache options in the CP.

    I used the File Mgr to drill down to the file in question.
    The first few lines of this file are below:
    ===
    /*
    * jQuery FlexSlider v2.2.2
    * Copyright 2012 WooThemes
    * Contributing Author: Tyler Smith
    * Modifications applied:
    * 905: https://github.com/woothemes/FlexSlider/pull/1044
    * 928: https://github.com/woothemes/FlexSlider/issues/1043
    * 1082: fadeFirstslide set to false by default.
    * 398: https://github.com/woothemes/FlexSlider/issues/1110
    */
    ;
    (function ($) {

    //FlexSlider: Object Instance
    $.flexslider = function(el, options) {
    var slider = $(el);

    // making variables public
    slider.vars = $.extend({}, $.flexslider.defaults, options);

    var namespace = slider.vars.namespace,
    msGesture = window.navigator && window.navigator.msPointerEnabled && window.MSGesture,
    touch = (( “ontouchstart” in window ) || msGesture || window.DocumentTouch && document instanceof DocumentTouch) && slider.vars.touch,
    // depricating this idea, as devices are being released with both of these events
    //eventType = (touch) ? “touchend” : “click”,
    eventType = “click touchend MSPointerUp keyup”,
    watchedEvent = “”,
    watchedEventClearTimer,
    vertical = slider.vars.direction === “vertical”,
    reverse = slider.vars.reverse,
    carousel = (slider.vars.itemWidth > 0),
    fade = slider.vars.animation === “fade”,
    asNav = slider.vars.asNavFor !== “”,
    methods = {},
    focused = true;

    // Store a reference to the slider object
    $.data(el, “flexslider”, slider);

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    No script-juggling plugins on this site.
    In W3 Total Cache, Minify is disabled.
    MetaSlider is the latest version (3.7.2).

    I disabled 404 Redirector and still get this which might be more revelatory:

    Loading failed for the <script> with source “https://www.corffvoice.com/cv3/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3.6”.
    https://www.corffvoice.com:1132

    TypeError: $(…).flexslider is not a function
    [Learn More]

    https://www.corffvoice.com:876:13
    metaslider_313

    https://www.corffvoice.com/:876:13
    timer_metaslider_313

    Thread Starter thetasound

    (@thetasound)

    @kbat82

    Well… this problem is not solved yet.

    I found that Metaslider appears to work correctly only after the audio player has been accessed first. If the cache is flushed and the Biography tab is accessed before an audio player page, it fails to start.

    I replaced the mini audio player with Wonder Player which I’ve been using for years. It’s the latest version (6.8). The problem remains.

    Here’s the dev console report:

    Uncaught SyntaxError: Unexpected token <
    https://www.corffvoice.com/:876 Uncaught TypeError: $(…).flexslider is not a function
    at metaslider_313 (www.corffvoice.com/:876)
    at timer_metaslider_313 (www.corffvoice.com/:891)

    Thanks for your help on this.

    RMT

    • This reply was modified 6 years, 6 months ago by thetasound.
    • This reply was modified 6 years, 6 months ago by thetasound.
    Thread Starter thetasound

    (@thetasound)

    @kbatdorf

    I deactivated the mini audio player, flushed the cache, tested Metaslider and it’s working. Then, I reactivated the mini audio player, flushed the cache, tested the audio
    player and Metaslider and both plugins are now working.

    Learn something new every day…

    ??

    .

    Thread Starter thetasound

    (@thetasound)

    @kbatdorf

    Thanks for your research! I’m using Metaslider 3.7.2. Keep in mind that previous versions of Metaslider did not have this issue. Would like to roll back to earlier versions to see if that solves the problem. I can dig them out of the site backup archives, I guess.

    Thread Starter thetasound

    (@thetasound)

    @kbatdorf,

    I answered that on the other thread: the mini audio player (the plugin you referenced) is working fine and has always worked. Perhaps I should downgrade Metaslider to the version where it also worked. WP and Divi are version-frozen so as not to break what’s been working for years.

    RMT

    Thread Starter thetasound

    (@thetasound)

    Uh… thanks for the code but that just broke the site and I don’t have ftp access at the moment.

    The problem is, and I didn’t spot this right away, the code in the e-mail had bee modified to:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );

    That’s what I pasted in to the functions.php (child theme).

    I then checked this post and saw that the “&#039” are not part of the code!

Viewing 15 replies - 1 through 15 (of 19 total)