| ... | ... |
@@ -30,7 +30,7 @@ This script is being tested for issues with future (now released 2026/11/19) PHP |
| 30 | 30 |
default_charset = "UTF-8" |
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
-Just caught on 2026/11/19: session cookie settings behavior is changed: as of CVE 2026-115560, ini session settings cannot be set with a PHP file when session.upload_progress.enabled is set to On, as that will bring up an Uncaught Error in patched versions; either disable the aforementioned setting or set session.cookie_httponly to 1 and session.cookie_samesite to Lax in php.ini. PHP 8.6.0 sets these to 1 and Lax by default. |
|
| 33 |
+Just caught on 2026/11/19: session cookie settings behavior is changed: as of CVE 2026-115560, ini session settings cannot be set with a PHP file when session.upload_progress.enabled is set to On, as that will bring up an Uncaught Error in patched versions; either disable the aforementioned setting or set session.cookie_httponly to 1 and session.cookie_samesite to Lax in php.ini. PHP 8.6.0 sets these to 1 and Lax by default. The samesite session cookie entry was introduced in PHP 7.3.0, so that one will not work on anything earlier than this. |
|
| 34 | 34 |
|
| 35 | 35 |
session.upload_progress.enabled = Off |
| 36 | 36 |
|
| ... | ... |
@@ -25,11 +25,25 @@ Just place the script over your current install like any upgrade. This script ca |
| 25 | 25 |
|
| 26 | 26 |
### PHP |
| 27 | 27 |
|
| 28 |
-This script is being tested for issues with future PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this meant that you can no longer use eFiction with PHP 5.6 and earlier. However, since 2026/10/29, such coalescing patches were removed and PHP 5.6 could be used again. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset. |
|
| 28 |
+This script is being tested for issues with future (now released 2026/11/19) PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this meant that you can no longer use eFiction with PHP 5.6 and earlier. However, since 2026/10/29, such coalescing patches were removed and PHP 5.6 could be used again. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset. |
|
| 29 | 29 |
|
| 30 | 30 |
default_charset = "UTF-8" |
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
+Just caught on 2026/11/19: session cookie settings behavior is changed: as of CVE 2026-115560, ini session settings cannot be set with a PHP file when session.upload_progress.enabled is set to On, as that will bring up an Uncaught Error in patched versions; either disable the aforementioned setting or set session.cookie_httponly to 1 and session.cookie_samesite to Lax in php.ini. PHP 8.6.0 sets these to 1 and Lax by default. |
|
| 34 |
+ |
|
| 35 |
+session.upload_progress.enabled = Off |
|
| 36 |
+ |
|
| 37 |
+or |
|
| 38 |
+ |
|
| 39 |
+session.cookie_httponly = 1 |
|
| 40 |
+session.cookie_samesite = Lax |
|
| 41 |
+ |
|
| 42 |
+You may want this as well: |
|
| 43 |
+ |
|
| 44 |
+session.use_strict_mode = 1 |
|
| 45 |
+ |
|
| 46 |
+ |
|
| 33 | 47 |
### Database |
| 34 | 48 |
|
| 35 | 49 |
Due to the community changes to this script over the years, it now handles text and data as UTF-8 as opposed to ISO-8859-1. Further changes to this script here should fully handle multibyte characters now. Yes, eFiction can now finally use emoji! To fully take advantage of this archive's character set, the database server does need to connect and use the utf8mb4 collation. This is just a sample for my.cnf or equivalent, needed for older installs and versions. Note: character_set_system is hardcoded and cannot be user-set. |
| ... | ... |
@@ -104,7 +104,8 @@ Even earlier installs actually never specified an SQL session but rather used th |
| 104 | 104 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| 105 | 105 |
- header.php: leftover array typo oversight fix with age consent feature |
| 106 | 106 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 107 |
-- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
|
| 107 |
+- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix, deprecation notice fixes re: using null as an array offset |
|
| 108 |
+- blocks/menu/admin.php, blocks/menu/menu.php: further fixes for array keys due to the prior deprecation notice fixes - menu was $pagelinks[$page] -> $page - admin was an if statement for unserialize() |
|
| 108 | 109 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fixes and Undefined array key PHP warning when viewing the list that contains a panel with null entries fix |
| 109 | 110 |
- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix (these also had PHP warnings, but the checks made most of them nil), Uncaught TypeError with leaving a review on a story/chapter with co-authors present fix (likely related to newer upstream patches) |
| 110 | 111 |
- viewstory.php: Add proper chapter checks for missing or nonexistent chapters (was Undefined variable warnings when trying to access a nonexistent or formerly existing chapter for PHP 8 users dirty fix) |
| ... | ... |
@@ -136,6 +137,8 @@ Even earlier installs actually never specified an SQL session but rather used th |
| 136 | 137 |
- includes/storyform.php: remove ancient 'None' option from the Characters section as it was redundant (selecting nothing achieved the same effect); that and any tinyMCE newer than 3.4.9 made it disappear when using the Categories section - it was present ever since eFiction 3.0 - this option also never existed when adding/editing series |
| 137 | 138 |
- includes/categories.php: replace multiple selections constant with the multiple categories constant as it will disappear when 'Only one' setting is used; add selected categories button is now more prominent |
| 138 | 139 |
- series.php, includes/storyform.php: relocated the multiple selections constant to where it actually belongs - just before the categories section for stories/chapters; added the multiple selections constant for series to match the story form as it was never present |
| 140 |
+- news.php, admin/news.php: use format_story function for rendering news entries - news.php used nl2br (which triple-spaced paragraphs on news entries that used tinyMCE especially), admin/news.php used nothing (which may render newlines as \r, \n, or \r\n in display) |
|
| 141 |
+- fanfiction_chapters storytext column is changed from text -> mediumtext |
|
| 139 | 142 |
- Some security patches from https://github.com/Hyperion360/efiction fork |
| 140 | 143 |
- Some security patches from upstream (not all, as some modules have slight issues with them) |
| 141 | 144 |
- Bridges return! Their removal got rid of the example work, which is now updated as well |
| ... | ... |
@@ -107,7 +107,7 @@ Even earlier installs actually never specified an SQL session but rather used th |
| 107 | 107 |
- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
| 108 | 108 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fixes and Undefined array key PHP warning when viewing the list that contains a panel with null entries fix |
| 109 | 109 |
- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix (these also had PHP warnings, but the checks made most of them nil), Uncaught TypeError with leaving a review on a story/chapter with co-authors present fix (likely related to newer upstream patches) |
| 110 |
-- viewstory.php: Undefined variable warnings when trying to access a nonexistent or formerly existing chapter for PHP 8 users dirty fix |
|
| 110 |
+- viewstory.php: Add proper chapter checks for missing or nonexistent chapters (was Undefined variable warnings when trying to access a nonexistent or formerly existing chapter for PHP 8 users dirty fix) |
|
| 111 | 111 |
- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
| 112 | 112 |
- viewuser.php: Add a check for anyone trying to access any nonexistent or formerly existing users - this also applies to UID 0, which should never exist (these also had PHP warnings, but the checks made most of them nil) |
| 113 | 113 |
- news.php: Add a check for anyone trying to access a nonexistent or no longer existing news entry (these also had PHP warnings - namely Trying to access offset array on null, but the checks made them nil) |
| ... | ... |
@@ -126,6 +126,7 @@ Even earlier installs actually never specified an SQL session but rather used th |
| 126 | 126 |
- includes/mysqli_functions.php: Updated MySQL query behavior - this comes from the eFiction 3.5.72 release |
| 127 | 127 |
- user/editprefs: the ~20-year-old skin selection bug is finally fixed! |
| 128 | 128 |
- blocks/categories/admin.php: fix inverted tinyMCE checkbox behavior - didn't mention this in the commit, but this was actually internally fixed way back in early 2012 |
| 129 |
+- blocks/online/en.php: already defined 'GUESTS' constant fix |
|
| 129 | 130 |
- various blocks and admin pages: textarea id requirements for tinyMCE 6.x and later support fixes |
| 130 | 131 |
- various sections: passing null to certain functions PHP 8.x deprecations fixes |
| 131 | 132 |
- admin/members.php, includes/button.php, includes/plain.button.php, user/lostpassword.php: casting from double to float due to PHP 8.5 deprecation notice fix |
| ... | ... |
@@ -142,6 +143,7 @@ Even earlier installs actually never specified an SQL session but rather used th |
| 142 | 143 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| 143 | 144 |
- Setting to enable or disable new user registrations - sorely needed for some archives |
| 144 | 145 |
- New Archive Conversion page for Unicode database conversions - initial Mod conversion and Unicode versions 4.0, 5.2, 9.0, 14.0 |
| 146 |
+- implement prev/next pagination buttons for chapters at the top - already exists for the bottom |
|
| 145 | 147 |
|
| 146 | 148 |
<br> |
| 147 | 149 |
|
| ... | ... |
@@ -53,11 +53,13 @@ Reference: https://mariadb.com/docs/server/server-management/variables-and-modes |
| 53 | 53 |
|
| 54 | 54 |
Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");** and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. It is recommended to uncomment the line **mysqli_query($mysqli_access, "SET collation_connection = utf8mb4_bin;");** if the UTF8MB4 line is used as well. |
| 55 | 55 |
|
| 56 |
-MySQL uses **ONLY_FULL_GROUP_BY** by default, but MariaDB doesn't seem to. It should be disabled for this script for now; however, the includes/mysqli_functions.php file here already does that for you. I found three queries that **ONLY_FULL_GROUP_BY** complains about so far (two referenced that one column was never in GROUP BY; removing that part of those queries worked...). |
|
| 56 |
+MySQL uses **ONLY_FULL_GROUP_BY** by default, but MariaDB doesn't seem to. It should be disabled for this script for now; however, the includes/mysqli_functions.php file here already does that for you. I found four queries that **ONLY_FULL_GROUP_BY** complains about so far (three referenced that one column was never in GROUP BY - or at least depended on that column; removing that part of those queries worked...). |
|
| 57 | 57 |
|
| 58 |
-Early installs reference **MYSQL40** in the includes/mysqli_functions.php file. MySQL 8.0 actually removed this setting (along with quite a few other options), so MySQL 8.0 and newer will hang using this. As a result, this file does not use this option for sql_mode. MariaDB seems to still have this setting, but for full compatibility purposes, **HIGH_NOT_PRECEDENCE** is used instead in its place in sql_mode. |
|
| 58 |
+Early installs reference **MYSQL40** in the includes/mysqli_functions.php file. MySQL 8.0 actually removed this setting (along with quite a few other options), so MySQL 8.0 and newer will hang using this. As a result, this file does not use this option for sql_mode. MariaDB seems to still have this setting (or it still references it as current in their documentation), but for full compatibility purposes, **HIGH_NOT_PRECEDENCE** is used instead in its place for sql_mode. |
|
| 59 | 59 |
|
| 60 |
-**NO_ZERO_IN_DATE** - not needed for this fork, as timestamps are stored in the database using the Unix timestamp instead of datetimes timestamp (for which datetime does not utiilize the timezone data...). |
|
| 60 |
+Even earlier installs actually never specified an SQL session but rather used the server's sql_mode configuration, which did have inconsistent results when migrated to different servers. **SET SESSION sql_mode** was introduced in upstream eFiction 3.5.6 using the **MYSQL40** option. |
|
| 61 |
+ |
|
| 62 |
+**NO_ZERO_IN_DATE**, **NO_ZERO_DATE** - not needed for this fork, as timestamps are stored in the database using the Unix timestamp instead of the datetimes timestamp (for which datetime does not utiilize the timezone data...). |
|
| 61 | 63 |
|
| 62 | 64 |
|
| 63 | 65 |
### Installation and Usage |
| ... | ... |
@@ -53,6 +53,12 @@ Reference: https://mariadb.com/docs/server/server-management/variables-and-modes |
| 53 | 53 |
|
| 54 | 54 |
Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");** and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. It is recommended to uncomment the line **mysqli_query($mysqli_access, "SET collation_connection = utf8mb4_bin;");** if the UTF8MB4 line is used as well. |
| 55 | 55 |
|
| 56 |
+MySQL uses **ONLY_FULL_GROUP_BY** by default, but MariaDB doesn't seem to. It should be disabled for this script for now; however, the includes/mysqli_functions.php file here already does that for you. I found three queries that **ONLY_FULL_GROUP_BY** complains about so far (two referenced that one column was never in GROUP BY; removing that part of those queries worked...). |
|
| 57 |
+ |
|
| 58 |
+Early installs reference **MYSQL40** in the includes/mysqli_functions.php file. MySQL 8.0 actually removed this setting (along with quite a few other options), so MySQL 8.0 and newer will hang using this. As a result, this file does not use this option for sql_mode. MariaDB seems to still have this setting, but for full compatibility purposes, **HIGH_NOT_PRECEDENCE** is used instead in its place in sql_mode. |
|
| 59 |
+ |
|
| 60 |
+**NO_ZERO_IN_DATE** - not needed for this fork, as timestamps are stored in the database using the Unix timestamp instead of datetimes timestamp (for which datetime does not utiilize the timezone data...). |
|
| 61 |
+ |
|
| 56 | 62 |
|
| 57 | 63 |
### Installation and Usage |
| 58 | 64 |
|
| ... | ... |
@@ -81,13 +87,16 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 81 | 87 |
- SQL database engine change from MyISAM to InnoDB |
| 82 | 88 |
- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes and certain count purposes, however) |
| 83 | 89 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user; they are warned beforehand) |
| 90 |
+- PHPMailer upgraded to 6.12! |
|
| 91 |
+- Ratings guard feature thanks to @ariadoss - can be enabled or disabled |
|
| 92 |
+- This script should fully support PHP 5+ again (...) |
|
| 84 | 93 |
- includes/button.php: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
| 85 | 94 |
- includes/plain.button.php: Undefined variable PHP warning fix |
| 86 | 95 |
- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
| 87 | 96 |
- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8.x when searching for a user with the first character yields no results - discovered this one entirely by accident due to a typo... slipped my hand on the keyboard! |
| 88 | 97 |
- install/install.php: SMTP settings table column creation oversight fix, security fix in Step 1 (eventually reimplemented from eFiction 3.5.72 install), consistency changes, and cleanup |
| 89 | 98 |
- user/manageimages.php: Add support for WebP images |
| 90 |
-- search.php: failed penname search causes PHP warning fix for PHP 8.x users - MySQL error message overwriting the Search Results header due to an assumption of an array count of author data |
|
| 99 |
+- search.php: failed penname search causes PHP warning fix for PHP 8.x users - MySQL error message overwriting the Search Results header due to an assumption of an array count of author data, wildcard fixes, search only validated stories/chapters (mysql only), series results fix, dupe stories showing when searching by penname fix, Sorting Order drop-down fix, some patches from upstream (one fixed the completed checkbox in Advanced Search) |
|
| 91 | 100 |
- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
| 92 | 101 |
- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
| 93 | 102 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| ... | ... |
@@ -95,11 +104,11 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 95 | 104 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 96 | 105 |
- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
| 97 | 106 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fixes and Undefined array key PHP warning when viewing the list that contains a panel with null entries fix |
| 98 |
-- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix (these also had PHP warnings, but the checks made most of them nil) |
|
| 107 |
+- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix (these also had PHP warnings, but the checks made most of them nil), Uncaught TypeError with leaving a review on a story/chapter with co-authors present fix (likely related to newer upstream patches) |
|
| 99 | 108 |
- viewstory.php: Undefined variable warnings when trying to access a nonexistent or formerly existing chapter for PHP 8 users dirty fix |
| 100 | 109 |
- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
| 101 | 110 |
- viewuser.php: Add a check for anyone trying to access any nonexistent or formerly existing users - this also applies to UID 0, which should never exist (these also had PHP warnings, but the checks made most of them nil) |
| 102 |
-- news.php: Add a check for anyone trying to access a nonexistent or no longer existing news entry - this also applies to NID 0, which should never exist (these also had PHP warnings - namely Trying to access offset array on null, but the checks made them nil) |
|
| 111 |
+- news.php: Add a check for anyone trying to access a nonexistent or no longer existing news entry (these also had PHP warnings - namely Trying to access offset array on null, but the checks made them nil) |
|
| 103 | 112 |
- browse/ratings.php: Uncaught TypeError in PHP 8 with visiting the Browse Ratings page with no ratings listed and Undefined variable PHP warning fixes |
| 104 | 113 |
- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fixes - also Undefined array key, Trying to access array offset on null, and second Uncaught TypeError fixes - also Undefined variable warning fixes (tricky file...) |
| 105 | 114 |
- includes/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| ... | ... |
@@ -109,12 +118,23 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 109 | 118 |
- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php and very old editing typo causing Uncaught ValueError: Unknown format specifier message regarding changing an author with logging enabled fix |
| 110 | 119 |
- rss.php, includes/button.php (me), includes/plain.button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
| 111 | 120 |
- languages/en.php: undefined variables warning fix for PHP 8.x - applies to any other language PHP files, so they should be updated - only needs one line and one additional file in the **includes** directory |
| 112 |
-- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
|
| 121 |
+- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus (removed when PHPMailer was upgraded to 6.12) |
|
| 113 | 122 |
- admin/viewlog.php, languages/en_admin.php: some hardcoded English entries have been relocated to the Admin Panel language file |
| 114 | 123 |
- includes/reviewform.php, includes/seriesreviews.php, reviews.php: Number of Likes - unfinished calculation fixes and updates, implement its entry in the review form as well |
| 115 | 124 |
- includes/mysqli_functions.php: Updated MySQL query behavior - this comes from the eFiction 3.5.72 release |
| 116 | 125 |
- user/editprefs: the ~20-year-old skin selection bug is finally fixed! |
| 126 |
+- blocks/categories/admin.php: fix inverted tinyMCE checkbox behavior - didn't mention this in the commit, but this was actually internally fixed way back in early 2012 |
|
| 127 |
+- various blocks and admin pages: textarea id requirements for tinyMCE 6.x and later support fixes |
|
| 128 |
+- various sections: passing null to certain functions PHP 8.x deprecations fixes |
|
| 129 |
+- admin/members.php, includes/button.php, includes/plain.button.php, user/lostpassword.php: casting from double to float due to PHP 8.5 deprecation notice fix |
|
| 130 |
+- admin/mailusers.php: add tinyMCE toggle supoprt, textarea id requirement for tinyMCE 6.x support, formatting fix from early 2012 |
|
| 131 |
+- modules/challenges/challenges.php: Undefined constant error message for PHP 8.x users due to the fact it was missing the language includes fix |
|
| 132 |
+- modules/challenges/otherresults.php: wildcard filter patch |
|
| 133 |
+- includes/storyform.php: remove ancient 'None' option from the Characters section as it was redundant (selecting nothing achieved the same effect); that and any tinyMCE newer than 3.4.9 made it disappear when using the Categories section - it was present ever since eFiction 3.0 - this option also never existed when adding/editing series |
|
| 134 |
+- includes/categories.php: replace multiple selections constant with the multiple categories constant as it will disappear when 'Only one' setting is used; add selected categories button is now more prominent |
|
| 135 |
+- series.php, includes/storyform.php: relocated the multiple selections constant to where it actually belongs - just before the categories section for stories/chapters; added the multiple selections constant for series to match the story form as it was never present |
|
| 117 | 136 |
- Some security patches from https://github.com/Hyperion360/efiction fork |
| 137 |
+- Some security patches from upstream (not all, as some modules have slight issues with them) |
|
| 118 | 138 |
- Bridges return! Their removal got rid of the example work, which is now updated as well |
| 119 | 139 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 120 | 140 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| ... | ... |
@@ -25,7 +25,7 @@ Just place the script over your current install like any upgrade. This script ca |
| 25 | 25 |
|
| 26 | 26 |
### PHP |
| 27 | 27 |
|
| 28 |
-This script is being tested for issues with future PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this means that you can no longer use eFiction with PHP 5.6 and earlier. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset. |
|
| 28 |
+This script is being tested for issues with future PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this meant that you can no longer use eFiction with PHP 5.6 and earlier. However, since 2026/10/29, such coalescing patches were removed and PHP 5.6 could be used again. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset. |
|
| 29 | 29 |
|
| 30 | 30 |
default_charset = "UTF-8" |
| 31 | 31 |
|
| ... | ... |
@@ -85,7 +85,7 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 85 | 85 |
- includes/plain.button.php: Undefined variable PHP warning fix |
| 86 | 86 |
- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
| 87 | 87 |
- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8.x when searching for a user with the first character yields no results - discovered this one entirely by accident due to a typo... slipped my hand on the keyboard! |
| 88 |
-- install/install.php: SMTP settings table column creation oversight fix, consistency changes, and cleanup |
|
| 88 |
+- install/install.php: SMTP settings table column creation oversight fix, security fix in Step 1 (eventually reimplemented from eFiction 3.5.72 install), consistency changes, and cleanup |
|
| 89 | 89 |
- user/manageimages.php: Add support for WebP images |
| 90 | 90 |
- search.php: failed penname search causes PHP warning fix for PHP 8.x users - MySQL error message overwriting the Search Results header due to an assumption of an array count of author data |
| 91 | 91 |
- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
| ... | ... |
@@ -94,13 +94,15 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 94 | 94 |
- header.php: leftover array typo oversight fix with age consent feature |
| 95 | 95 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 96 | 96 |
- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
| 97 |
-- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fix |
|
| 98 |
-- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix |
|
| 97 |
+- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fixes and Undefined array key PHP warning when viewing the list that contains a panel with null entries fix |
|
| 98 |
+- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix (these also had PHP warnings, but the checks made most of them nil) |
|
| 99 |
+- viewstory.php: Undefined variable warnings when trying to access a nonexistent or formerly existing chapter for PHP 8 users dirty fix |
|
| 99 | 100 |
- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
| 100 |
-- viewuser.php: Add a check for anyone trying to access any nonexistent or formerly existing users - this also applies to UID 0, which should never exist |
|
| 101 |
+- viewuser.php: Add a check for anyone trying to access any nonexistent or formerly existing users - this also applies to UID 0, which should never exist (these also had PHP warnings, but the checks made most of them nil) |
|
| 102 |
+- news.php: Add a check for anyone trying to access a nonexistent or no longer existing news entry - this also applies to NID 0, which should never exist (these also had PHP warnings - namely Trying to access offset array on null, but the checks made them nil) |
|
| 101 | 103 |
- browse/ratings.php: Uncaught TypeError in PHP 8 with visiting the Browse Ratings page with no ratings listed and Undefined variable PHP warning fixes |
| 102 |
-- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fixes - also Undefined array key, Trying to access array offset on null, and second Uncaught TypeError fixes |
|
| 103 |
-- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
|
| 104 |
+- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fixes - also Undefined array key, Trying to access array offset on null, and second Uncaught TypeError fixes - also Undefined variable warning fixes (tricky file...) |
|
| 105 |
+- includes/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
|
| 104 | 106 |
- reviews.php, stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 105 | 107 |
- header.php, user/profile.php: Trying to access array on null and Undefined variable PHP warnings dirty fix for trying to access nonexistent or formerly existing user profiles |
| 106 | 108 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| ... | ... |
@@ -110,6 +112,9 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 110 | 112 |
- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
| 111 | 113 |
- admin/viewlog.php, languages/en_admin.php: some hardcoded English entries have been relocated to the Admin Panel language file |
| 112 | 114 |
- includes/reviewform.php, includes/seriesreviews.php, reviews.php: Number of Likes - unfinished calculation fixes and updates, implement its entry in the review form as well |
| 115 |
+- includes/mysqli_functions.php: Updated MySQL query behavior - this comes from the eFiction 3.5.72 release |
|
| 116 |
+- user/editprefs: the ~20-year-old skin selection bug is finally fixed! |
|
| 117 |
+- Some security patches from https://github.com/Hyperion360/efiction fork |
|
| 113 | 118 |
- Bridges return! Their removal got rid of the example work, which is now updated as well |
| 114 | 119 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 115 | 120 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| ... | ... |
@@ -97,10 +97,12 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 97 | 97 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fix |
| 98 | 98 |
- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix |
| 99 | 99 |
- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
| 100 |
+- viewuser.php: Add a check for anyone trying to access any nonexistent or formerly existing users - this also applies to UID 0, which should never exist |
|
| 100 | 101 |
- browse/ratings.php: Uncaught TypeError in PHP 8 with visiting the Browse Ratings page with no ratings listed and Undefined variable PHP warning fixes |
| 101 |
-- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fix |
|
| 102 |
+- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fixes - also Undefined array key, Trying to access array offset on null, and second Uncaught TypeError fixes |
|
| 102 | 103 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 103 | 104 |
- reviews.php, stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 105 |
+- header.php, user/profile.php: Trying to access array on null and Undefined variable PHP warnings dirty fix for trying to access nonexistent or formerly existing user profiles |
|
| 104 | 106 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| 105 | 107 |
- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php and very old editing typo causing Uncaught ValueError: Unknown format specifier message regarding changing an author with logging enabled fix |
| 106 | 108 |
- rss.php, includes/button.php (me), includes/plain.button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
| ... | ... |
@@ -97,6 +97,8 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 97 | 97 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fix |
| 98 | 98 |
- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix |
| 99 | 99 |
- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
| 100 |
+- browse/ratings.php: Uncaught TypeError in PHP 8 with visiting the Browse Ratings page with no ratings listed and Undefined variable PHP warning fixes |
|
| 101 |
+- browse/class.php: Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed fix |
|
| 100 | 102 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 101 | 103 |
- reviews.php, stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 102 | 104 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| ... | ... |
@@ -80,8 +80,9 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 80 | 80 |
- Future 3.5.9 SMTP database table creation oversight fixes (also install.php consistency change) |
| 81 | 81 |
- SQL database engine change from MyISAM to InnoDB |
| 82 | 82 |
- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes and certain count purposes, however) |
| 83 |
-- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
|
| 83 |
+- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user; they are warned beforehand) |
|
| 84 | 84 |
- includes/button.php: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
| 85 |
+- includes/plain.button.php: Undefined variable PHP warning fix |
|
| 85 | 86 |
- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
| 86 | 87 |
- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8.x when searching for a user with the first character yields no results - discovered this one entirely by accident due to a typo... slipped my hand on the keyboard! |
| 87 | 88 |
- install/install.php: SMTP settings table column creation oversight fix, consistency changes, and cleanup |
| ... | ... |
@@ -94,11 +95,13 @@ Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_ |
| 94 | 95 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 95 | 96 |
- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
| 96 | 97 |
- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fix |
| 98 |
+- reviews.php: Prevent users/anons from trying to create/rate nonexistent or no longer existing stories and series fix and reviews page showing up to null stories/series fix |
|
| 99 |
+- viewseries.php: Add a check for anyone trying to access a nonexistent or no longer existing series - null series page/various PHP warnings fix |
|
| 97 | 100 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 98 |
-- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
|
| 101 |
+- reviews.php, stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
|
| 99 | 102 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| 100 | 103 |
- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php and very old editing typo causing Uncaught ValueError: Unknown format specifier message regarding changing an author with logging enabled fix |
| 101 |
-- rss.php, includes/button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
|
| 104 |
+- rss.php, includes/button.php (me), includes/plain.button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
|
| 102 | 105 |
- languages/en.php: undefined variables warning fix for PHP 8.x - applies to any other language PHP files, so they should be updated - only needs one line and one additional file in the **includes** directory |
| 103 | 106 |
- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
| 104 | 107 |
- admin/viewlog.php, languages/en_admin.php: some hardcoded English entries have been relocated to the Admin Panel language file |
| ... | ... |
@@ -51,7 +51,7 @@ Setting the old-mode setting as blank overrides the UTF8_IS_UTF8MB3 binding to t |
| 51 | 51 |
|
| 52 | 52 |
Reference: https://mariadb.com/docs/server/server-management/variables-and-modes/old_mode |
| 53 | 53 |
|
| 54 |
-Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");** and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. |
|
| 54 |
+Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");** and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. It is recommended to uncomment the line **mysqli_query($mysqli_access, "SET collation_connection = utf8mb4_bin;");** if the UTF8MB4 line is used as well. |
|
| 55 | 55 |
|
| 56 | 56 |
|
| 57 | 57 |
### Installation and Usage |
| ... | ... |
@@ -51,6 +51,8 @@ Setting the old-mode setting as blank overrides the UTF8_IS_UTF8MB3 binding to t |
| 51 | 51 |
|
| 52 | 52 |
Reference: https://mariadb.com/docs/server/server-management/variables-and-modes/old_mode |
| 53 | 53 |
|
| 54 |
+Alternateively, in includes/mysqli_functions, you may comment the line **mysqli_query($mysqli_access, "SET NAMES UTF8;");** and uncomment the line **mysqli_query($mysqli_access, "SET NAMES UTF8MB4;");** if you are not able to configure the database configuration. |
|
| 55 |
+ |
|
| 54 | 56 |
|
| 55 | 57 |
### Installation and Usage |
| 56 | 58 |
|
| ... | ... |
@@ -40,7 +40,8 @@ character-set-server = utf8mb4 |
| 40 | 40 |
<br> |
| 41 | 41 |
collation-server = utf8mb4_unicode_ci |
| 42 | 42 |
|
| 43 |
-For MySQL versions starting with 8.0, the default setting for collation_server is **utf8mb4_0900_ai_ci**. For MariaDB versions starting with 11.8 (introduced in 11.6), the default setting for collation_server is **utf8mb4_uca1400_ai_ci**. |
|
| 43 |
+- For MySQL versions starting with 8.0, the default setting for collation_server is **utf8mb4_0900_ai_ci**. |
|
| 44 |
+- For MariaDB versions starting with 11.8 (introduced in 11.6), the default setting for collation_server is **utf8mb4_uca1400_ai_ci**. |
|
| 44 | 45 |
|
| 45 | 46 |
For MariaDB versions 10.6 to 11.4, this is needed: |
| 46 | 47 |
|
| ... | ... |
@@ -1,12 +1,12 @@ |
| 1 | 1 |
# eFiction 3 Mod |
| 2 | 2 |
|
| 3 |
-This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. Support of bcrypt passwords with old MD5 fallback, new user regisrations control, and more choices of tinyMCE are a few of my modifications. |
|
| 3 |
+This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. Support of bcrypt passwords with old MD5 fallback, new user registrations control, and more choices of tinyMCE are a few of my modifications. |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 | 6 |
## Requirements |
| 7 | 7 |
|
| 8 | 8 |
- Minimum: PHP 7.4, MySQL 5.7.7 or MariaDB 10.6 |
| 9 |
-- Recommnended: PHP 8.4, MySQL 8.0 or MariaDB 11.4 |
|
| 9 |
+- Recommended: PHP 8.4, MySQL 8.0 or MariaDB 11.4 |
|
| 10 | 10 |
- Tested Working: PHP: 7.4.33, 8.5.8; MariaDB: 10.6, 10.11, 11.4 |
| 11 | 11 |
|
| 12 | 12 |
|
| ... | ... |
@@ -19,6 +19,45 @@ Same as the usual eFiction 3.x installs. |
| 19 | 19 |
|
| 20 | 20 |
Just place the script over your current install like any upgrade. This script can upgrade to future 3.5.9 with a few eFiction 3 Mod entries by upgrading over versions 3.5.3 to 3.5.8. After that, go to the conversion page in the Archive Conversion Panel to convert the database to eFiction 3 Mod. If you have already upgraded to a clean version of future 3.5.9, you can just go straight to the Archive Conversion page and run the Mod conversion script, as the upgrade.php file will not run at that point. |
| 21 | 21 |
|
| 22 |
+ |
|
| 23 |
+## Notes |
|
| 24 |
+ |
|
| 25 |
+ |
|
| 26 |
+### PHP |
|
| 27 |
+ |
|
| 28 |
+This script is being tested for issues with future PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this means that you can no longer use eFiction with PHP 5.6 and earlier. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset. |
|
| 29 |
+ |
|
| 30 |
+default_charset = "UTF-8" |
|
| 31 |
+ |
|
| 32 |
+ |
|
| 33 |
+### Database |
|
| 34 |
+ |
|
| 35 |
+Due to the community changes to this script over the years, it now handles text and data as UTF-8 as opposed to ISO-8859-1. Further changes to this script here should fully handle multibyte characters now. Yes, eFiction can now finally use emoji! To fully take advantage of this archive's character set, the database server does need to connect and use the utf8mb4 collation. This is just a sample for my.cnf or equivalent, needed for older installs and versions. Note: character_set_system is hardcoded and cannot be user-set. |
|
| 36 |
+ |
|
| 37 |
+init-connect = 'SET NAMES utf8mb4' |
|
| 38 |
+<br> |
|
| 39 |
+character-set-server = utf8mb4 |
|
| 40 |
+<br> |
|
| 41 |
+collation-server = utf8mb4_unicode_ci |
|
| 42 |
+ |
|
| 43 |
+For MySQL versions starting with 8.0, the default setting for collation_server is **utf8mb4_0900_ai_ci**. For MariaDB versions starting with 11.8 (introduced in 11.6), the default setting for collation_server is **utf8mb4_uca1400_ai_ci**. |
|
| 44 |
+ |
|
| 45 |
+For MariaDB versions 10.6 to 11.4, this is needed: |
|
| 46 |
+ |
|
| 47 |
+old-mode = |
|
| 48 |
+ |
|
| 49 |
+Setting the old-mode setting as blank overrides the UTF8_IS_UTF8MB3 binding to this variable and uses the current utf8mb4 aliasing. |
|
| 50 |
+ |
|
| 51 |
+Reference: https://mariadb.com/docs/server/server-management/variables-and-modes/old_mode |
|
| 52 |
+ |
|
| 53 |
+ |
|
| 54 |
+### Installation and Usage |
|
| 55 |
+ |
|
| 56 |
+- The directory eFiction will be installed should have read, write and execute permissions. For Unix/Linux, it should technically be chmod'ed to 755 and chown'ed to the web server's user account. The directory should be chown'ed to the webserver user (usually daemon, www-data, or apache). Failing that, you can either chmod 755 (777 if failed somehow, should probably change it back to 755 afterwards) or create a blank config.php file (example: touch /path/to/eFiction3/config.php) in your eFiction directory and chmod that to 666. |
|
| 57 |
+- Creating a series entry, adding a story to the series, then removing the story from the series can leave the Number of Stories count unchanged. This is due to the fact that some references aren't calculated automatically. In the Admin Panel > Archive Maintenance section, use 'Recalculate Reviews', 'Recalculate Stories', and 'Recalculate Site Statistics', and it should rectify this issue. |
|
| 58 |
+- When using the category 'Only one' setting for a single category, the script strongly assumes to use catid=1 for adding a series to a category, so if that particular category was later removed, the Category: field will be empty. Doesn't help that you can still create more categories after the fact, which may muddy up things a bit. Using 'Fix Category Order' should fix this to some extent, but if that fails, database table editing in 'fanfiction_categories' to change the intended category to catid=1 AND changing AUTO_INCREMENT to 2 should suffice. If, somehow, there are no categories in the database and the AUTO_INCREMENT count is past 2, change AUTO_INCREMENT back to 1 and create the intended category. |
|
| 59 |
+- The initial database installation script explicitly removes all the forced latin1 charset and latin1_swedish_ci collation references starting with eFiction 3.5.5 (meaning they were last present in eFiction 3.5.3). The forced latin1 charset in the script would have caused issues with much newer database installs using utf8mb3 or utf8mb4 by default. As a result, it uses the server's database settings. It, however, does force MyISAM for its database engine, and this mod forces that to InnoDB anyway, despite it being the database server default for over 15 years. I have not seen any issues regarding the InnoDB change in eFiction 3 Mod as of yet. |
|
| 60 |
+ |
|
| 22 | 61 |
<br> |
| 23 | 62 |
|
| 24 | 63 |
# Changelog |
| ... | ... |
@@ -55,7 +94,7 @@ Just place the script over your current install like any upgrade. This script ca |
| 55 | 94 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 56 | 95 |
- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 57 | 96 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| 58 |
-- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php |
|
| 97 |
+- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php and very old editing typo causing Uncaught ValueError: Unknown format specifier message regarding changing an author with logging enabled fix |
|
| 59 | 98 |
- rss.php, includes/button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
| 60 | 99 |
- languages/en.php: undefined variables warning fix for PHP 8.x - applies to any other language PHP files, so they should be updated - only needs one line and one additional file in the **includes** directory |
| 61 | 100 |
- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
| ... | ... |
@@ -65,6 +104,7 @@ Just place the script over your current install like any upgrade. This script ca |
| 65 | 104 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 66 | 105 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| 67 | 106 |
- Setting to enable or disable new user registrations - sorely needed for some archives |
| 107 |
+- New Archive Conversion page for Unicode database conversions - initial Mod conversion and Unicode versions 4.0, 5.2, 9.0, 14.0 |
|
| 68 | 108 |
|
| 69 | 109 |
<br> |
| 70 | 110 |
|
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
# eFiction 3 Mod |
| 2 | 2 |
|
| 3 |
-This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. This script can upgrade to future 3.5.9 with a few eFiction 3 Mod entries by upgrading over versions 3.5.3 to 3.5.8. After that, go to the conversion page in the Archive Conversion Panel to convert the database to eFiction 3 Mod. |
|
| 3 |
+This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. Support of bcrypt passwords with old MD5 fallback, new user regisrations control, and more choices of tinyMCE are a few of my modifications. |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 | 6 |
## Requirements |
| ... | ... |
@@ -17,7 +17,7 @@ Same as the usual eFiction 3.x installs. |
| 17 | 17 |
|
| 18 | 18 |
## Updating |
| 19 | 19 |
|
| 20 |
-Just place the script over your current install like any upgrade. If you have already upgraded to future 3.5.9, you need to run a MySQL query to support the Enable Registrations mod and update the 'fanfiction_authors' table's password field to support 255 characters first. (That is, until I try and add *that* to the Mod conversion script.) Both queries are in the Mod's update.php script. |
|
| 20 |
+Just place the script over your current install like any upgrade. This script can upgrade to future 3.5.9 with a few eFiction 3 Mod entries by upgrading over versions 3.5.3 to 3.5.8. After that, go to the conversion page in the Archive Conversion Panel to convert the database to eFiction 3 Mod. If you have already upgraded to a clean version of future 3.5.9, you can just go straight to the Archive Conversion page and run the Mod conversion script, as the upgrade.php file will not run at that point. |
|
| 21 | 21 |
|
| 22 | 22 |
<br> |
| 23 | 23 |
|
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
# eFiction 3 Mod |
| 2 | 2 |
|
| 3 |
-This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. For now, there are no auto paths to patch old eFiction versions to this version, so it has to be done manually. (The update.php file needs to be cleaned up, and the 3.5.5 update does not work properly in PHP 7 anyway.) |
|
| 3 |
+This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. This script can upgrade to future 3.5.9 with a few eFiction 3 Mod entries by upgrading over versions 3.5.3 to 3.5.8. After that, go to the conversion page in the Archive Conversion Panel to convert the database to eFiction 3 Mod. |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 | 6 |
## Requirements |
| ... | ... |
@@ -17,7 +17,7 @@ Same as the usual eFiction 3.x installs. |
| 17 | 17 |
|
| 18 | 18 |
## Updating |
| 19 | 19 |
|
| 20 |
-Has to be done manually for now. Easiest if you have either unofficial versions 3.5.8, 3.5.8.f1, or future 3.5.9. If you are updating from versions 3.5.3, 3.5.5, or 3.5.6, update to at least version 3.5.8 first. |
|
| 20 |
+Just place the script over your current install like any upgrade. If you have already upgraded to future 3.5.9, you need to run a MySQL query to support the Enable Registrations mod and update the 'fanfiction_authors' table's password field to support 255 characters first. (That is, until I try and add *that* to the Mod conversion script.) Both queries are in the Mod's update.php script. |
|
| 21 | 21 |
|
| 22 | 22 |
<br> |
| 23 | 23 |
|
| ... | ... |
@@ -51,6 +51,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 51 | 51 |
- header.php: leftover array typo oversight fix with age consent feature |
| 52 | 52 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 53 | 53 |
- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
| 54 |
+- admin/panels.php: Trying to access offset array on null PHP warning when creating a new panel entry fix |
|
| 54 | 55 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 55 | 56 |
- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 56 | 57 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| ... | ... |
@@ -50,6 +50,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 50 | 50 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| 51 | 51 |
- header.php: leftover array typo oversight fix with age consent feature |
| 52 | 52 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 53 |
+- blocks/menu/menu.php: Array to string conversion warning when accessing the menu block page fix |
|
| 53 | 54 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 54 | 55 |
- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 55 | 56 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| ... | ... |
@@ -57,6 +58,8 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 57 | 58 |
- rss.php, includes/button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
| 58 | 59 |
- languages/en.php: undefined variables warning fix for PHP 8.x - applies to any other language PHP files, so they should be updated - only needs one line and one additional file in the **includes** directory |
| 59 | 60 |
- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
| 61 |
+- admin/viewlog.php, languages/en_admin.php: some hardcoded English entries have been relocated to the Admin Panel language file |
|
| 62 |
+- includes/reviewform.php, includes/seriesreviews.php, reviews.php: Number of Likes - unfinished calculation fixes and updates, implement its entry in the review form as well |
|
| 60 | 63 |
- Bridges return! Their removal got rid of the example work, which is now updated as well |
| 61 | 64 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 62 | 65 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| ... | ... |
@@ -44,6 +44,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 44 | 44 |
- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8.x when searching for a user with the first character yields no results - discovered this one entirely by accident due to a typo... slipped my hand on the keyboard! |
| 45 | 45 |
- install/install.php: SMTP settings table column creation oversight fix, consistency changes, and cleanup |
| 46 | 46 |
- user/manageimages.php: Add support for WebP images |
| 47 |
+- search.php: failed penname search causes PHP warning fix for PHP 8.x users - MySQL error message overwriting the Search Results header due to an assumption of an array count of author data |
|
| 47 | 48 |
- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
| 48 | 49 |
- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
| 49 | 50 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| ... | ... |
@@ -37,12 +37,13 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 37 | 37 |
- Original eFiction 3 skins restored |
| 38 | 38 |
- Future 3.5.9 SMTP database table creation oversight fixes (also install.php consistency change) |
| 39 | 39 |
- SQL database engine change from MyISAM to InnoDB |
| 40 |
-- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes, however) |
|
| 40 |
+- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes and certain count purposes, however) |
|
| 41 | 41 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
| 42 | 42 |
- includes/button.php: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
| 43 | 43 |
- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
| 44 |
-- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8 when searching for a user with the first character yields no results - found this one entirely by accident due to a typo! |
|
| 45 |
-- install/install.php: SMTP settings table column creation oversight fix and consistency changes |
|
| 44 |
+- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8.x when searching for a user with the first character yields no results - discovered this one entirely by accident due to a typo... slipped my hand on the keyboard! |
|
| 45 |
+- install/install.php: SMTP settings table column creation oversight fix, consistency changes, and cleanup |
|
| 46 |
+- user/manageimages.php: Add support for WebP images |
|
| 46 | 47 |
- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
| 47 | 48 |
- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
| 48 | 49 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| ... | ... |
@@ -51,8 +52,11 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 51 | 52 |
- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
| 52 | 53 |
- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 53 | 54 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| 54 |
-- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php |
|
| 55 |
-- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
|
| 55 |
+- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, install/install.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php |
|
| 56 |
+- rss.php, includes/button.php (me), languages/en.php (me): error and warning message suppression removal - rss and en were a stupid hack for the actual problem in the next item of the list |
|
| 57 |
+- languages/en.php: undefined variables warning fix for PHP 8.x - applies to any other language PHP files, so they should be updated - only needs one line and one additional file in the **includes** directory |
|
| 58 |
+- admin/settings.php, install/install.php: Do not parse the mailer directory in the Admin Panel's or installer's language setting's drop-down menus |
|
| 59 |
+- Bridges return! Their removal got rid of the example work, which is now updated as well |
|
| 56 | 60 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 57 | 61 |
- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| 58 | 62 |
- Setting to enable or disable new user registrations - sorely needed for some archives |
| ... | ... |
@@ -39,21 +39,22 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 39 | 39 |
- SQL database engine change from MyISAM to InnoDB |
| 40 | 40 |
- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes, however) |
| 41 | 41 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
| 42 |
-- includes/button: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
|
| 42 |
+- includes/button.php: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
|
| 43 | 43 |
- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
| 44 |
+- includes/userlist.php: Uncaught TypeError for Co-Authors field in PHP 8 when searching for a user with the first character yields no results - found this one entirely by accident due to a typo! |
|
| 44 | 45 |
- install/install.php: SMTP settings table column creation oversight fix and consistency changes |
| 45 | 46 |
- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
| 46 | 47 |
- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
| 47 | 48 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| 48 | 49 |
- header.php: leftover array typo oversight fix with age consent feature |
| 49 | 50 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 50 |
-- install/corefunctions, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
|
| 51 |
+- install/corefunctions.php, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
|
| 51 | 52 |
- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
| 52 | 53 |
- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
| 53 | 54 |
- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php |
| 54 | 55 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 55 | 56 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 56 |
-- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
|
| 57 |
+- TinyMCE versions added; now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, 5.3.2, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
|
| 57 | 58 |
- Setting to enable or disable new user registrations - sorely needed for some archives |
| 58 | 59 |
|
| 59 | 60 |
<br> |
| ... | ... |
@@ -39,12 +39,18 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 39 | 39 |
- SQL database engine change from MyISAM to InnoDB |
| 40 | 40 |
- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes, however) |
| 41 | 41 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
| 42 |
+- includes/button: GD captcha font path handling fix for PHP 8.6/GD 2.4.0 users and remove unused variable |
|
| 43 |
+- includes/corefunctions.php: occasional foreach array|object, string given PHP warning fix |
|
| 42 | 44 |
- install/install.php: SMTP settings table column creation oversight fix and consistency changes |
| 43 |
-- series.php: category settings causing Fatal Error bug fix for PHP 8.x users |
|
| 45 |
+- series.php: category settings causing Fatal Error bug for PHP 8.x users and Undefined array key PHP warning fixes |
|
| 44 | 46 |
- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
| 45 | 47 |
- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
| 46 | 48 |
- header.php: leftover array typo oversight fix with age consent feature |
| 47 | 49 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 50 |
+- install/corefunctions, user/revres.php: Trying to access array offset on null PHP warning when responding to a review fix |
|
| 51 |
+- stories.php, viewstory.php, includes/corefunctions.php, includes/storyblock.php, includes/storyform.php, user/revres.php: proper coauthors behavior fixes |
|
| 52 |
+- docs/config.php, includes/browsecategories.php, includes/categorylist.php, includes/characterlist.php, includes/userlist.php, install/install.php, user/login.php: redundant dbfunctions.php entries including cleanup |
|
| 53 |
+- header.php, rss.php, admin/backup.php, admin/backup_utf8.php, includes/categorylist.php, includes/userlist.php, languages/en.php: possible CHARSET definition breakage - mostly reverted as one former config.php line does belong in includes/dbfunctions.php |
|
| 48 | 54 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 49 | 55 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 50 | 56 |
- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| ... | ... |
@@ -48,6 +48,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 48 | 48 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 49 | 49 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 50 | 50 |
- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
| 51 |
+- Setting to enable or disable new user registrations - sorely needed for some archives |
|
| 51 | 52 |
|
| 52 | 53 |
<br> |
| 53 | 54 |
|
| ... | ... |
@@ -47,7 +47,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 47 | 47 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 48 | 48 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 49 | 49 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 50 |
-- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, and 4.5.12 - replaces eFiction 3.5.x's original 3.0.9 |
|
| 50 |
+- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, 4.5.12, and 6.8.6 - replaces eFiction 3.5.x's original 3.0.9 |
|
| 51 | 51 |
|
| 52 | 52 |
<br> |
| 53 | 53 |
|
| ... | ... |
@@ -47,7 +47,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 47 | 47 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 48 | 48 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 49 | 49 |
- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
| 50 |
-- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.0.1, 3.4.8, and 4.5.3 |
|
| 50 |
+- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.1.2, 3.4.8, and 4.5.12 - replaces eFiction 3.5.x's original 3.0.9 |
|
| 51 | 51 |
|
| 52 | 52 |
<br> |
| 53 | 53 |
|
| ... | ... |
@@ -46,7 +46,7 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 46 | 46 |
- header.php: leftover array typo oversight fix with age consent feature |
| 47 | 47 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 48 | 48 |
- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
| 49 |
-- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages (installer layout needs work, however) |
|
| 49 |
+- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages, installer |
|
| 50 | 50 |
- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.0.1, 3.4.8, and 4.5.3 |
| 51 | 51 |
|
| 52 | 52 |
<br> |
| ... | ... |
@@ -37,12 +37,17 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 37 | 37 |
- Original eFiction 3 skins restored |
| 38 | 38 |
- Future 3.5.9 SMTP database table creation oversight fixes (also install.php consistency change) |
| 39 | 39 |
- SQL database engine change from MyISAM to InnoDB |
| 40 |
-- SQL database charset changes from latin1 to utf8mb4 |
|
| 40 |
+- SQL database charset changes from latin1 to utf8mb4 (certain fields are utf8mb4 'ci' for sorting purposes, however) |
|
| 41 | 41 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
| 42 | 42 |
- install/install.php: SMTP settings table column creation oversight fix and consistency changes |
| 43 | 43 |
- series.php: category settings causing Fatal Error bug fix for PHP 8.x users |
| 44 |
+- stories.php: add story with null category using 'Only one' setting causing Fatal Error bug fix for PHP 8.x users |
|
| 45 |
+- categories.php: deleting only category causing Fatal Error bug fix for PHP 8.x users |
|
| 44 | 46 |
- header.php: leftover array typo oversight fix with age consent feature |
| 45 | 47 |
- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
| 48 |
+- Bridges return! Their removal got rid of the example work, which needs to be updated as well |
|
| 49 |
+- Layout fixes and consistency changes for various sections of the script: admin settings, new/edit story pages, new/edit series pages (installer layout needs work, however) |
|
| 50 |
+- TinyMCE 3.4.8 added (this was from my own archives); now you have a choice of TinyMCE versions 2.0.1, 3.4.8, and 4.5.3 |
|
| 46 | 51 |
|
| 47 | 52 |
<br> |
| 48 | 53 |
|
| ... | ... |
@@ -6,7 +6,7 @@ This version is essentially a version of 'future 3.5.9' wiith some of my interna |
| 6 | 6 |
## Requirements |
| 7 | 7 |
|
| 8 | 8 |
- Minimum: PHP 7.4, MySQL 5.7.7 or MariaDB 10.6 |
| 9 |
-- Recommnended: PHP 8.4, MySQL 7.0 or MariaDB 11.4 |
|
| 9 |
+- Recommnended: PHP 8.4, MySQL 8.0 or MariaDB 11.4 |
|
| 10 | 10 |
- Tested Working: PHP: 7.4.33, 8.5.8; MariaDB: 10.6, 10.11, 11.4 |
| 11 | 11 |
|
| 12 | 12 |
|
| ... | ... |
@@ -5,7 +5,7 @@ This version is essentially a version of 'future 3.5.9' wiith some of my interna |
| 5 | 5 |
|
| 6 | 6 |
## Requirements |
| 7 | 7 |
|
| 8 |
-- Minimum: PHP 7.4, MySQL 5.6.3 or MariaDB 10.5 |
|
| 8 |
+- Minimum: PHP 7.4, MySQL 5.7.7 or MariaDB 10.6 |
|
| 9 | 9 |
- Recommnended: PHP 8.4, MySQL 7.0 or MariaDB 11.4 |
| 10 | 10 |
- Tested Working: PHP: 7.4.33, 8.5.8; MariaDB: 10.6, 10.11, 11.4 |
| 11 | 11 |
|
| ... | ... |
@@ -39,6 +39,10 @@ Has to be done manually for now. Easiest if you have either unofficial versions |
| 39 | 39 |
- SQL database engine change from MyISAM to InnoDB |
| 40 | 40 |
- SQL database charset changes from latin1 to utf8mb4 |
| 41 | 41 |
- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
| 42 |
+- install/install.php: SMTP settings table column creation oversight fix and consistency changes |
|
| 43 |
+- series.php: category settings causing Fatal Error bug fix for PHP 8.x users |
|
| 44 |
+- header.php: leftover array typo oversight fix with age consent feature |
|
| 45 |
+- admin/settings.php: SMTP updates/fixes and test code implementation and oversights breaking Ratings and $storiespath fixes |
|
| 42 | 46 |
|
| 43 | 47 |
<br> |
| 44 | 48 |
|
| ... | ... |
@@ -18,7 +18,9 @@ Same as the usual eFiction 3.x installs. |
| 18 | 18 |
## Updating |
| 19 | 19 |
|
| 20 | 20 |
Has to be done manually for now. Easiest if you have either unofficial versions 3.5.8, 3.5.8.f1, or future 3.5.9. If you are updating from versions 3.5.3, 3.5.5, or 3.5.6, update to at least version 3.5.8 first. |
| 21 |
+ |
|
| 21 | 22 |
<br> |
| 23 |
+ |
|
| 22 | 24 |
# Changelog |
| 23 | 25 |
|
| 24 | 26 |
|
| ... | ... |
@@ -1,85 +1,43 @@ |
| 1 |
-# efiction v3.5.8 fixes |
|
| 1 |
+# eFiction 3 Mod |
|
| 2 | 2 |
|
| 3 |
-- rating display fix |
|
| 3 |
+This version is essentially a version of 'future 3.5.9' wiith some of my internal modifications. For now, there are no auto paths to patch old eFiction versions to this version, so it has to be done manually. (The update.php file needs to be cleaned up, and the 3.5.5 update does not work properly in PHP 7 anyway.) |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 |
-# efiction v3.5.8 |
|
| 6 |
+## Requirements |
|
| 7 | 7 |
|
| 8 |
-- added notification module |
|
| 9 |
-- changed files: user/editbio.php and user/lostpassword.php |
|
| 10 |
-- chanded way for loading DB functions - moved from config file! |
|
| 11 |
-- fixed bug in install.php - script worked but in PHP 8.x it caused warnings |
|
| 12 |
-- new ranking system - number of likes, used as {ratingpics} likes in tpl.
|
|
| 8 |
+- Minimum: PHP 7.4, MySQL 5.6.3 or MariaDB 10.5 |
|
| 9 |
+- Recommnended: PHP 8.4, MySQL 7.0 or MariaDB 11.4 |
|
| 10 |
+- Tested Working: PHP: 7.4.33, 8.5.8; MariaDB: 10.6, 10.11, 11.4 |
|
| 13 | 11 |
|
| 14 | 12 |
|
| 15 |
-# efiction v3.5.7 |
|
| 13 |
+## Installation |
|
| 16 | 14 |
|
| 17 |
-minimum requirements: MySQL 5.6.3 or MariaDB 10.5.0 |
|
| 15 |
+Same as the usual eFiction 3.x installs. |
|
| 18 | 16 |
|
| 19 | 17 |
|
| 20 |
-### Database changes: |
|
| 18 |
+## Updating |
|
| 21 | 19 |
|
| 22 |
-- all IP adress fields - from integer to 46 chars |
|
| 20 |
+Has to be done manually for now. Easiest if you have either unofficial versions 3.5.8, 3.5.8.f1, or future 3.5.9. If you are updating from versions 3.5.3, 3.5.5, or 3.5.6, update to at least version 3.5.8 first. |
|
| 21 |
+<br> |
|
| 22 |
+# Changelog |
|
| 23 | 23 |
|
| 24 |
-### Other changes: |
|
| 25 | 24 |
|
| 26 |
-- tinymce4 settings fix |
|
| 27 |
-- INET6 support needed |
|
| 28 |
-- file uploading fixed for PHP 8.1 |
|
| 29 |
-- national characters fix in search form |
|
| 25 |
+### Future 3.5.9 release has the following changes and fixes so far: |
|
| 30 | 26 |
|
| 27 |
+- date fields fix |
|
| 28 |
+- logs fail typo fix |
|
| 29 |
+- PHP warning fixes |
|
| 30 |
+- SMTP updates/fixes and an SMTP settings tester |
|
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
-# efiction v3.5.6 |
|
| 33 |
+### eFiction 3 Mod has the following changes and fixes so far: |
|
| 34 | 34 |
|
| 35 |
-non official version of 3.5.x efiction software |
|
| 35 |
+- Original eFiction 3 skins restored |
|
| 36 |
+- Future 3.5.9 SMTP database table creation oversight fixes (also install.php consistency change) |
|
| 37 |
+- SQL database engine change from MyISAM to InnoDB |
|
| 38 |
+- SQL database charset changes from latin1 to utf8mb4 |
|
| 39 |
+- Password hashes are now bcrypt with a cost of 12 instead of MD5 (though old MD5 hashed passwords still work until changed by user) |
|
| 36 | 40 |
|
| 37 |
-## Only for testing purposes |
|
| 41 |
+<br> |
|
| 38 | 42 |
|
| 39 |
- |
|
| 40 |
-### Database changes: |
|
| 41 |
- |
|
| 42 |
-- all date fields from datestamp format to unix time format |
|
| 43 |
- |
|
| 44 |
-### File's changes |
|
| 45 |
- |
|
| 46 |
-- related date field type changes |
|
| 47 |
-- found issues fixed |
|
| 48 |
-- deleted bridges |
|
| 49 |
- |
|
| 50 |
-### Looking for missing modules |
|
| 51 |
-If you have source code of missing and used modules, share it and I can try to add and fix them |
|
| 52 |
- |
|
| 53 |
- |
|
| 54 |
-### Installation |
|
| 55 |
-No change |
|
| 56 |
- |
|
| 57 |
-### Update |
|
| 58 |
-Classic as before, run update process that should change your date fields without lossing your data. It works only for update from 3.5.5, not sooner. |
|
| 59 |
- |
|
| 60 |
- |
|
| 61 |
- |
|
| 62 |
-<code> |
|
| 63 |
-// ---------------------------------------------------------------------- |
|
| 64 |
-// Copyright (c) 2007 by Tammy Keefer |
|
| 65 |
-// Based on eFiction 1.1 |
|
| 66 |
-// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 67 |
-// http://efiction.sourceforge.net/ |
|
| 68 |
-// ---------------------------------------------------------------------- |
|
| 69 |
-// LICENSE |
|
| 70 |
-// |
|
| 71 |
-// This program is free software; you can redistribute it and/or |
|
| 72 |
-// modify it under the terms of the GNU General Public License (GPL) |
|
| 73 |
-// as published by the Free Software Foundation; either version 2 |
|
| 74 |
-// of the License, or (at your option) any later version. |
|
| 75 |
-// |
|
| 76 |
-// This program is distributed in the hope that it will be useful, |
|
| 77 |
-// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 78 |
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 79 |
-// GNU General Public License for more details. |
|
| 80 |
-// |
|
| 81 |
-// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 82 |
-// ---------------------------------------------------------------------- |
|
| 83 |
- |
|
| 84 |
-see more in README.txt file |
|
| 85 |
-</code> |
|
| 43 |
+README_old.md has the noted changes and fixes from 3.5.8.f1 down to 3.5.6. |
| ... | ... |
@@ -4,6 +4,7 @@ |
| 4 | 4 |
- changed files: user/editbio.php and user/lostpassword.php |
| 5 | 5 |
- chanded way for loading DB functions - moved from config file! |
| 6 | 6 |
- fixed bug in install.php - script worked but in PHP 8.x it caused warnings |
| 7 |
+- new ranking system - number of likes, used as {ratingpics} likes in tpl.
|
|
| 7 | 8 |
|
| 8 | 9 |
|
| 9 | 10 |
# efiction v3.5.7 |
| ... | ... |
@@ -2,6 +2,8 @@ |
| 2 | 2 |
|
| 3 | 3 |
- added notification module |
| 4 | 4 |
- changed files: user/editbio.php and user/lostpassword.php |
| 5 |
+- chanded way for loading DB functions - moved from config file! |
|
| 6 |
+- fixed bug in install.php - script worked but in PHP 8.x it caused warnings |
|
| 5 | 7 |
|
| 6 | 8 |
|
| 7 | 9 |
# efiction v3.5.7 |
| ... | ... |
@@ -1,3 +1,21 @@ |
| 1 |
+# efiction v3.5.7 |
|
| 2 |
+ |
|
| 3 |
+minimum requirements: MySQL 5.6.3 or MariaDB 10.5.0 |
|
| 4 |
+ |
|
| 5 |
+ |
|
| 6 |
+### Database changes: |
|
| 7 |
+ |
|
| 8 |
+- all IP adress fields - from integer to 46 chars |
|
| 9 |
+ |
|
| 10 |
+### Other changes: |
|
| 11 |
+ |
|
| 12 |
+- tinymce4 settings fix |
|
| 13 |
+- INET6 support needed |
|
| 14 |
+- file uploading fixed for PHP 8.1 |
|
| 15 |
+- national characters fix in search form |
|
| 16 |
+ |
|
| 17 |
+ |
|
| 18 |
+ |
|
| 1 | 19 |
# efiction v3.5.6 |
| 2 | 20 |
|
| 3 | 21 |
non official version of 3.5.x efiction software |
| ... | ... |
@@ -1,2 +1,53 @@ |
| 1 |
-# efiction-3.5.6 |
|
| 2 |
-Efiction CMS version 3.5.6 |
|
| 1 |
+# efiction v3.5.6 |
|
| 2 |
+ |
|
| 3 |
+non official version of 3.5.x efiction software |
|
| 4 |
+ |
|
| 5 |
+## Only for testing purposes |
|
| 6 |
+ |
|
| 7 |
+ |
|
| 8 |
+### Database changes: |
|
| 9 |
+ |
|
| 10 |
+- all date fields from datestamp format to unix time format |
|
| 11 |
+ |
|
| 12 |
+### File's changes |
|
| 13 |
+ |
|
| 14 |
+- related date field type changes |
|
| 15 |
+- found issues fixed |
|
| 16 |
+- deleted bridges |
|
| 17 |
+ |
|
| 18 |
+### Looking for missing modules |
|
| 19 |
+If you have source code of missing and used modules, share it and I can try to add and fix them |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+### Installation |
|
| 23 |
+No change |
|
| 24 |
+ |
|
| 25 |
+### Update |
|
| 26 |
+Classic as before, run update process that should change your date fields without lossing your data. It works only for update from 3.5.5, not sooner. |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ |
|
| 30 |
+<code> |
|
| 31 |
+// ---------------------------------------------------------------------- |
|
| 32 |
+// Copyright (c) 2007 by Tammy Keefer |
|
| 33 |
+// Based on eFiction 1.1 |
|
| 34 |
+// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 35 |
+// http://efiction.sourceforge.net/ |
|
| 36 |
+// ---------------------------------------------------------------------- |
|
| 37 |
+// LICENSE |
|
| 38 |
+// |
|
| 39 |
+// This program is free software; you can redistribute it and/or |
|
| 40 |
+// modify it under the terms of the GNU General Public License (GPL) |
|
| 41 |
+// as published by the Free Software Foundation; either version 2 |
|
| 42 |
+// of the License, or (at your option) any later version. |
|
| 43 |
+// |
|
| 44 |
+// This program is distributed in the hope that it will be useful, |
|
| 45 |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 46 |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 47 |
+// GNU General Public License for more details. |
|
| 48 |
+// |
|
| 49 |
+// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 50 |
+// ---------------------------------------------------------------------- |
|
| 51 |
+ |
|
| 52 |
+see more in README.txt file |
|
| 53 |
+</code> |