-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Version Salt - NOT WORKING [v. 140605] #231
Comments
Hi @soukupl, Can you tell me what you mean by ""Dynamic Version Salt" can NOT be set"? Are you receiving an error? Or are you added the version salt but Quick Cache appears to be ignoring what you've added? Can you copy/paste exactly what you're adding to the Dynamic Version Salt field? |
Hi @raamdev , $_SESSION['user']['PersonalNumber'] I have tested it on several hosts with the same result... Value of "Dynamic Version Salt" is not saved. On older version, "MD5 Version Salt" was working with the same value. I have created screencast from 3 hosts (2 with new version and one with older version). |
@soukupl Thank you for the additional information and the video! I can confirm that I'm seeing the same behavior on my end. It looks like this might be a bug. @jaswsinc When I try to save
It shouldn't be necessary for the dynamic version salt to always be present, should it? Do you agree that this seems like a bug? |
@raamdev From what I can tell, there are two issues going on here.
I would suggest
Another option would be to define the version salt inside Example, inside
Your Quick Cache version salt would then become...
It's important to keep in mind that Quick Cache (i.e. the advanced-cache.php file in WordPress) loads very early-on. So using a session value may not work at all, it just depends on where/how the session is being started on a given site. |
@jaswsinc Thanks. This has been fixed in the dev branch and will go out with the next release.
Got it. Would it make sense then to update the inline documentation to include a note at the bottom about that? That PHP notice threw me off, but if I had known that was expected I would've felt better about seeing it. |
Yes, I agree. It might even be easier if we have a separate KB article to cover this in greater detail. Oh, we actually have one already. Whatever you think is fine with me. Maybe just a warning there... PLEASE READ THIS ARTICLE before using a version salt; and include that in the article.
Great! |
Ah, yes, I had forgotten about that! Thanks. I've updated that article with a new section, Why am I seeing PHP Notices related to my version salt? |
@soukupl The bug you reported has been fixed in the dev version and will go out with the next release. If you're interested in testing a beta release of Quick Cache before the next version comes out, please sign-up to be a beta tester here. Please see also @jaswsinc's suggestions above. I'm going to close this issue now unless you have anything else to report. |
Could you provide a version of https://github.com/WebSharks/Quick-Cache/blob/000000-dev/quick-cache/includes/ac-plugin.example.php that is ready to be enabled as is? I'm thinking I might be doing something wrong. Also you may want to add a check before initiating, as it shows |
@kalligator Please see the documentation in the file that you referenced: /*
* If implemented; this file should go in this special directory.
* `/wp-content/ac-plugins/my-ac-plugin.php`
*/ You're placing the file in the wrong directory. Also, in the future, please open a support request for questions like these. |
hi,
I have just updated QuickCache pro to version 140605 (from 140104) and discovered two things...
I have downgraded back to 140104. Please, look at this issue. Looking forward for fixed version :)
BTW: QuickCache is GREAT plugin and our top choice :)
The text was updated successfully, but these errors were encountered: