Florian Bansac
Forum Replies Created
-
Hi,
After a few days without problems, the ‘add to cart’ button is not working again, even though I have the JS not Autoptimized.
I deleted the cache and it works again, but it’s definitely not optimal to keep on checking every day and deleting the cache as a temporary bug fix.
I’m still nowhere near solving the issue after several weeks of trying many different things, the Easy Digital Downloads plugin, which previously worked flawlessly, is now greatly impaired, forcing me to reevaluate options for the future.
@pratik-jain
I use the plugin on a site that is part of a WP Multisite install… could this be an additional source of issues?@optimizingmatters
I have tried excludingwp-content/plugins/easy-digital-downloads/
but this was ineffective.Well, after some more checking, that seems to be the best solution for me too, for now.
Cart widget still not updating well on homepage though.- This reply was modified 4 years, 8 months ago by Florian Bansac.
- This reply was modified 4 years, 8 months ago by Florian Bansac.
Hi Pratik,
Thanks for the support, but disabling the AJAX is not a good idea.
People who click on the button don’t see any result… the product may be added to the cart, but if you don’t see it, it looks like it doesn’t work. And no one would ever buy anything from a website that looks broken.
+ it doesn’t solve my home page cart problem not being updated.
Actually, on second check, disabling the JS optimization in Autoptimize makes the behavior of the cart widget worse: pages do not reload anymore when downloads are removed.
Reenabling the JS optimization for now.
Will keep on checking if downloads buttons are ineffective and clear cache if yes.
+ I still have the problem of the cart not updating on the Home page when adding/removing downloads, and some archive pages too (single posts and downloads pages seem to work OK)
Very suboptimal though.
Any help welcome!
Well, the JS optimization is disabled for now, will see if the problem happens again.
But it’s not a great situation to downgrade other plugins. Is there a specific JS script that I can include in the exclusion list?Autoptimize proposes this option:
A comma-separated list of scripts you want to exclude from being optimized, for example 'whatever.js, another.js' (without the quotes) to exclude those scripts from being aggregated by Autoptimize. Important: excluded non-minified files are still minified by Autoptimize unless that option under "misc" is disabled.
Anyway, I still have another longer-standing problem with the EDD cart (with EDD cart widget and WP Cart Menu) not updating on the home page when downloads are added/removed. (…On the Home Page only, even though I have double-checks for the home page option ON in the WP Super Cache options.)
Thanks for your help!
Hi,
I have had the same problem with WP Super Cache (+ Autoptimize) for some time.
When you click the button Add to Cart, the loading icon keeps on turning forever and does not add the product to the cart.
Until I clear the cache, then everything works fine.
I have already tried
define( 'EDD_USE_PHP_SESSIONS', false );
but nothing changes.Thanks for your help!
- This reply was modified 4 years, 8 months ago by Florian Bansac.
Hi,
It would seem that I have found the solution to this issue (hurray!):
As the error log of my host yesterday came to be available only today, I went to check it and the server indicated the following error:
Invalid command '\xef\xbb\xbf#', perhaps misspelled or defined by a module not included in the server configuration
It turns out that this is due to a misreading of the text document I used to write the .htaccess file due to wrong encoding, as explained here: https://stackoverflow.com/questions/5373334/500-internal-server-error-when-using-htaccess-with-rewriteengine
I made sure I saved my .htaccess using ANSI encoding and everything went back to normal.
Hope it helps if you encounter the same problem.
Unfortunately I already tried that without success.
I just tried it again while also disabling the plugins through FTP, doesn’t work either.
And I did try to deactivate all plugins via FTP and via phpmyadmin, without success.
Thanks, but it doesn’t seem to work.
Actually I have already been through all this list:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
without any success… I am contacting my host.I thought some knowledgeable people about the iThemes security plugin could maybe help though: I was wondering if the following lines that seem to block people from editing the htaccess didn’t crash everything (to protect the site?).
<files .htaccess> Order allow,deny Deny from all </files>
And if that’s the case if there is no way to “unlock”/”uncrash” the site?
Maybe I should have re-allowed before editing… I do agree :/
My VERY BIG bad in this case!Forum: Plugins
In reply to: [WP Vegas] Vegas Slider doesn't work on SafariHi,
Thanks for this plugin that works great in Chrome, FF and even in IE (!), especially since the last update and management of WP media images making it much more convenient.
However I do have a problem in Safari for windows (assuming same misbehavior on Mac), where the images are not stretched to fit the screen after their first load. It seems that the position and width are calculated properly when the image is first loaded and the images is stretched to fit the screen, but on following iterations of the slideshow the images are displayed with their original width, with top:0 left:0 positions, resulting in a blank screen space to the right.
I use 1200x800px images only and Safari for Windows 5.1.7 with windows 7. Please note that the latest update of your plugin corrected the same issue on Safari for iPhone.
You can see it live on the dev website: execed.asia
Thanks for your support
Forum: Themes and Templates
In reply to: [Twenty Thirteen] white margin on mobile safari & chromeAfter some more testing, I found that it seems that the problems comes from the JS searchbox in the main navigation:
-when the search box is open, the margin disappears both on chrome for desktop and chrome & safari mobile on iPhone, and everuthing looks good – all screens all browsers full width, no horizontal scrollbar
-as soon as the search box is collapsed again, the margin/white space reappears on the right on mobile and the horizontal scrollbar on chrome desktop is back.
Would anyone more knowledgeable in JS that could happen to pass by here tell me how to correct this, if possible?
Much appreciated!
Forum: Themes and Templates
In reply to: Theme Twenty Thirteen – white margin in small screensAfter some more testing, I found that it seems that the problems comes from the JS searchbox in the main navigation:
-when the search box is open, the margin disappears both on chrome for desktop and chrome & safari mobile on iPhone, and everuthing looks good – all screens all browsers full width, no horizontal scrollbar
-as soon as the search box is collapsed again, the margin/white space reappears on the right on mobile and the horizontal scrollbar on chrome desktop is back.
Would anyone more knowledgeable in JS that could happen to pass by here tell me how to correct this, if possible?
Much appreciated!
Forum: Themes and Templates
In reply to: Theme Twenty Thirteen – white margin in small screensRe-installed WP, deleted twenty thirteen, re-installed twenty thirteen.
Doesn’t work…