<?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>
									Support - eFiction Community Forums				            </title>
            <link>https://efiction.org/community/support/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 18 Aug 2026 14:37:13 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Looking for some support with my archive- host update killed it</title>
                        <link>https://efiction.org/community/support/looking-for-some-support-with-my-archive-host-update-killed-it/</link>
                        <pubDate>Tue, 24 Mar 2026 19:57:53 +0000</pubDate>
                        <description><![CDATA[Hello all, hoping I can get someone&#039;s attention here. We are running a very old version of efiction, I believe the last stable version but it&#039;s running php5, which is deprecated. My host has...]]></description>
                        <content:encoded><![CDATA[<p>Hello all, hoping I can get someone's attention here. We are running a very old version of efiction, I believe the last stable version but it's running php5, which is deprecated. My host has run an update and now php is at 8 and efiction wont' run it. We're at a point where they can't manually adjust php for it to work. </p>
<div class="gs">
<div class="">
<div id=":z8" class="ii gt adO">
<div id=":z9" class="a3s aiL ">
<div dir="ltr">
<div>They talked me into moving to a private server because it could run php lower than 8... I should have known it didn't work, but I wanted to give it a shot. Today I got an email that basically says they can't support anything below 7. I don't understand how other archives are still running on deprecated php?  Do I need to move to a different host? </div>
<div> </div>
<div>Am hoping someone can help provide some insight. A tech got it to work earlier, then I asked the migration team to move over one last folder and... boom. </div>
<div> </div>
<div>I am happy to pay for time and expertise if anyone has any knowledge to  throw at me. I am not techy at all. Also happy to send the message their migration team sent over that basically said 'get someone to update your software'. OK so easy. </div>
<div> </div>
<div>Thanks so much for any info you can pass on! </div>
<div> </div>
<div>Dominique WHite</div>
<div>Owner, NSYNC-Fiction.com </div>
</div>
</div>
</div>
<div id="avWBGd-563" class="WhmR8e" data-hash="0"> </div>
</div>
</div>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>NFArchiveAdmin</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/looking-for-some-support-with-my-archive-host-update-killed-it/</guid>
                    </item>
				                    <item>
                        <title>Can&#039;t sort by Round Robin</title>
                        <link>https://efiction.org/community/support/cant-sort-by-round-robin/</link>
                        <pubDate>Tue, 22 Aug 2023 08:55:00 +0000</pubDate>
                        <description><![CDATA[The advanced search is missing the round-robin check box.
 
And the browse Round Robin page is not working.]]></description>
                        <content:encoded><![CDATA[<p>The advanced search is missing the round-robin check box.</p>
<p> </p>
<p>And the browse Round Robin page is not working.</p>
<p><br /><br />https://www.potionsandsnitches.org/fanfiction/browse.php?type=robins</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/cant-sort-by-round-robin/</guid>
                    </item>
				                    <item>
                        <title>TinyMCE Readme.txt expired</title>
                        <link>https://efiction.org/community/support/tinymce-readme-txt-expired/</link>
                        <pubDate>Mon, 21 Aug 2023 21:54:18 +0000</pubDate>
                        <description><![CDATA[The TinyMCE folder comes with a Readme.txt that says:
 
Check this wiki page for installation instructions
 
That link no longer works. The readme.txt has to be updated to a working insta...]]></description>
                        <content:encoded><![CDATA[<p>The TinyMCE folder comes with a Readme.txt that says:</p>
<p> </p>
<p>Check this wiki page for installation instructions:<br />http://wiki.moxiecode.com/index.php/TinyMCE:Compressor/PHP</p>
<p> </p>
<p>That link no longer works. The readme.txt has to be updated to a working installation guide.</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/tinymce-readme-txt-expired/</guid>
                    </item>
				                    <item>
                        <title>PHP Notice: Undefined variable in languages/en.php</title>
                        <link>https://efiction.org/community/support/php-notice-undefined-variable-in-languages-en-php/</link>
                        <pubDate>Mon, 21 Aug 2023 21:10:20 +0000</pubDate>
                        <description><![CDATA[From error log: PHP Notice: Undefined variable: allowed_tags in /public_html/fanfiction/languages/en.php on line 26 PHP Notice: Undefined ...]]></description>
                        <content:encoded><![CDATA[<hr />
<p>From error log:<br /><br /><br /> PHP Notice: Undefined variable: allowed_tags in /public_html/fanfiction/languages/en.php on line 26<br /> PHP Notice: Undefined variable: recentdays in /public_html/fanfiction/languages/en.php on line 137<br /> PHP Notice: Undefined variable: multiplecats in /public_html/fanfiction/languages/en.php on line 249<br /> PHP Notice: Undefined variable: minwords in /public_html/fanfiction/languages/en.php on line 266<br /> PHP Notice: Undefined variable: maxwords in /public_html/fanfiction/languages/en.php on line 266<br /> PHP Notice: Undefined variable: action in /public_html/fanfiction/languages/en.php on line 299<br /> PHP Notice: Undefined variable: pwdsetting in /public_html/fanfiction/languages/en.php on line 308<br /> PHP Notice: Undefined variable: imagewidth in /public_html/fanfiction/languages/en.php on line 323<br /> PHP Notice: Undefined variable: imageheight in /public_html/fanfiction/languages/en.php on line 323<br /><br /></p>
<p> </p>
<p>From<br />/languages/en.php<br /><br />Line 26:</p>
<div>
<div><span>define</span><span> (</span><span>"_ALLOWEDTAGS"</span><span>, </span><span>"&lt;span style=</span><span>\"</span><span>font-weight: bold; text-decoration: underline;</span><span>\"</span><span>&gt;Note:&lt;/span&gt; Allowed HTML tags are: "</span><span>.</span><span>htmlentities</span><span>(</span><span>preg_replace</span><span>(</span><span>"/&gt;&lt;/"</span><span>, </span><span>"&gt; &lt;"</span><span>, </span><span>$allowed_tags</span><span>)));</span></div>
</div>
<div> </div>
<div>Line 137:</div>
<div> </div>
<div>
<div><span>define</span><span> (</span><span>"_RECENTSTORIES"</span><span>, </span><span>"Stories updated in the last "</span><span>.</span><span>$recentdays</span><span>.</span><span>" days."</span><span>);</span></div>
</div>
<div> </div>
<div>Line 249:</div>
<div> </div>
<div>
<div><span>define</span><span> (</span><span>"_MISSINGFIELDS"</span><span>, </span><span>"Some of the required information is missing.  Please check your input.  Required fields are title, summary, "</span><span>.</span><span>(</span><span>$multiplecats</span><span> ? </span><span>strtolower</span><span>(_CATEGORIES</span><span>.</span><span>", "</span><span>) : </span><span>""</span><span>)</span><span>.</span><span>"rating, and story text."</span><span>); </span><span>// Modified 11/06/05 - If categories are turned off don't show category as required field. :)</span></div>
</div>
<div> </div>
<div>Line 266:</div>
<div> </div>
<div>
<div>
<div><span>define</span><span> (</span><span>"_WORDCOUNTFAILED"</span><span>, </span><span>"Your story failed to meet the required minimum or maximum word count for story submission on this site.  Each chapter must be"</span><span>.</span><span>(</span><span>$minwords</span><span> ? </span><span>" no less than "</span><span>.</span><span>$minwords</span><span> : </span><span>""</span><span>)</span><span>.</span><span>(</span><span>$maxwords</span><span> ? (</span><span>$minwords</span><span> ? </span><span>" and"</span><span> : </span><span>""</span><span>)</span><span>.</span><span>" no more than </span><span>$maxwords</span><span> "</span><span> : </span><span>""</span><span>)</span><span>.</span><span>" words long."</span><span>);</span></div>
</div>
</div>
<div> </div>
<div>Line 299:</div>
<div> </div>
<div>
<div>
<div><span>define</span><span> (</span><span>"_PASSWORDTWICE"</span><span>, </span><span>"You must enter your new password twice. Please &lt;a href=</span><span>\"</span><span>user.php?action="</span><span>.</span><span>$action</span><span>.</span><span>"</span><span>\"</span><span>&gt;try again&lt;/a&gt;."</span><span>);</span></div>
<div> </div>
</div>
</div>
<div> </div>
<div>Line 308:</div>
<div> </div>
<div>
<div>
<div><span>define</span><span> (</span><span>"_SIGNUPTHANKS"</span><span>, </span><span>"Thank you for signing up! You will receive "</span><span>.</span><span>(!</span><span>$pwdsetting</span><span> ? </span><span>"your temporary password"</span><span> : </span><span>"a confirmation"</span><span>)</span><span>.</span><span>" at the e-mail address you provided."</span><span>);</span></div>
<div> </div>
</div>
</div>
<div> </div>
<div>Line 323:</div>
<div>
<div> </div>
</div>
<div>
<div><span>define</span><span> (</span><span>"_IMAGETOOBIG"</span><span>, </span><span>"This image is too big. Images may only be </span><span>$imagewidth</span><span> wide by </span><span>$imageheight</span><span> high. Please &lt;a href=</span><span>\"</span><span>user.php?action=manageimages&amp;upload=upload</span><span>\"</span><span>&gt;try again&lt;/a&gt;."</span><span>);</span></div>
<div> </div>
</div>
<p>---</p>
<p> </p>
<h2><strong>Notice: Undefined variable</strong></h2>
<p>This error means that within your code, there is a<span> </span><strong>variable or constant<span> </span></strong>which is not set. But you may be trying to use that variable.</p>
<p>The error can be avoided by using the<span> </span><strong>isset() </strong>function.This function will check whether the variable is set or not.</p>
<p> </p>
<p><big><strong>Error<span> </span></strong><strong>Example:</strong></big></p>
<pre contenteditable="false"><code class="hljs language-php"><span class="hljs-meta">&lt;?php</span>
<span class="hljs-variable">$name</span>=<span class="hljs-string">'Stechies'</span>;
<span class="hljs-keyword">echo</span> <span class="hljs-variable">$name</span>;
<span class="hljs-keyword">echo</span> <span class="hljs-variable">$age</span>;
<span class="hljs-meta">?&gt;</span></code></pre>
<p><big><strong>Output:</strong></big></p>
<pre contenteditable="false"><code class="hljs language-vbnet">STechies
<span class="hljs-symbol">Notice:</span> Undefined variable: age <span class="hljs-keyword">in</span> \testsite.loc\varaible.php <span class="hljs-keyword">on</span> line <span class="hljs-number">4</span></code></pre>
<p>In the above example, we are displaying value stored in the<strong> ‘name’ and ‘age’</strong> variable, but we didn’t<span> </span><strong>set<span> </span></strong>the ‘<strong>age’<span> </span></strong>variable.</p>
<p> </p>
<p><strong>H</strong><strong>ere are two ways to deal with such notices.</strong></p>
<ol>
<li><strong>Resolve such notices.</strong></li>
<li><strong>Ignore such notices</strong><strong>.</strong></li>
</ol>
<h2><strong>Fix N</strong><strong>otice: Undefined<span> </span></strong><strong>Variable by using<span> </span></strong><strong>isset() Function</strong></h2>
<p>This notice occurs when you use any variable in your PHP code, which is not set.</p>
<p><big><strong>Solutions:</strong></big></p>
<p>To fix this type of error, you can define the variable as global and use the<span> </span><strong>isset()<span> </span></strong>function to<span> </span><strong>check if the </strong><strong>variable is<span> </span></strong><strong>set or not</strong>.</p>
<p><big><strong>Example:</strong></big></p>
<pre contenteditable="false"><code class="language-php hljs"><span class="hljs-meta">&lt;?php</span>
<span class="hljs-keyword">global</span> <span class="hljs-variable">$name</span>;
<span class="hljs-keyword">global</span> <span class="hljs-variable">$age</span>;
<span class="hljs-variable">$name</span> = <span class="hljs-string">'Stechies'</span>;

<span class="hljs-keyword">if</span>(!<span class="hljs-keyword">isset</span>(<span class="hljs-variable">$name</span>)){
<span class="hljs-variable">$name</span> = <span class="hljs-string">'Variable name is not set'</span>;
}
<span class="hljs-keyword">if</span>(!<span class="hljs-keyword">isset</span>(<span class="hljs-variable">$age</span>)){
<span class="hljs-variable">$age</span> = <span class="hljs-string">'Varaible age is not set'</span>;
}
<span class="hljs-keyword">echo</span> <span class="hljs-string">'Name: '</span> . <span class="hljs-variable">$name</span>.<span class="hljs-string">'&lt;br&gt;'</span>;
<span class="hljs-keyword">echo</span> <span class="hljs-string">'Age: '</span> . <span class="hljs-variable">$age</span>;
<span class="hljs-meta">?&gt;</span></code></pre>
<h3><strong>Set Index as blank</strong></h3>
<pre contenteditable="false"><code class="language-php hljs"><span class="hljs-meta">&lt;?php</span>
<span class="hljs-variable">$name</span> = <span class="hljs-string">'Stechies'</span>;

<span class="hljs-comment">// Set Variable as Blank</span>
<span class="hljs-variable">$name</span> = <span class="hljs-keyword">isset</span>(<span class="hljs-variable">$name</span>) ? <span class="hljs-variable">$name</span> : <span class="hljs-string">''</span>;
<span class="hljs-variable">$age</span>= <span class="hljs-keyword">isset</span>(<span class="hljs-variable">$age</span>) ? <span class="hljs-variable">$age</span>: <span class="hljs-string">''</span>;

<span class="hljs-keyword">echo</span> <span class="hljs-string">'Name: '</span> . <span class="hljs-variable">$name</span>.<span class="hljs-string">'&lt;br&gt;'</span>;
<span class="hljs-keyword">echo</span> <span class="hljs-string">'Age: '</span> . <span class="hljs-variable">$age</span>;
<span class="hljs-meta">?&gt;</span></code></pre>
<h2><strong>I</strong><strong>gnore PHP Notice: Undefined<span> </span></strong><strong>variable</strong></h2>
<p>You can ignore this notice by disabling reporting of notice with option<span> </span><strong>error_reporting</strong>.</p>
<h2><strong>1. </strong><strong>Disable Display Notice in<span> </span></strong><strong>php.ini file</strong></h2>
<p>Open php.ini file in your favorite editor and search for text<span> </span><strong>“error_reporting” </strong>the default value is<span> </span><strong>E_ALL</strong>. You can change it to<span> </span><strong>E_ALL &amp; ~E_NOTICE</strong>.</p>
<p><strong>By default:</strong></p>
<p>error_reporting = E_ALL</p>
<p><strong>Change it to</strong><strong>:</strong></p>
<p>error_reporting = E_ALL &amp; ~E_NOTICE</p>
<p>Now your PHP compiler will show all errors except 'Notice.'</p>
<h2><strong>2. </strong><strong>Disable Display Notice in<span> </span></strong><strong>PHP Code</strong></h2>
<p>If you don’t have access to make changes in the<span> </span><strong>php.ini file</strong>, In this case, you need to disable the notice by adding the following code on the top of your PHP page.</p>
<pre contenteditable="false"><code class="language-php hljs"><span class="hljs-meta">&lt;?php</span> error_reporting (E_ALL ^ E_NOTICE); <span class="hljs-meta">?&gt;</span></code></pre>
<p>Now your PHP compiler will show all errors except<span> </span><strong>'Notice</strong>.'</p>
<p><br /><br /><br />https://www.stechies.com/notice-undefined-variable-in-php/</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/php-notice-undefined-variable-in-languages-en-php/</guid>
                    </item>
				                    <item>
                        <title>Trying to access array offset on value of type null</title>
                        <link>https://efiction.org/community/support/trying-to-access-array-offset-on-value-of-type-null/</link>
                        <pubDate>Mon, 21 Aug 2023 20:44:42 +0000</pubDate>
                        <description><![CDATA[From the error log: PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 32...]]></description>
                        <content:encoded><![CDATA[<p>From the error log:<br /><br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 32<br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 38<br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 39<br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 40<br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 42<br /> PHP Notice: Trying to access array offset on value of type null in /public_html/fanfiction/user/profile.php on line 46</p>
<p> </p>
<p>/fanfiction/user/profile.php lines 32 to 46:<br /><br /></p>
<div>
<div><span>if</span><span>(</span><span>$userinfo</span><span>)</span></div>
<div><span>    </span><span>$nameinfo</span><span> </span><span>.=</span><span> </span><span>" [&lt;a href=</span><span>\"</span><span>viewuser.php?action=contact&amp;amp;uid="</span><span>.</span><span>$userinfo</span><span></span><span>.</span><span>"</span><span>\"</span><span>&gt;"</span><span>.</span><span>_CONTACT</span><span>.</span><span>"&lt;/a&gt;]"</span><span>;</span></div>
<div><span>if</span><span>(!</span><span>empty</span><span>(</span><span>$favorites</span><span>) &amp;&amp; isMEMBER &amp;&amp; </span><span>$userinfo</span><span> != USERUID) {</span></div>
<div><span>    </span><span>$fav</span><span> = </span><span>dbquery</span><span>(</span><span>"</span><span>SELECT</span><span> </span><span>*</span><span> </span><span>FROM</span><span> </span><span>"</span><span>.</span><span>TABLEPREFIX</span><span>.</span><span>"fanfiction_favorites WHERE uid = '"</span><span>.</span><span>USERUID</span><span>.</span><span>"' AND type = 'AU' AND item = '"</span><span>.</span><span>$userinfo</span><span></span><span>.</span><span>"'"</span><span>);</span></div>
<div><span>    </span><span>if</span><span>(</span><span>dbnumrows</span><span>(</span><span>$fav</span><span>) == </span><span>0</span><span>) </span><span>$nameinfo</span><span> </span><span>.=</span><span> </span><span>" [&lt;a href=</span><span>\"</span><span>user.php?action=favau&amp;amp;uid="</span><span>.</span><span>USERUID</span><span>.</span><span>"&amp;amp;add="</span><span>.</span><span>$userinfo</span><span></span><span>.</span><span>"</span><span>\"</span><span>&gt;"</span><span>.</span><span>_ADDAUTHOR2FAVES</span><span>.</span><span>"&lt;/a&gt;]"</span><span>;</span></div>
<div><span>}</span></div>
<div><span>$tpl</span><span>-&gt;</span><span>assign</span><span>(</span><span>"userpenname"</span><span>, </span><span>$userinfo</span><span></span><span>.</span><span>" "</span><span>.</span><span>$nameinfo</span><span>);</span></div>
<div><span>$tpl</span><span>-&gt;</span><span>assign</span><span>(</span><span>"membersince"</span><span>, </span><span>date</span><span>(</span><span>"</span><span>$dateformat</span><span>"</span><span>, </span><span>$userinfo</span><span>));</span></div>
<div><span>if</span><span>(</span><span>$userinfo</span><span>)</span></div>
<div><span>    </span><span>$tpl</span><span>-&gt;</span><span>assign</span><span>(</span><span>"realname"</span><span>, </span><span>$userinfo</span><span>);</span></div>
<div><span>if</span><span>(</span><span>$userinfo</span><span>) {</span></div>
<div><span>    </span><span>$bio</span><span> = </span><span>nl2br</span><span>(</span><span>$userinfo</span><span>); </span></div>
<div><span>    </span><span>$tpl</span><span>-&gt;</span><span>assign</span><span>(</span><span>"bio"</span><span>, </span><span>stripslashes</span><span>(</span><span>$bio</span><span>));</span></div>
<div><span>}</span></div>
<div><span>if</span><span>(</span><span>$userinfo</span><span>)</span></div>
<div> </div>
</div>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/trying-to-access-array-offset-on-value-of-type-null/</guid>
                    </item>
				                    <item>
                        <title>PHP Warning: Use of undefined constant _EDITBIO</title>
                        <link>https://efiction.org/community/support/php-warning-use-of-undefined-constant-_editbio/</link>
                        <pubDate>Mon, 21 Aug 2023 20:39:27 +0000</pubDate>
                        <description><![CDATA[PHP Warning: Use of undefined constant _EDITBIO - assumed &#039;_EDITBIO&#039; (this will throw an Error in a future version of PHP) in /public_html/fanfiction/admin/viewlog.php on line 27
 
viewlog...]]></description>
                        <content:encoded><![CDATA[<p>PHP Warning: Use of undefined constant _EDITBIO - assumed '_EDITBIO' (this will throw an Error in a future version of PHP) in /public_html/fanfiction/admin/viewlog.php on line 27</p>
<p> </p>
<p>viewlog.php on line 27:</p>
<div>
<div><span>$logtypes</span><span> = </span><span>array</span><span>(</span><span>"RG"</span><span> =&gt; _NEWREG, </span><span>"ED"</span><span> =&gt; _ADMINEDIT, </span><span>"DL"</span><span> =&gt; _ADMINDELETE, </span><span>"VS"</span><span> =&gt; _VALIDATESTORY, </span><span>"LP"</span><span>=&gt; _LOSTPASSWORD, </span><span>"BL"</span><span> =&gt; _BADLOGIN, </span><span>"RE"</span><span> =&gt; </span><span>"Reviews"</span><span>, </span><span>"AM"</span><span> =&gt; </span><span>"Admin Maintenance"</span><span>, </span><span>"EB"</span><span><span> =&gt; "_EDITBIO");<br /><br /></span></span></div>
<div> </div>
<div><span><span>I added on fanfiction/languages/en.php</span></span></div>
<div><span><span><br /><br /></span></span>
<div>
<div><span>define</span><span> (</span><span>"_EDITBIO"</span><span>, </span><span>"Edit Bio"</span><span>);</span></div>
</div>
</div>
</div>
<div> </div>
<div>
<div> </div>
</div>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/php-warning-use-of-undefined-constant-_editbio/</guid>
                    </item>
				                    <item>
                        <title>PHP Warning: A non-numeric value</title>
                        <link>https://efiction.org/community/support/php-warning-a-non-numeric-value/</link>
                        <pubDate>Mon, 21 Aug 2023 20:20:16 +0000</pubDate>
                        <description><![CDATA[PHP Warning: A non-numeric value encountered in /public_html/fanfiction/includes/get_session_vars.php on line 30    if($userdata &amp;&amp; $userdata != -1 &amp;&amp; $_COOKIE[$site...]]></description>
                        <content:encoded><![CDATA[<div>
<div><span>PHP Warning: A non-numeric value encountered in /public_html/fanfiction/includes/get_session_vars.php on line 30<br /><br />    </span><span>if</span><span>(</span><span>$userdata</span><span> &amp;&amp; </span><span>$userdata</span><span> != -</span><span>1</span><span> &amp;&amp; </span><span>$_COOKIE</span><span> == </span><span>md5</span><span>(</span><span>$userdata</span><span>+</span><span>$userdata</span><span>)) {</span></div>
<div> </div>
</div>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/php-warning-a-non-numeric-value/</guid>
                    </item>
				                    <item>
                        <title>undefined constant _CHARSET future error</title>
                        <link>https://efiction.org/community/support/undefined-constant-_charset-future-error/</link>
                        <pubDate>Mon, 21 Aug 2023 20:05:49 +0000</pubDate>
                        <description><![CDATA[This is in the error logs:
PHP Notice: Use of undefined constant _CHARSET - assumed &#039;_CHARSET&#039; in /public_html/fanfiction/header.php on line 67
PHP Warning: Use of undefined constant _CHAR...]]></description>
                        <content:encoded><![CDATA[<p>This is in the error logs:</p>
<p>PHP Notice: Use of undefined constant _CHARSET - assumed '_CHARSET' in /public_html/fanfiction/header.php on line 67</p>
<p>PHP Warning: Use of undefined constant _CHARSET - assumed '_CHARSET' (this will throw an Error in a future version of PHP) in /public_html/fanfiction/header.php on line 67<br /><br /></p>
<p>Line 67 says:</p>
<div>
<div><span>header</span><span>(</span><span>"Content-Type: text/html; charset="</span><span>.</span><span>_CHARSET);</span></div>
</div>
<p> </p>
<p> </p>
<p>I looked on en.php, line 4:</p>
<div>
<div><span>define</span><span> (</span><span>"_CHARSET"</span><span>, </span><span>"ISO-8859-1"</span><span>);<br /></span></div>
</div>
<div> </div>
<div> </div>
<div>
<div><span><br />Hmmm, how to fix this?</span>
<p> </p>
<p> </p>
</div>
<div><span><br />If I delete charset="._CHARSET from line 67 will it fix it?</span></div>
</div>
<div> </div>
<div> </div>
<div>Edit:</div>
<div> </div>
<div>
<p>On</p>
<p><span>fanfiction/header.php on line 67</span></p>
<p>I changed </p>
<p><span>header</span><span>(</span><span><strong>"</strong>Content-Type: text/html; charset=<span style="color: #ff6600"><strong>"</strong></span></span><span>.</span><span>_CHARSET);</span></p>
<p>to</p>
<div>
<div><span>header</span><span>(</span><span><strong>"</strong>Content-Type: text/html; charset=._CHARSET<span style="color: #ff6600"><strong>"</strong></span></span><span>);</span></div>
<div> </div>
</div>
<div>I think the " might of been in the wrong place.</div>
</div>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/undefined-constant-_charset-future-error/</guid>
                    </item>
				                    <item>
                        <title>Countdown doesn&#039;t work.</title>
                        <link>https://efiction.org/community/support/countdown-doesnt-work/</link>
                        <pubDate>Mon, 21 Aug 2023 19:32:12 +0000</pubDate>
                        <description><![CDATA[I activated the countdown in the countdown block. I inputed an end date and time and saved it. It works actively counting down on the admin countdown page
But it does not work when I try to ...]]></description>
                        <content:encoded><![CDATA[<p>I activated the countdown in the countdown block. I inputed an end date and time and saved it. It works actively counting down on the admin countdown page.<br /><br />https://www.potionsandsnitches.org/fanfiction/admin.php?action=blocks&amp;admin=countdown<br /><br /></p>
<p>But it does not work when I try to add<br /><br /><span>{days}, {hours}, {minutes}, {seconds}</span></p>
<p>or </p>
<p>{countdown}<br /><br />to the Welcome message. <br /><br /><br /></p>
<p>How do I get this to work?</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/countdown-doesnt-work/</guid>
                    </item>
				                    <item>
                        <title>PHP Deprecated: Function get_magic_quotes_gpc()</title>
                        <link>https://efiction.org/community/support/php-deprecated-function-get_magic_quotes_gpc/</link>
                        <pubDate>Mon, 21 Aug 2023 19:23:53 +0000</pubDate>
                        <description><![CDATA[PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/headprefect/public_html/fanfiction/header.php on line 31
&quot;Since PHP no longer adds slashes to request parameters (remo...]]></description>
                        <content:encoded><![CDATA[<p>PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/headprefect/public_html/fanfiction/header.php on line 31</p>
<p><br /><br /><span>"Since PHP no longer adds slashes to request parameters (</span><a href="https://www.php.net/manual/en/security.magicquotes.what.php" rel="nofollow noreferrer">removed in PHP 5.4</a><span>), </span><code>get_magic_quotes_gpc()</code><span> </span><strong>always</strong><span> returns </span><code>false</code><span>. "</span><br /><br /></p>
<p> </p>
<p><code>"get_magic_quotes_gpc()</code><span> </span>has been useless ever since PHP 5.4.0. It would tell you whether you have magic quotes switched on in the configuration or not. Magic quotes were a terrible idea and this feature was removed for security reasons (PHP developers believed in magic &amp; superstitions and wrote unsecure code).</p>
<p>"Most likely even you yourself do not know why you had this line of code in your project. I know I was fooled by it when I was learning PHP. The reality is you do not need it at all. This function has nothing to do with security and the concept of input sanitization is preposterous.</p>
<p>"Instead, rely on good security guidelines.</p>
<ul>
<li>Use parameterized prepared statements for interactions with the database. PHP has a very good library called PDO, which can be used with many DB drivers including MySQL.</li>
<li>If you produce output, then escape<span> </span><strong>the output</strong><span> </span>taking into consideration the rules of that medium. For example when outputting to HTML use<span> </span><code>htmlspecialchars()</code><span> </span>to prevent XSS.</li>
<li>Never sanitize input. There is no magical solution that would protect you against everything. Instead, you as a developer must be aware of dangers and you need to know how to protect your code.<span> </span><a href="https://benhoyt.com/writings/dont-sanitize-do-escape/" rel="noreferrer">Don’t try to sanitize input. Escape output."</a></li>
</ul>
<p> </p>
<p>Source: </p>
<p>https://stackoverflow.com/questions/61054418/php-7-4-deprecated-get-magic-quotes-gpc-function-alternative</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/support/">Support</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/support/php-deprecated-function-get_magic_quotes_gpc/</guid>
                    </item>
							        </channel>
        </rss>
		