RSS
News
PHP 8.6.0 Released!

This release was also a security release... that changed session behavior regarding session.upload_progress.enabled. This also applies to 8.5.13, 8.4.28, 8.3.37, and 8.2.36 - patched 8.1 and earlier had session.upload_progress.enabled blunted to 'Off' without actually doing so within php.ini (this was from PHP2Shell), so those versions' php.ini should have them set to 'Off' anyway.

This actually broke this install and others on this server that used this setting. After upgrading this install to the PHP 8.6.0 release after all these alphas, betas, and RCs, a nice white screen displayed on my browser with the following:

PHP Fatal error:  Uncaught Error: Session ini settings cannot be changed at runtime when session.upload_progress.enabled is On

eFiction 3 Mod Version 0.9.4 fixes this by using a php.ini check. (Which, ironically, had to be proper fixed two days after this news entry. So... 2026/11/21.) Before you upgrade, temporarily disable the setting of session.upload_progress.enabled. If you really need this setting enabled — which is very unlikely, the two settings need to be set in php.ini (and nowhere else, as the CVE-2026-115560 security updates now prevent this):

session.cookie_httponly = 1
session.cookie_samesite = "Lax"

This is not needed for PHP 8.6.0, as they are the default settings now. Here is another setting that is default for PHP 8.6.0 that you may want to use on earlier supported PHP versions:

session.use_strict_mode = 1



Ami Sapphire on 2026/11/19 • 19:00
[ 0 Comments ]
Yet more patching up this system...

More updates... Previous entry.

* blocks/menu/admin.php: unserialize() warning, deprecation notice - cropped up with patching this block's menu.php file with the original PHP 8.x deprecation fix - Definitive fix (2026/11/11)
* blocks/menu/menu.php: further PHP fixes: undefined index notice for PHP 7.x/undefined array key warning for PHP 8.x (same issue) - cropped up with patching this very file with the original PHP 8.x deprecation fix - Definitive fix (2026/11/11)
* includes/storyform.php: remove character 'None' option as it is the same as selecting no characters in the list (or CTRL-clicking selected characters to none) (2026/11/12)
* various pages on the site: add missing textarea ids, as they are required in order for the tinyMCE toggle to work in tinyMCE 6.x and later [old reference] (2026/11/13)
* blocks/categories/admin.php: fix inverted tinyMCE checkbox - tinyMCE editor shows up when unchecked instead of intended checked (2026/11/13)
* blocks/online/en.php: already defined 'GUESTS' constant fix (2026/11/15)
* viewstory.php: single-chapter stories now have a proper chapter check (2026/11/15)
* default_tpls/viewstory.tpl: prev/next pagination now also exists above the chapter, just above the story notes (2026/11/15)
* news.php, admin/news.php: both should use format_story function to display news entries (2026/11/16)
* session and Remember Me cookies now require upload progress and PHP version checks due to security patches for CVE-2026-115560, also known as PHPAfterShell or PHP2AfterShell (2026/11/19, 2026/11/21)
* various layout fixes and changes
* chapter storytext entries expanded from bytes: 65,535 -> 16,777,215 - basically datatype from historical text to mediumtext (you do not really need longtext, which is 4,294,967,295...) - Reason for this is some special characters, a lot of other language characters, and emoji within Unicode are multibyte, which will hamper the already limited stored database text data type - that and some people actually do write quite long chapters already, hence the expansion - Most will still use the story chapter files setup, but some that do use the story chapter database setup with a modern server configuration (large SSD or fast HDD RAID especially) should be fine



Ami Sapphire on 2026/11/15 • 15:45
[ 1 Comments ]
PHP 8.6.0 is upgraded to Release Candidate 7!

Yes, there is also a PHP 8.6.0 RC6, though unannounced. And yes, I did grab a copy of the source package.

I also joked that it (RC6) would go the way of RC1...

This still applies, by the way.



Ami Sapphire on 2026/11/12 • 16:25
[ 0 Comments ]
Even more patching up this system... again, again...

Yet another update! Previous entry...

* modules/challenges/challenges.php: missing language includes results in an Undefined constant error message for PHP 8.x users fix, coalescing -> ternary fix [that coalescing operator came from upstream!] (2026/11/03)
* modules/challenges/otherresults.php: change searchterm filter to match other patched modules fix (2026/11/03)
* user/favau.php: already favorited authors/co-authors in an array no longer bug out the entire page and function when adding them along with Array to string conversion PHP warnings fix (2026/11/03)
* search.php: Advanced Search - Sorting Order [Alphabetical/Most Recent] fix (2026/11/04, Definitive Fix 2026/11/07)
* blocks/menu/menu.php: PHP 8.5.x deprecation fixes (2026/11/09)
* includes/characterlist.php: accidental hacky fix for character list bugging out when using the category list for tinyMCE 4.x and newer - use the user-defined isNumber function twice in the file...?! 🤦‍♀️ (2026/11/10, Reverted 2026/11/12 for includes/storyform.php patch)



Ami Sapphire on 2026/11/10 • 21:14
[ 0 Comments ]
eFiction 3 Mod version number change

It now no longer uses the 3.5.x naming scheme, though the codebase is built from it. Current tagged release is 0.8.5, but has the old number scheme of 3.5.9. This archive's running build is 0.9.0.

Going to be fun wrangling out of this in the update.php script...



Ami Sapphire on 2026/11/09 • 20:18
[ 0 Comments ]
PHP 8.6.0 is upgraded to Release Candidate 5!

Not too much to say regarding this release and upgrade besides the fact that stuff still works here so far. The story as to how we got here, however...

---

The GA release is on November 19, 2026, so this test install will run under PHP 8.6.0 and future stable 8.6 versions going forward.

This fork's codebase will still be tested under PHP 8.6 as it always has since Alpha 3, and my final personal fanfiction install will also use PHP 8.6.

Before I noticed PHP 8.6.0 had an alpha release, I went on the PHP website to check for updates as usual... and found out 8.6.0 Alpha 1 came out. That was back on July 2, 2026. I saw that and was like "Yeah, Alpha 1!", downloaded it, and... didn't bother with it (got Alpha 2 as well) until Alpha 3 rolled around in late July 2026. By then, I was patching my fork of eFiction '3.5.9', now called eFiction 3 Mod (internally, but not in code - yet). That was running under PHP 8.5.9 at the time, then I moved it to 8.6.0 Alpha 3 as a test, and it has stuck since. This install will always run with displaying warnings and errors enabled, since - obviously - it's a test install.

For the record, I do still have a copy of the PHP 8.6.0 RC1 source package in .tar.xz format... the one that no longer exists, lol.

The Stable Grounds (URL path of /eee/ ; I can change this, but...) still uses PHP 8.5, but that is to test slight oddities between it and 8.6. It was about as chaotic as well, with total database clearances and reinstallations just to test the install and update scripts. This stopped around September 6, 2026, with it finally frozen: with a news entry, some characters added, a rating, a category, and one test story 'upload' (read: straight-up copy-paste from the text file itself). The formatting was borked, because it was meant to be in code tag HTML format, and regular space characters were stripped out, so nbsp HTML entity was to be used in its place...

Another install, called ef-clean, still runs under a patched 7.4.33, but it is quite barebones and is used to test quirks that may crop up under 8.x, but not in 7.4; this is done by Apache configuration commenting on this server (the only time this actually came up was with browse/class.php). The empty install is on purpose, and is intended for null entry testing specifically. I may have found all of them so far, but this particular setup still remains installed for now.

There was another install, called ef-test (this also ran under PHP 7.4.33, and PHP2Shell was not known to the public at that time), but it was stuck on an unmodified version 3.5.8 (f1/.2) fork and only had two news entries mentioning database changes dating back to mid-April 2026. One was regarding using the root account's credentials rather than a database-specific account's (bad idea, which was why it was changed in the first place), and one was regarding the database being converted from MyISAM to InnoDB and succeeding. Yes, this was the precursor install to the eFiction Testing Grounds... by a mere three days. It was retired on Sunday, September 27, 2026 and deleted off the server... but the relevant data was backed up beforehand.



Ami Sapphire on 2026/11/05 • 10:53
[ 0 Comments ]
Even more patching up this system... again...

Once again! The previous entry, and short list again...

* browse/class.php: even more PHP 8 warnings dirty fixes (undefined array key, undefined variable, foreach)... (2026/10/30)
* upstream is hard at work patching up eFiction 3 this time, so some of those patches made it here - both security and bugfixes! Of course, this requires some cleanup and removal of old hacks (2026/10/31)
* PHPMailer 6.12.0 works with this eFiction fork, along with the replacement Autoload shim! (2026/10/31)
* user/revres.php: Uncaught TypeError when trying to respond to a nonexistent review fix - also sub-issue is an undefined variable for the same thing fix (2026/11/01)
* search.php: Ancient eFiction 3.2/3.2.1 rewrite path oversight in series 'otherresults' search fix (typo), sub-issue is also the fact that it showed every series (or series from a[ny] given categor[y|ies]) instead of using the search terms 'otherresults' for the series (or series from the given categor[y|ies]) (2026/11/02)
* search.php: Searching for stories via penname and full text entries (mysql only) can display some duplicate story entries in search results in certain conditions fixes (2026/11/02)



Ami Sapphire on 2026/11/02 • 19:57
[ 0 Comments ]
Sending e-mail now works on this test setup

Had to specify the certs path in php.ini in order for it to work.

This version can use PHPMailer 6.12, but the connection test is stuck on 5.2.14 due to the use of Autoload.

Until that is figured out, this fork is stuck on version 5.2.14.

--

Edit: PHPMailer upgraded: 5.2.14 -> 5.2.28.
Edit 2: Got PHPMailer 6.12.0 to run!
Edit 3: This eFiction 3 fork now supports PHPMailer 6.12.0.
Edit 4: Changed the e-mail details back to the dummy data I had used for months as I do not want to become a potential e-mail spammer if this test install was ever compromised.



Ami Sapphire on 2026/10/31 • 08:46
[ 0 Comments ]
Even more patching up this system...

More patching! The previous entry, and short list again...

* PHP 5 support is slowly returning... PHP 8 support will still happen, of course.
* A ~20-year-old bug regarding site skin selection in Account Info > Edit Preferences is now finally fixed! (2026/10/28)
  - Here is the Github link of the commit in question.
* admin/panels.php: further PHP 8 warnings are dirty-patched: Undefined array key when viewing the panel list with a panel that has null entries and Trying to access array offset on null when creating such a panel with null entries (2026/10/28)
  - you can create panels without any designation; yes, that breaks things. Technically it should be a drop-down selection, but am not arsed to deal with it, lol.
* news.php: Trying to access array offset on null PHP 8 warnings when trying to access a nonexistent or formerly existing (!) news entry dirty fix (2026/10/29)
* news.php: added a check for nonexistent or formerly existing news entry (2026/10/29)
* news.php, reviews.php: some dirty fixes are now removed due to added checks, but reviews.php needed some dirty fixes for item 0 (2026/10/29)



Ami Sapphire on 2026/10/30 • 00:45
[ 0 Comments ]
Patching up this system - once again - again - the sequel

Another update! Exactly two weeks this time... The previous entry...
This list is not as long this time, but a lot was updated in the back-end!

* proper fix for UTF-8 database backup tool in admin/maintenance.php
* viewstory.php: undefined variable warnings while trying to access a nonexistent chapter for an existing story
  - embarrassing that it took three tries to fix...
* security patches and hardening of eFiction script in various places - thanks especially to Danilo Stern-Sapad
* eFic2eFic bridge is patched and updated again
* Deleting a custom page on eFiction 3 Mod now has a confirmation prompt instead of just deleting it outright
* database function changes from eFiction 3.5.72 and further removal of hardcoded MySQL entries
* more general cleanup of script, especially for future PHP 9




Ami Sapphire on 2026/10/27 • 10:42
[ 0 Comments ]