-
Notifications
You must be signed in to change notification settings - Fork 447
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
SEED issue with 3.6.1 #1028
Comments
the ternary reads like "if |
Wouldn't that be |
The ternary is correct. But there's an issue with this line. Looks like a remnant from an old version. |
|
Oops, you're right, since php 5.3 apparently so I'm way late to this party! Learn something everyday 👍 Anyway, my initial issue still stands though. Have you been able to confirm you also get the prefix behavior I mentioned on my first post? |
@ptdev should be fixed in https://github.com/bcosca/fatfree-core now. |
Great, thanks @xfra35 |
Hi guys, just updated some apps to 3.6.1 and noticed an issue.
Before upgrading, I had a SEED set (say: myseed) and my cache entries were saved like:
myseed.2fiubxqhv1a8c.url
After the upgrade my cache entries are getting saved as:
1.2fiubxqhv1a8c.url
Can anybody else confirm this? Thanks
EDIT: using php 7.1 and APCu cache engine
EDIT 2: The issue seems to be at line 2614.
This line:
$this->prefix=$seed?:$fw->SEED;
If I change it to:
$this->prefix=$fw->SEED;
It fixes the issue. I saw on the changelog something regarding a more flexible "SEED" but didn't really get what changes were made or if any changes are required on the code on our end.
Looking at that line I have to say I don't really get what that's doing. If there's a $seed, then set prefix to nothing? Otherwise use the hive's seed?
The text was updated successfully, but these errors were encountered: