Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Images disappear daily #4562

    DmacHashThemes
    Participant

    Update: It has been 6 days since adding the Access-Control statement to .htaccess and the problem has not returned. I see now that there are discussions on various outside forums about how this has solved similar issues for others.

    I also see from the .htaccess contents below that the image cache is set to expire every 6 hours. Quite a coincidence since that is about how often the problem would reappear. I hope that sharing this will help everyone.
    >>>>>>>>>>>>>>>>>>>
    # BEGIN WordPress
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access plus 6 hours”
    ExpiresByType image/jpeg “access plus 6 hours”
    ExpiresByType image/gif “access plus 6 hours”
    ExpiresByType image/png “access plus 6 hours”
    ExpiresByType text/css “access plus 6 hours”
    ExpiresByType application/pdf “access plus 1 week”
    ExpiresByType text/javascript “access plus 6 hours”
    ExpiresByType text/html “access plus 10 minutes”
    ExpiresByType image/x-icon “access plus 1 year”
    ExpiresDefault “access plus 3 hours”
    </IfModule>
    Header set X-Endurance-Cache-Level “2”
    Header set Access-Control-Allow-Origin “http://www.rananoshoots.com”
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    in reply to: Images disappear daily #4540

    DmacHashThemes
    Participant

    Yes, that is how it is set.

    The Developer Console does not indicate a problem when the site is functioning properly, but when it breaks the error report references a series of items like this: “www.rananoshoots.com/:1 Access to Font at ‘http://rananoshoots.com/wp-content/themes/total/css/fonts/fontawesome-webfont.woff2?v=4.6.3’ from origin ‘http://www.rananoshoots.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.rananoshoots.com’ is therefore not allowed access.”

    Seems to indicate necessity for adding statement to .htaccess “Header set Access-Control-Allow-Origin “http://www.rananoshoots.com” in order to access fonts and icons. But again, I still won’t know if it is a permanent fix until many hours have passed. Your thoughts?

    in reply to: Images disappear daily #4538

    DmacHashThemes
    Participant

    As I have said, the problem is intermittent or cyclical. You just dropped in at a good time. It is not a problem with plugins because I have systematically deactivated them one at a time with no improvement. After a few hours the problem has always come back. Google Chrome Developer Console indicated a possible problem with CORS policy, so I added an “Access-Control-Allow-Origin” statement to .htaccess. So far it looks good but I won’t really know until many hours go by.

    in reply to: Images disappear daily #4500

    DmacHashThemes
    Participant

    Disappointing development. The problem of the social icons and nav menu arrows showing as broken links has returned. I have deactivated all unused plugins, and selectively deactivated every plugin in current use to test for some conflict. Every time I try this the icons return for a few hours and then revert to showing as broken links again.

    Please tell me how to fix this. http://www.rananoshoots.com

    in reply to: Increase time of testimonial on screen #4116

    DmacHashThemes
    Participant

    I have modified the code as shown below and there is no change. All sliders are synced at same speed, which is too fast for the Testimonials slider:

    if($(‘#ht-bx-slider .ht-slide’).length > 0){
    $(‘#ht-bx-slider’).owlCarousel({
    autoplay : true,
    items : 1,
    loop : true,
    nav: true,
    dots : false,
    pause : 6000,
    animateOut: ‘fadeOut’
    });
    }

    $(‘.ht-testimonial-slider’).owlCarousel({
    autoplay : true,
    items : 1,
    loop : true,
    nav: true,
    dots : false,
    pause : 12000,
    navText : [‘<i class=”fa fa-angle-left” aria-hidden=”true”></i>’, ‘<i class=”fa fa-angle-right” aria-hidden=”true”></i>’],
    });

    $(“.ht_client_logo_slider”).owlCarousel({
    autoplay : true,
    items : 5,
    loop : true,
    nav: false,
    dots : false,
    pause: 6000,
    responsive : {
    0 : {
    items : 2,
    },
    768 : {
    items : 3,
    },
    979 : {
    items : 4,
    },
    1200 : {
    items : 5,
    }
    }
    });

    in reply to: Images disappear daily #4022

    DmacHashThemes
    Participant

    Success. Was able to reproduce the problem in a way that pointed to a plug-in called Adaptive Images that is intended to efficiently re-size images for mobile devices. It was probably added to an earlier version of the website that used a different theme. Disabled the plug-in and the problem did not reoccur at the usual time. Must have been in conflict with the Total theme’s own image re-sizing functions.

    in reply to: Increase time of testimonial on screen #3965

    DmacHashThemes
    Participant

    My testimonial slider suddenly changes at the same time as my logo slider. That is too fast to read the testimonials. I reset the js/total-custom.js from 6000 to 9000 but no change. They are still synchronized. Please help.

    Sprouts Done Better

    in reply to: Disappearing Icons #3889

    DmacHashThemes
    Participant

    Unfortunately, no. The settings you recommended were already in place and the intermittent problem continues. The icons appear as broken links when it happens.

    in reply to: Disappearing Icons #3832

    DmacHashThemes
    Participant

    The URL listed in General Settings already reads http://www.rananoshoots.com.
    Did you mean that it should read http://rananoshoots.com?

Viewing 9 posts - 1 through 9 (of 9 total)