<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									3.x Solved Bugs - eFiction Community Forums				            </title>
            <link>https://efiction.org/community/3-x-solved-bugs/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 23 Apr 2026 14:59:12 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title> Backup fails on large archives / Strange characters in Backup</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/solved-backup-fails-on-large-archives-strange-characters-in-backup/</link>
                        <pubDate>Wed, 18 May 2016 14:41:10 +0000</pubDate>
                        <description><![CDATA[Hi, if you have a larger archive database (mostly when storing stories in DB, not in files), you might encounter problems when trying to backup.This is, because PHP only allows a limited amo...]]></description>
                        <content:encoded><![CDATA[Hi, if you have a larger archive database (mostly when storing stories in DB, not in files), you might encounter problems when trying to backup.<br><br>This is, because PHP only allows a limited amount of memory to be used by one single thread, and if all the stuff gets compiled, this may cause an error.<br><br>If you run into this OR you get your special characters (Umlaute, accents ...) messed up, there might be a fix for it:<br><br>Go into the admin folder of your eFiction site, download the backup.php (to be safe) and replace it with this:<br><br><pre>&lt;?php<br>// ----------------------------------------------------------------------<br>// eFiction 3.0<br>// Copyright (c) 2007 by Tammy Keefer<br>// Valid HTML 4.01 Transitional<br>// Based on eFiction 1.1<br>// Copyright (C) 2003 by Rebecca Smallwood.<br>// http://efiction.sourceforge.net/<br>//<br>// Size fix / UTF-8 feature 2016-05-18<br>// ----------------------------------------------------------------------<br>// LICENSE<br>//<br>// This program is free software; you can redistribute it and/or<br>// modify it under the terms of the GNU General Public License (GPL)<br>// as published by the Free Software Foundation; either version 2<br>// of the License, or (at your option) any later version.<br>//<br>// This program is distributed in the hope that it will be useful,<br>// but WITHOUT ANY WARRANTY; without even the implied warranty of<br>// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp; See the<br>// GNU General Public License for more details.<br>//<br>// To read the license please visit http://www.gnu.org/copyleft/gpl.html<br>// ----------------------------------------------------------------------<br><br>define(&quot;_BASEDIR&quot;, &quot;../&quot;);<br>include(&quot;../config.php&quot;);<br><br>$settingsresults = dbquery(&quot;SELECT * FROM &quot;.$settingsprefix.&quot;fanfiction_settings WHERE sitekey = &#039;$sitekey&#039;&quot;);<br>$settings = dbassoc($settingsresults);<br>foreach($settings as $var =&gt; $val) {<br>$$var = stripslashes($val);<br>$settings = htmlspecialchars($val);<br>}<br>if(!defined(&quot;SITEKEY&quot;)) define(&quot;SITEKEY&quot;, $settings&#091;&#039;sitekey&#039;]);<br>unset($settings&#091;&#039;sitekey&#039;]);<br>if(!defined(&quot;TABLEPREFIX&quot;)) define(&quot;TABLEPREFIX&quot;, $settings&#091;&#039;tableprefix&#039;]);<br>unset($settings&#091;&#039;tableprefix&#039;]);<br>$debug = 0;<br>include(&quot;../languages/&quot;.$language.&quot;.php&quot;);<br>include(&quot;../languages/&quot;.$language.&quot;_admin.php&quot;);<br>$file_name = str_replace(&quot; &quot;, &quot;_&quot;, $sitename).date(&quot;m-d-Y&quot;).&quot;.sql&quot;;<br>header(&quot;Content-Type: text/html; charset=utf-8&quot;);<br>Header(&quot;Content-type: application/octet-stream&quot;);<br>Header(&quot;Content-Disposition: attachment; filename=&#039;$file_name&#039;&quot;);<br><br>session_start( );<br>require_once(&quot;../includes/queries.php&quot;);<br>require_once(&quot;../includes/get_session_vars.php&quot;);<br>$debug = false;&nbsp; // Because we don&#039;t want debug info mucking up our backup.<br><br>if(!isADMIN) die( );<br><br>// Database backup<br>function datadump ($table) {<br>&nbsp; &nbsp; echo &quot;# Dump of $table rn&quot;;<br>&nbsp; &nbsp; echo &quot;# Dump DATE : &quot; . date(&quot;d-M-Y&quot;) .&quot;rnrn&quot;;<br><br>&nbsp; &nbsp; $tabledata = dbquery(&quot;SELECT * FROM $table&quot;);<br><br>while($t = dbassoc($tabledata)) {<br>echo &quot;INSERT INTO &quot;.$table.&quot; &quot;;<br>$row = array( );<br>foreach($t AS $field =&gt; $value) {<br>$value = utf8_encode (escapestring($value) );<br>$value = str_replace(&quot;n&quot;,&quot;\n&quot;,$value);<br>if (isset($value)) $row = &quot;&quot;$value&quot;&quot;;<br>else $row = &quot;&quot;&quot;&quot;;<br>}&nbsp;  <br>echo &quot;VALUES(&quot;.implode(&quot;, &quot;, $row).&quot;);rn&quot;;<br>}<br>echo &quot;rnrnrn&quot;;<br>}<br><br>$alltables = dbquery(&quot;SHOW TABLES&quot;);<br><br>while ($table = dbassoc($alltables)) {<br>datadump(current($table));<br>}<br><br> 	if($logging) dbquery(&quot;INSERT INTO &quot;.TABLEPREFIX.&quot;fanfiction_log (`log_action`, `log_uid`, `log_ip`, `log_type`) VALUES(&#039;&quot;.escapestring(sprintf(_LOG_BACKUP, USERPENNAME, USERUID)).&quot;&#039;, &#039;&quot;.USERUID.&quot;&#039;, INET_ATON(&#039;&quot;.$_SERVER&#091;&#039;REMOTE_ADDR&#039;].&quot;&#039;), &#039;AM&#039;)&quot;);<br>exit( );<br><br>?&gt;</pre><br><br>For one, this fixes the use of a deprecated function (ereg_replace).<br>The other thing is, it will not gather all the output and then send it, but instead will sort of create a stream of data, which means from the view of the server, no matter how large the database, it always only handles a small amount of data and therefore should not cause an error.<br><br><br>Uncle &quot;Add&quot; reminds me to tell you: This fix has been included in the GitHub master branch, both with and without UTF-8 conversion (<a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="https://github.com/eFiction/v3_stable">https://github.com/eFiction/v3_stable</a>)]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Sheepcontrol</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/solved-backup-fails-on-large-archives-strange-characters-in-backup/</guid>
                    </item>
				                    <item>
                        <title>E-Mail issue (foreign characters in subject - umlaut)</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/e-mail-issue-foreign-characters-in-subject-umlaut/</link>
                        <pubDate>Sun, 01 May 2016 10:39:16 +0000</pubDate>
                        <description><![CDATA[Hi there,my SO had the issue of mails getting a weird subject lately, mainly consisting of &quot;ISO-8859-1&quot; and some special characters, which had mails get spam-tagged for some recipi...]]></description>
                        <content:encoded><![CDATA[Hi there,<br><br>my SO had the issue of mails getting a weird subject lately, mainly consisting of &quot;ISO-8859-1&quot; and some special characters, which had mails get spam-tagged for some recipients.<br><br>While trying to find a solution to this, my first approach was to update the mailer class included.<br>And although the currently used class was &quot;only&quot; 13 years old, updating it did the job, so for anybody having the same issue, there is a fix available at <a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="https://github.com/eFiction/v3_stable">https://github.com/eFiction/v3_stable</a>.<br><br>If your board is modified, only uplad these files from above package:<br><br><pre>./includes/class.phpmailer.php (new)<br>./includes/class.smtp.php (new)<br>./includes/PHPMailerAutoload.php (new)<br>./includes/emailer.php (this will change an eFiction 3 file, backup before)<br>./languages/mailer/* (those come with the mailer class and are not new eFiction language files)</pre><br><br>If these changes work for you, you can delete these files and folders:<br><pre>./includes/phpmailer_include.php<br>./includes/smtp_include.php<br>./includes/language/phpmailer.lang-*.php</pre><br>]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Sheepcontrol</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/e-mail-issue-foreign-characters-in-subject-umlaut/</guid>
                    </item>
				                    <item>
                        <title> Challenge module</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/php7-challenge-module/</link>
                        <pubDate>Mon, 01 Feb 2016 15:28:14 +0000</pubDate>
                        <description><![CDATA[These posts may be ahead of time, but still - and for me to keep note of things I fixed ;)In modules/challenges/challenges.php, at or around line 174, find:else if($action == &quot;delete&amp;qu...]]></description>
                        <content:encoded><![CDATA[These posts may be ahead of time, but still - and for me to keep note of things I fixed ;)<br><br>In modules/challenges/challenges.php, at or around line 174, find:<br><pre>else if($action == &quot;delete&quot;) {<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if(!$chalid) continue;<br></pre><br><br>Change to<br><pre>else if($action == &quot;delete&quot;) {<br><br>if($chalid)<br>{<br></pre><br><br>same file, around line 197, find:<br><pre>&nbsp; &nbsp; &nbsp; &nbsp; else {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $output .= write_message(_CONFIRMDELETE.&quot;&lt;br /&gt;&lt;br /&gt;&quot;);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>}<br><br>else if($action == &quot;respond&quot;) {<br></pre><br><br>Insert one more closing &quot;}&quot;, should look like this:<br><pre>		else {<br>$output .= write_message(_CONFIRMDELETE.&quot;&lt;br /&gt;&lt;br /&gt;&quot;);<br>}<br>}<br>}<br><br>else if($action == &quot;respond&quot;) {<br></pre><br><br>That should be it, if anything else comes up, I&#039;ll update this post]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Sheepcontrol</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/php7-challenge-module/</guid>
                    </item>
				                    <item>
                        <title>Installer won&#039;t create admin/user created is no admin</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/installer-wont-create-admin-user-created-is-no-admin/</link>
                        <pubDate>Sat, 20 Jun 2015 22:51:58 +0000</pubDate>
                        <description><![CDATA[This is a known issue, working on fixing the installer.In the meantime, there is a quick fix available:&lt;?php/* Quick fix for missing admin1) upload to main directory2) run3) delete*/defin...]]></description>
                        <content:encoded><![CDATA[This is a known issue, working on fixing the installer.<br><br>In the meantime, there is a quick fix available:<br><br><pre>&lt;?php<br>/* Quick fix for missing admin<br><br>1) upload to main directory<br>2) run<br>3) delete<br><br>*/<br>define(&quot;_BASEDIR&quot;, &quot;./&quot;);<br>include(&#039;config.php&#039;);<br>include(&quot;includes/dbfunctions.php&quot;);<br>list($tableprefix) = dbrow(dbquery(&quot;SELECT tableprefix FROM &quot;.$settingsprefix.&quot;fanfiction_settings WHERE sitekey = &#039;$sitekey&#039;&quot;));<br>define(&quot;TABLEPREFIX&quot;, $tableprefix);<br><br>dbquery(&quot;UPDATE &quot;.TABLEPREFIX.&quot;fanfiction_authorprefs SET `level` = &#039;1&#039; WHERE `uid` = 1;&quot;);<br>dbclose();<br>?&gt;</pre><br><br>File is attached for download<div class="wpforo-attached-file"><a class="wpforo-default-attachment go2wpf-inline-attach" href="//efiction.org/wp-content/uploads/wpforo/attachments/0/45404=109-quickfix.zip"><i class="fas fa-paperclip"></i> quickfix.zip</a></div>]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Sheepcontrol</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/installer-wont-create-admin-user-created-is-no-admin/</guid>
                    </item>
				                    <item>
                        <title>Custom Pages problems in 3.5.3</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/custom-pages-problems-in-3-5-3/</link>
                        <pubDate>Thu, 11 Aug 2011 17:23:49 +0000</pubDate>
                        <description><![CDATA[I think you need to be made aware of couple of bugs that are in file admin/custpages.php in version 3.5.31.When I put some text to custom page (new or old, no difference) and hit Preview but...]]></description>
                        <content:encoded><![CDATA[I think you need to be made aware of couple of bugs that are in file admin/custpages.php in version 3.5.3<br><br>1.<br>When I put some text to custom page (new or old, no difference) and hit Preview button, text is shown in Preview, but it disappears from the text area, so when I click Submit, no text is put up. Yes, and it gives error for custpages.php line 83.<br><u>Solution: </u><br> In this file on line 57 was: if(strpos($thistext, &quot;?&gt;&quot;) === false) $output .= &quot;&lt;div id=&#039;pagetitle&#039;&gt;$title&lt;/div&gt;nn$thistext&quot;;<br>Changed to: if(strpos($thistext, &quot;?&gt;&quot;) === false) <b>{</b><br>$output .= &quot;&lt;div id=&#039;pagetitle&#039;&gt;$title&lt;/div&gt;nn$thistext&quot;;<br><b>$text = $thistext;<br>}</b><br>That leaves the text that already was in the text area there.<br><br>2.<br>Whenever I hit Preview button, after submitting is made a new custom page, with new ID.<br><u>Solution:</u><br>In file custpages.php on line 56 was <b>$id </b> = isset($_GET) ? $_GET : &quot;&quot;;<br>Changed to: <b>$edit </b> = isset($_GET) ? $_GET : &quot;&quot;;<br><br>Both was tested, works alright, no problems.]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>guest10763</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/custom-pages-problems-in-3-5-3/</guid>
                    </item>
				                    <item>
                        <title>Polls % bar issue.</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/solvedpolls-bar-issue/</link>
                        <pubDate>Thu, 14 Oct 2010 16:15:39 +0000</pubDate>
                        <description><![CDATA[After running the newest (3.5.3) update, I noticed that the results bars on my poll show as only outlined clear boxes, where they used to contain the standard colored-and-outlined barleft si...]]></description>
                        <content:encoded><![CDATA[After running the newest (3.5.3) update, I noticed that the results bars on my poll show as only outlined clear boxes, where they used to contain the standard colored-and-outlined bar.<br><br>http://ahparchive.seraphimlabs.net<br>(Lower left side)<br><br>I didn&#039;t update my custom skin&#039;s files or the update&#039;s image folder, as the tutorial advised against it, and this happened immediately after the update, so..<br>Just thought I would mention it, in case others are having that same issue.<br><br><br><br>THIS IS SOLVED, BUT IT YOU ARE ALSO HAVING THIS OR ANY OTHER NITPICKY ISSUES AFTER AN UPDATE, PLEASE CHECK TO BE SURE YOUR SERVER DIDN&#039;T DO WHAT MINE DID. YOUR FILES MUST BE CHMODDED TO 777 OF THE IMAGES/POST STORY THINGS WILL NOT WORK.<br>AND TAKE THE WARNING TO BACK UP ALL FILES SERIOUSLY. IF I HADN&#039;T DONE AS THE FAQ/TUTORIAL SUGGESTED, I WOULD HAVE LOST EVERYTHING.]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>sisterwicked</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/solvedpolls-bar-issue/</guid>
                    </item>
				                    <item>
                        <title>3.5.2. Bug? Page Links Missing</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/3-5-2-bug-page-links-missing/</link>
                        <pubDate>Fri, 19 Mar 2010 22:37:53 +0000</pubDate>
                        <description><![CDATA[URL to your eFiction:of eFiction: 3.5.2.Have you bridged eFiction, if so with what?:noVersion of PHP: 5.2.10Version of MySQL: 5.0.67Have you searched for your problem: yesIn accordance with ...]]></description>
                        <content:encoded><![CDATA[URL to your eFiction: http://www.naiceanilme.net<br>Version of eFiction: 3.5.2.<br>Have you bridged eFiction, if so with what?:no<br>Version of PHP: 5.2.10<br>Version of MySQL: 5.0.67<br>Have you searched for your problem: yes<br><br>In accordance with the rules for the bug forum, I&#039;m posting this here for now, but I suppose it&#039;s a bug. Since I&#039;m currently moving house, I&#039;m running two eFiction installs simoultaneously - one on 3.5.1. and one on 3.5.2. I just noticed that the 3.5.2. install doesn&#039;t show pagelinks on profile pages. Have an example here:<br><br>http://www.naiceanilme.net/viewuser.php?uid=12 - shows only the first 15 stories for this user, with no option to get to the next page.<br>http://angst.waking-vision.com/viewuser.php?uid=12 - the same userpage from the 3.5.1. install, notice the pagelinks at the bottom.<br><br>This seems to be a problem only on the profile pages - it works fine everywhere else as far as I could see.<br><br>I quickly checked another site that had upgraded to 3.5.2. and it seems to be missing those pagelinks as well: http://treknation.net/viewuser.php?uid=1 (this user has written over 70 stories).<br><br>Bug? Anyone else who upgraded to 3.5.2 who&#039;s having this problem?]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Michelle</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/3-5-2-bug-page-links-missing/</guid>
                    </item>
				                    <item>
                        <title>viewpage.php &quot;bug&quot; with ?id=</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/viewpage-php-bug-with-id/</link>
                        <pubDate>Tue, 16 Feb 2010 01:53:44 +0000</pubDate>
                        <description><![CDATA[I know it&#039;s somewhat rare for an archive to use ?id=, but there&#039;s still an error with it:$page = dbquery(&quot;SELECT message_title, message_text FROM &quot;.TABLEPREFIX.&quot;fanf...]]></description>
                        <content:encoded><![CDATA[I know it&#039;s somewhat rare for an archive to use ?id=, but there&#039;s still an error with it:<br><br><pre>$page = dbquery(&quot;SELECT message_title, message_text FROM &quot;.TABLEPREFIX.&quot;fanfiction_messages WHERE &quot;.($current ? &quot;message_name = &#039;&quot;.escapestring($current).&quot;&#039;&quot; : &quot;message_id = &#039;&quot;.(isNumber($_GET) ? $_GET : &quot;0&quot;)).&quot; LIMIT 1&quot;);</pre><br><br>It should be:<br><br><pre>$page = dbquery(&quot;SELECT message_title, message_text FROM &quot;.TABLEPREFIX.&quot;fanfiction_messages WHERE &quot;.($current ? &quot;message_name = &#039;&quot;.escapestring($current).&quot;&#039;&quot; : &quot;message_id = &#039;&quot;.(isNumber($_GET) ? $_GET : &quot;0&quot;).&quot;&#039;&quot;).&quot; LIMIT 1&quot;);</pre><br><br>(Missing quote for the ID.)]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Elle</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/viewpage-php-bug-with-id/</guid>
                    </item>
				                    <item>
                        <title>Add Author as Favourite</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/add-author-as-favourite/</link>
                        <pubDate>Tue, 01 Dec 2009 00:01:52 +0000</pubDate>
                        <description><![CDATA[The bug reported for 3.4.3. in this post still persists for me in 3.5.1. I upgraded specifically in the hope of getting rid of this problem, so it was the first thing I tested after the upgr...]]></description>
                        <content:encoded><![CDATA[The bug reported for 3.4.3. in this post (https://efiction.org/forums/index.php?topic=6383.0) still persists for me in 3.5.1. I upgraded specifically in the hope of getting rid of this problem, so it was the first thing I tested after the upgrade. Sadly, I&#039;m still getting a SQL error when I try adding a favourite author - both from the profile and from the story page.<br><br>Here&#039;s my site info again:<br><br><b>URL to your eFiction:</b> http://www.naiceanilme.com<br><b>Version of eFiction:</b> 3.5.1.<br><b>Have you bridged eFiction, if so with what?:</b>no<br><b>Version of PHP</b>: 5.2.10<br><b>Version of MySQL:</b> 5.0.83<br><b>Have you searched for your problem:</b> yes]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Michelle</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/add-author-as-favourite/</guid>
                    </item>
				                    <item>
                        <title>possible bug in admin blocks version 3.51</title>
                        <link>https://efiction.org/community/3-x-solved-bugs/possible-bug-in-admin-blocks-version-3-51/</link>
                        <pubDate>Wed, 28 Oct 2009 03:11:17 +0000</pubDate>
                        <description><![CDATA[I do not know if this a bug but when you go into the admin blocks section and attemp to dissable something by making it inactive example site news the object stays active.]]></description>
                        <content:encoded><![CDATA[I do not know if this a bug but when you go into the admin blocks section and attemp to dissable something by making it inactive example site news the object stays active.]]></content:encoded>
						                            <category domain="https://efiction.org/community/3-x-solved-bugs/">3.x Solved Bugs</category>                        <dc:creator>Methen</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/3-x-solved-bugs/possible-bug-in-admin-blocks-version-3-51/</guid>
                    </item>
							        </channel>
        </rss>
		