9) Incompatible with WP Rocket

Home Forums Product Support Forums Ajax Search Pro for WordPress Support 9) Incompatible with WP Rocket

This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11597
    Rohit Manglik
    Rohit Manglik
    Participant

    Hi,

    Ajax Search Pro doesn’t work with WP Rocket. WP Rocket somehow generates 1000s of copies of Ajax Search Pro static files.

    rohit@wordpress-2-vm:~/apps/wordpress/htdocs/wp-content/cache/busting/5$ ls
    wp-content-plugins-ajax-search-pro-css-style.basic-17rxEh.css
    wp-content-plugins-ajax-search-pro-css-style.basic-1eVaTu.css
    wp-content-plugins-ajax-search-pro-css-style.basic-3VGdjz.css
    wp-content-plugins-ajax-search-pro-css-style.basic-5DEDVi.css
    wp-content-plugins-ajax-search-pro-css-style.basic-5UYTBN.css
    wp-content-plugins-ajax-search-pro-css-style.basic-6FBu2N.css
    wp-content-plugins-ajax-search-pro-css-style.basic-6KgVTK.css
    wp-content-plugins-ajax-search-pro-css-style.basic-8cvNxn.css
    wp-content-plugins-ajax-search-pro-css-style.basic-APQh14.css
    wp-content-plugins-ajax-search-pro-css-style.basic-CJmffY.css
    wp-content-plugins-ajax-search-pro-css-style.basic-DUU0HH.css
    wp-content-plugins-ajax-search-pro-css-style.basic-f7IyVd.css
    wp-content-plugins-ajax-search-pro-css-style.basic-fbbjlx.css
    wp-content-plugins-ajax-search-pro-css-style.basic-fwystH.css
    wp-content-plugins-ajax-search-pro-css-style.basic-g1ffps.css
    wp-content-plugins-ajax-search-pro-css-style.basic-g2tQDF.css
    wp-content-plugins-ajax-search-pro-css-style.basic-gWg9mt.css
    wp-content-plugins-ajax-search-pro-css-style.basic-gXSDxv.css
    wp-content-plugins-ajax-search-pro-css-style.basic-iBjJl9.css
    wp-content-plugins-ajax-search-pro-css-style.basic-iqNRzZ.css
    wp-content-plugins-ajax-search-pro-css-style.basic-JdKTQt.css
    wp-content-plugins-ajax-search-pro-css-style.basic-jGRqEC.css
    wp-content-plugins-ajax-search-pro-css-style.basic-Ksy4w7.css
    wp-content-plugins-ajax-search-pro-css-style.basic-kt3QEe.css
    wp-content-plugins-ajax-search-pro-css-style.basic-LfBP1M.css
    wp-content-plugins-ajax-search-pro-css-style.basic-lJ6cCQ.css
    wp-content-plugins-ajax-search-pro-css-style.basic-ma0FMk.css
    wp-content-plugins-ajax-search-pro-css-style.basic-nNwfMG.css
    wp-content-plugins-ajax-search-pro-css-style.basic-oc93t6.css
    wp-content-plugins-ajax-search-pro-css-style.basic-oi4Rz2.css
    wp-content-plugins-ajax-search-pro-css-style.basic-onXvNR.css
    wp-content-plugins-ajax-search-pro-css-style.basic-prNlEB.css
    wp-content-plugins-ajax-search-pro-css-style.basic-pV0MoU.css
    wp-content-plugins-ajax-search-pro-css-style.basic-q7fpxW.css
    wp-content-plugins-ajax-search-pro-css-style.basic-qG8uWk.css
    wp-content-plugins-ajax-search-pro-css-style.basic-qI6Pbt.css
    wp-content-plugins-ajax-search-pro-css-style.basic-QpOAGE.css
    wp-content-plugins-ajax-search-pro-css-style.basic-rcyau9.css
    wp-content-plugins-ajax-search-pro-css-style.basic-SjbXop.css
    wp-content-plugins-ajax-search-pro-css-style.basic-tczHfK.css
    wp-content-plugins-ajax-search-pro-css-style.basic-tQFa60.css
    wp-content-plugins-ajax-search-pro-css-style.basic-v397vb.css
    wp-content-plugins-ajax-search-pro-css-style.basic-vaknzz.css
    wp-content-plugins-ajax-search-pro-css-style.basic-wlVtKw.css
    wp-content-plugins-ajax-search-pro-css-style.basic-wVEtay.css
    wp-content-plugins-ajax-search-pro-css-style.basic-ytrEwe.css
    wp-content-plugins-ajax-search-pro-css-style.basic-zjEpCu.css
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-17rxEh.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-1eVaTu.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-3VGdjz.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-5DEDVi.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-5UYTBN.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-6FBu2N.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-6KgVTK.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-8cvNxn.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-APQh14.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-CJmffY.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-DUU0HH.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-f7IyVd.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-fbbjlx.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-fwystH.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-g1ffps.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-g2tQDF.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-gWg9mt.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-gXSDxv.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-iBjJl9.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-iqNRzZ.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-JdKTQt.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-jGRqEC.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-Ksy4w7.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-kt3QEe.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-LfBP1M.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-lJ6cCQ.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-ma0FMk.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-nNwfMG.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-oc93t6.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-oi4Rz2.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-oLKkOn.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-onXvNR.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-prNlEB.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-pV0MoU.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-q7fpxW.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-qG8uWk.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-qI6Pbt.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-QpOAGE.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-rcyau9.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-SjbXop.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-tczHfK.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-tQFa60.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-v397vb.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-vaknzz.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-wlVtKw.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-wVEtay.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-ytrEwe.js
    wp-content-plugins-ajax-search-pro-js-min-jquery.ajaxsearchpro-noui-isotope.min-zjEpCu.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-17rxEh.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-1eVaTu.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-3VGdjz.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-5DEDVi.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-5UYTBN.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-6FBu2N.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-6KgVTK.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-8cvNxn.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-APQh14.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-CJmffY.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-DUU0HH.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-f7IyVd.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-fbbjlx.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-fwystH.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-g1ffps.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-g2tQDF.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-gWg9mt.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-gXSDxv.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-iBjJl9.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-iqNRzZ.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-JdKTQt.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-jGRqEC.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-Ksy4w7.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-kt3QEe.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-LfBP1M.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-lJ6cCQ.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-ma0FMk.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-nNwfMG.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-oc93t6.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-oi4Rz2.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-oLKkOn.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-onXvNR.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-prNlEB.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-pV0MoU.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-q7fpxW.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-qG8uWk.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-qI6Pbt.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-QpOAGE.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-rcyau9.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-SjbXop.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-tczHfK.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-tQFa60.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-v397vb.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-vaknzz.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-wlVtKw.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-wVEtay.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-ytrEwe.js
    wp-content-plugins-ajax-search-pro-js-nomin-photostack-zjEpCu.js
    wp-content-plugins-contact-form-7-includes-css-styles-4.6.css
    wp-content-plugins-jetpack-css-jetpack-4.4.2.css
    wp-content-plugins-jetpack-modules-related-posts-related-posts-20150408.css
    wp-content-plugins-jetpack-modules-related-posts-related-posts-20150408.js
    wp-content-plugins-jetpack-modules-widgets-facebook-likebox-style-4.7.css
    wp-content-plugins-js_composer-assets-css-js_composer.min-5.0.1.css
    wp-content-plugins-js_composer-assets-lib-bower-font-awesome-css-font-awesome.min-5.0.1.css
    wp-content-plugins-mycred-assets-css-mycred-front-1.7.5.css
    wp-content-plugins-revslider-public-assets-js-jquery.themepunch.tools.min-5.3.1.js
    wp-content-plugins-wc-vendors-pro-public-assets-js-wcvendors-pro-public.min-1.3.6.js
    wp-content-plugins-woocommerce-assets-js-frontend-add-to-cart.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-frontend-cart-fragments.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-frontend-price-slider.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-frontend-single-product.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-frontend-woocommerce.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-jquery-ui-touch-punch-jquery-ui-touch-punch.min-2.6.12.js
    wp-content-plugins-woocommerce-assets-js-prettyPhoto-jquery.prettyPhoto.init.min-2.6.12.js
    wp-content-plugins-woocommerce-direct-free-download-css-direct-free-download-4.7.css
    wp-content-plugins-woocommerce-direct-free-download-js-woocommerce-direct-free-download-4.7.js
    wp-content-plugins-yith-essential-kit-for-woocommerce-1-modules-yith-woocommerce-advanced-reviews-assets-css-yit-advanced-reviews-4.7.css
    wp-content-plugins-yith-essential-kit-for-woocommerce-1-modules-yith-woocommerce-advanced-reviews-assets-js-ywar-attachments-4.7.js
    wp-content-plugins-yith-essential-kit-for-woocommerce-1-modules-yith-woocommerce-ajax-navigation-assets-css-frontend-3.1.0.css
    wp-content-plugins-yith-essential-kit-for-woocommerce-1-modules-yith-woocommerce-ajax-navigation-assets-js-yith-wcan-frontend.min-3.1.0.js
    wp-content-themes-handystore-child-global-1.0.0.js
    wp-content-themes-handystore-child-style-1.0.0.css
    wp-content-themes-handystore-child-style-4.7.css
    wp-content-themes-handystore-js-bootstrap-3.3.5.js
    wp-content-themes-handystore-js-favourite-vendor-1.0.js
    wp-content-themes-handystore-js-imagesloaded-4.1.0.js
    wp-includes-js-comment-reply.min-4.7.js
    wp-includes-js-jquery-ui-widget.min-1.11.4.js
    rohit@wordpress-2-vm:~/apps/wordpress/htdocs/wp-content/cache/busting/5$

    I believe both the plugins are best in their domain so I will strongly favor for compatibility of both of them.

    Please note: I just cleared the cache so not many files are visible. I had 4 GB of these static files before clearing cache.

    I raised this issue with WP Rocket team as well.

    #11601
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I believe this might be because of the random media query string used, when the search instances are saved and the CSS files are re-generated. WP Rocket is probably saving the files individually, detecting the media query string as well.

    If you make changes to ajax search pro, just make sure to clear the site cache as well, and these files should be deleted I guess. I don’t think this is actually an incompatibility, simply the WP Rocket cache was uncleared.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11654
    Rohit Manglik
    Rohit Manglik
    Participant

    Hi Ernest,

    Yes, I confirmed with WP Rocket team, they are indeed ” saving the files individually, detecting the media query string as well”.

    In last 3 days, I cleared the cache (I cross checked and found that the folder is empty) and then did not touch Ajax Search Pro settings.

    After that I visited Cache folder of WP Rocket. Over there I can see 1GB of ASP files.

    Also, can you please cross check whether these files included through wp_enqueue_*. – Ref: https://wp-dreams.com/forums/topic/mixed-content-error-in-js-console/#post-11516

    Thanks for continued support 🙂

    Thanks

    #11657
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Interesting. That possibly means that the media query string is always re-generated, and it only happens on one condition, if the Force Inline Styles option is activated, or the debug mode is enabled.

    I don’t think the debug mode is on for the plugin, so it must be the inline styles. To turn it off, go to the Compatibility options submenu, and turn off the Force inline styles option: https://i.imgur.com/UhLRpeq.png

    Please note that this automatically turns on if there are permission issues on the upload folder. For that, make sure to check the if the wp-content/uploads/asp_upload/ folder exists and it’s writeable (some files should be in it). If not, then you should create it manually and chmod it to 0777.
    If there was a problem with the folder, then after correcting it, check the “Force inline styles” option again, so it’s turned off.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11660
    Rohit Manglik
    Rohit Manglik
    Participant

    Hi,

    Yes you are right, inline styling is on.

    Sorry but there is another error over here.

    I changed permissions as directed:

    rohit@wordpress-2-vm:~/apps/wordpress/htdocs/wp-content/uploads/asp_upload$ ls -lar
    total 164
    -rwxrwxrwx  1 bitnami daemon 77548 Jan 19 15:21 style.instances.css
    -rwxrwxrwx  1 bitnami daemon 40396 Jan 19 15:20 search2.css
    -rwxrwxrwx  1 bitnami daemon 37151 Jan 19 15:20 search1.css
    -rwxrwxrwx  1 bitnami daemon     0 Jan 19 15:34 index.html
    drwxrwxr-x 36 bitnami daemon  4096 Jan 19 15:34 ..
    drwxrwxrwx  2 bitnami daemon  4096 Jan 19 15:34 .

    When I disabled it, styling of ASP got wrong (capture.png).

    I further tried to debug and accessed these files through browser and I was unable to access. However, I was able to view other files in that folder (uploads.png). I have no idea why.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #11663
    Rohit Manglik
    Rohit Manglik
    Participant

    Permission of other files:

    rohit@wordpress-2-vm:~/apps/wordpress/htdocs/wp-content/uploads$ ls -lar
    total 2740
    drwxrwxr-x  6 bitnami daemon    4096 Jul  5  2016 wysija
    drwxrwxr-x  2 bitnami daemon    4096 Jul  5  2016 wpseo-redirects
    drwxrwxr-x  7 bitnami daemon    4096 Sep 10 17:17 wpallimport
    drwxrwxr-x  4 bitnami daemon    4096 Sep  8 14:21 wpallexport
    drwxrwxr-x  2 bitnami daemon   12288 Jan 14 11:27 wordpress-popular-posts
    drwxrwxr-x  3 bitnami daemon    4096 Jul  8  2016 woocommerce_uploads
    drwxrwxr-x  2 bitnami daemon    4096 Aug  2 00:00 wc-logs
    drwxrwxr-x  2 bitnami daemon    4096 Jul  5  2016 userphoto
    drwxrwxr-x  4 bitnami daemon    4096 Aug 24 10:03 uploads
    drwxrwxr-x 92 bitnami daemon    4096 Jan 18 14:18 ultimatemember
    drwxrwxr-x  3 bitnami daemon    4096 Jul  5  2016 ulp
    drwxrwxr-x  3 bitnami daemon    4096 May  2  2016 tp-datademo
    drwxrwxr-x  2 bitnami daemon    4096 May 14  2016 tmp
    -rw-rw-r--  1 bitnami daemon    3044 Apr 18  2016 titan-framework-gambit-loading-bar-css.css
    drwxrwxr-x  3 bitnami daemon    4096 May 30  2016 smile_fonts
    drwxrwxr-x  9 bitnami daemon    4096 Jan 16 15:10 sites
    drwxrwxr-x  2 bitnami daemon    4096 Jan 19 09:15 siteorigin-widgets
    drwxrwxr-x  8 bitnami daemon    4096 Oct 23 12:05 revslider
    drwxrwxr-x  3 bitnami daemon    4096 Nov 29 19:12 pb_backupbuddy
    drwxrwxr-x  2 bitnami daemon   20480 Dec  8 17:50 ninja-popups
    drwxrwxr-x  2 bitnami daemon    4096 Oct 29 06:25 learn-press-logs
    drwxrwxr-x  2 bitnami daemon    4096 Dec 25 03:01 js_composer
    drwxrwxr-x  2 bitnami daemon    4096 Nov  7 03:05 ip2nation
    -rwxrwxrwx  1 bitnami daemon       0 Oct 10 08:34 index.html
    -rw-rw-r--  1 bitnami daemon 1708801 Sep  1 12:00 GeoIPv6.dat
    -rw-rw-r--  1 bitnami daemon  914465 Sep  1 12:00 GeoIP.dat
    drwxrwxr-x  2 bitnami daemon    4096 Oct 27 07:36 file-manager
    drwxrwxr-x  2 bitnami daemon    4096 Nov 20 18:11 cp_preset_screenshots
    drwxrwxr-x  2 bitnami daemon    4096 Dec  2 19:11 backupbuddy_backups
    drwxrwxr-x 10 bitnami daemon    4096 Jan  2 08:09 backup
    drwxrwxr-x  3 bitnami daemon    4096 Apr  8  2016 avatars
    drwxrwxrwx  2 bitnami daemon    4096 Jan 19 15:34 asp_upload
    drwxrwxr-x  3 bitnami daemon    4096 Dec 31 18:30 2017
    drwxrwxr-x 14 bitnami daemon    4096 Nov 30 18:30 2016
    drwxrwxr-x 14 bitnami daemon    4096 Sep 26 14:45 2015
    drwxrwxr-x 11 bitnami daemon    4096 May  2  2016 2014
    drwxrwxr-x 14 bitnami daemon    4096 Apr  8  2016 2013
    drwxrwxr-x 10 bitnami daemon    4096 Apr  8  2016 2012
    drwxrwxr-x 20 bitnami daemon    4096 Jan 17 14:23 ..
    drwxrwxr-x 36 bitnami daemon    4096 Jan 19 15:34 .
    rohit@wordpress-2-vm:~/apps/wordpress/htdocs/wp-content/uploads$
    

    I hosted .htaccess file at https://edugorilla.com/htasp (Just in case you need it for debugging).

    #11665
    Rohit Manglik
    Rohit Manglik
    Participant

    If I copy that file somewhere else in upload folder w/o changing permission, I am able to access it through browser:

    https://edugorilla.com/wp-content/uploads/asp_test/style.instances.css

    #11666
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I don’t see any irregularities in the .htaccess at firs sight, so let’s rule that out for a second.

    The only difference there is the folder and the file permissions. It is possible that if the file/folder permissions are above a certain level, the server might not serve them. I believe it’s some kind of protection.

    So, you should try to change the permission of the asp_upload folder to the same as the others (I guess it’s 775), and do the same for the file permissions in the asp_upload folder (.

    As a test case, you can try making another folder in the uploads folder, for example ‘test’ with permissions 0777 and put a file in there and chmod that as well to 0777, and see if you can reach it via browser. If not, then there is definitely a restriction on permissions, and it should be lowered until the file is reachable.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11667
    Rohit Manglik
    Rohit Manglik
    Participant

    Hi Ernest,

    This issue is fixed now. Varnish cache was sending 404 response.

    Switching off both the options in Compatibility tab worked.

    This ticket can be closed.

    Thanks for your continued support 🙂

    #11671
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

The topic ‘9) Incompatible with WP Rocket’ is closed to new replies.