<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Spamhurdles not working after upgrade 5.2.22</title>
        <description> Hi,

My (fresh) installation of phorum 5.2.22 breaks on the Spamhurdles module. (as one can see @ http://trauminfo.de/phorum/read.php?2,5 ).

The frustrating thing is that on my localhost (a laravel project in a homestead virtual machine), the phorum upgrade does work (with the spamhurdles module enabled).

I&amp;#039;ve already checked if the ./cache directory is writable.

Anybody have a clue?

grtz Marco</description>
        <link>https://www.phorum.org/support/read.php?61,161350,161350#msg-161350</link>
        <lastBuildDate>Thu, 15 Oct 2026 05:55:26 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161369#msg-161369</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161369#msg-161369</link>
            <description><![CDATA[ I seem to have gotten Phorum (with spamhurdles) to work now.<br />
It is superweird though.<br />
<br />
Solution: I&#039;ve ftp&#039;ed the phorum developed on my localhost to my production server.<br />
<br />
Before -using git pull- phorum didn&#039;t function.<br />
Now  -plain ftp&#039;ing- phorum works.<br />
<br />
???<br />
<br />
I quess all my troubles are more related to git than the source code of phorum itself. <br />
Git is a cool, developy thing to do though.<br />
<br />
Does anybody know how to use git to take phorum into production?<br />
<br />
grtz Marco]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 12:12:28 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161368#msg-161368</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161368#msg-161368</link>
            <description><![CDATA[ What version of mysql are you using?<br />
Did you also upgrade mysql?]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 12:00:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161367#msg-161367</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161367#msg-161367</link>
            <description><![CDATA[ I did. A completely new issue popped up: since i created a table &quot;phorum_spamhurdles&quot;.<br />
<br />
 I can&#039;t even see the settings-page of the spamhurdles module in the admin section anymore ???<br />
<br />
<br />
this doesn&#039;t seem to work:<br />
<br />
<br />
    // Save the upgraded configuration.<br />
    $PHORUM[&#039;DB&#039;]-&gt;update_settings(array(<br />
        &#039;mod_spamhurdles&#039; =&gt; $PHORUM[&#039;mod_spamhurdles&#039;]<br />
    ));]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 10:09:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161366#msg-161366</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161366#msg-161366</link>
            <description><![CDATA[ When you enabled spamhurdles did you save the settings?<br />
&quot;submit&quot; button at bottom of page.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 09:56:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161365#msg-161365</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161365#msg-161365</link>
            <description><![CDATA[ @Scott, no still doesn&#039;t help. <br />
<br />
Even with a table &quot;phorum_spamhudles&quot;, my errorlog still returns:<br />
<br />
<b>Fatal error:  Call to a member function update_settings() on null in /home/droominfo/domains/trauminfo.de/public/phorum/mods/spamhurdles/defaults.php on line 140</b><br />
<br />
:(]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 09:08:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161364#msg-161364</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161364#msg-161364</link>
            <description><![CDATA[ Now that you mention it: no it wasn&#039;t !! <br />
Since spamhurdles is in the default distribution, if figured this table would be automatically created.<br />
<br />
I&#039;ll try to create the spamhurdles table, see if this helps.]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 08:40:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161363#msg-161363</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161363#msg-161363</link>
            <description><![CDATA[ Was the spamhurdles table created?]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 08:14:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161362#msg-161362</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161362#msg-161362</link>
            <description><![CDATA[ Alas, I cheered to soon. After I got the spamhurdles working with the default settings, I wanted to change the style via the admin panel.<br />
After choosing &quot;ascii art&quot; and pressed &quot;save&quot;, I got a blank page.<br />
<br />
I decided to delete all my phorum tables, and install all new ones.<br />
Now nothing seems to work. <br />
<br />
When looking in the errorlogs, this message pups up regularly<br />
<br />
<b>PHP Fatal error:  Call to a member function update_settings() on null in /home/droominfo/domains/trauminfo.de/public/phorum/mods/spamhurdles/defaults.php on line 140</b><br />
<br />
Very frustrating! Anyone an idea?]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Fri, 04 Nov 2016 02:02:54 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161361#msg-161361</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161361#msg-161361</link>
            <description><![CDATA[ Glad it is fixed.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 15:41:55 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161360#msg-161360</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161360#msg-161360</link>
            <description><![CDATA[ Hi Scott,<br />
<br />
I&#039;m not that much of a sysop, but i finally figured it out. <br />
My gut feeling was that non functioning Spamhurdles had something to do with read-write access, but i didn&#039;t know what.<br />
<br />
Using these steps provided in <a href="http://ourcodeworld.com/articles/read/214/how-to-solve-php-7-0-polyfill-there-is-no-suitable-csprng-installed-on-your-system-paragonie-random-compat" target="_blank"  rel="nofollow">http://ourcodeworld.com/articles/read/214/how-to-solve-php-7-0-polyfill-there-is-no-suitable-csprng-installed-on-your-system-paragonie-random-compat</a> <br />
<br />
I had to append &quot;/dev/urandom&quot; to my existing open_basedir configuration.]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 15:30:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161359#msg-161359</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161359#msg-161359</link>
            <description><![CDATA[ Unable to assist you with your host.<br />
<br />
This link may help to understand the problem (even if you are not on php 7). [<a href="https://www.sammyk.me/security-changes-to-the-php-7-csprng-in-rc3" target="_blank"  rel="nofollow">www.sammyk.me</a>]]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 14:44:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161358#msg-161358</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161358#msg-161358</link>
            <description><![CDATA[ Hi Scott,<br />
<br />
I do have access to php.ini, but i do not known what to place there with regards to open_basedir &amp; CSPRNG<br />
<br />
Can you tell me what to do?<br />
<br />
grtz Marco<br />
<br />
p.s. Perhaps this could provide more insight: my new phorum is placed in the &quot;public&quot; directory of an laravel project. <br />
I use composer.json to include &quot;&quot;paragonie/random_compat&quot;: &quot;~1.4&quot; as a dependancy]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 14:03:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161357#msg-161357</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161357#msg-161357</link>
            <description><![CDATA[ You need access to php.ini, or your host needs to add the extension.<br />
If you use cpanel there may be a link to do it yourself.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 08:18:03 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161356#msg-161356</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161356#msg-161356</link>
            <description><![CDATA[ Hi S<br />
Thanks for you answer. I&#039;ve looked into my php error log. The main reason seems to be:<br />
<br />
<b>PHP Fatal error:  Uncaught exception &#039;Exception&#039; with message &#039;There is no suitable CSPRNG installed on your system&#039;.</b><br />
<br />
I gues this is a php extension of sorts that generates something random.<br />
<br />
Any ideas how i can fix this?<br />
<br />
kind regards, Marco]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Thu, 03 Nov 2016 02:39:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161354#msg-161354</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161354#msg-161354</link>
            <description><![CDATA[ The path in the warning points to a tidy directory   &gt;&gt;File(./mods/<b>mod_tidy.php</b>/info.txt)  mod_tidy.php has been in the mods directory since at least 2007. Mod tidy has the information in info.txt  included in the mod_tidy.php , this shouldn&#039;t cause a warning. <br />
<br />
You appear to have a permission problem with directories, however check for another copy of mod_tidy.php<br />
You may have had a separately installed mod_tidy leftover from Ver. 5.1.x or earlier.<br />
<br />
&quot;Deprecated&quot; is a warning for the future. Warnings are not supposed to prevent php from running.<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Methods called from an incompatible context are now deprecated, and will generate E_DEPRECATED errors when invoked instead of E_STRICT. Support for these calls will be removed in a future version of PHP.</div></blockquote>
<br />
spamhurdles needs a table in the database, is it there?<br />
<br />
error logging in php may be set in the php.ini. Depending on your host, you may be able to have your own php.ini<br />
Check your phorum directory for error_log, or ask the host where/if it gets written.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Wed, 02 Nov 2016 18:14:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161353#msg-161353</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161353#msg-161353</link>
            <description><![CDATA[ Follow up on my own reply:<br />
<br />
the open basedir warning was fixed by removing mod_tidy alltogether from de /mods directory.<br />
<br />
I&#039;v been able to reproduce PHP errors on my localhost. <br />
These warnings talk of deprecated PHP functions. <br />
<br />
<img src="http://trauminfo.de/img/spamhurdles_warning.png" class="bbcode" border="0" /><br />
<br />
Does anybody known if these errors could be the reason Spamhurdles doesn&#039;t work?]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Wed, 02 Nov 2016 16:54:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161352#msg-161352</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161352#msg-161352</link>
            <description><![CDATA[ Hi Scott,<br />
<br />
I&#039;ve enabled event logging for spamhurdles, and it provides the following feedback:<br />
<br />
<i>PHP warning: file_exists(): open_basedir restriction in effect. File(./mods/mod_tidy.php/info.txt) is not within the allowed path(s)</i><br />
<br />
Not quite sure though how i can log phorum as a whole though.<br />
<br />
regards, Marco]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Wed, 02 Nov 2016 15:24:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161351#msg-161351</guid>
            <title>Re: Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161351#msg-161351</link>
            <description><![CDATA[ Enable logging in the admin (everything), and/or check the php error log.<br />
Enable logging in spamhurdles.<br />
Force some entries.<br />
<br />
Are there any errors or warnings?]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Wed, 02 Nov 2016 14:00:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,161350,161350#msg-161350</guid>
            <title>Spamhurdles not working after upgrade 5.2.22</title>
            <link>https://www.phorum.org/support/read.php?61,161350,161350#msg-161350</link>
            <description><![CDATA[ Hi,<br />
<br />
My (fresh) installation of phorum 5.2.22 breaks on the Spamhurdles module. (as one can see @ <a href="http://trauminfo.de/phorum/read.php?2,5" target="_blank"  rel="nofollow">http://trauminfo.de/phorum/read.php?2,5</a> ).<br />
<br />
The frustrating thing is that on my localhost (a laravel project in a homestead virtual machine), the phorum upgrade does work (with the spamhurdles module enabled).<br />
<br />
I&#039;ve already checked if the ./cache directory is writable.<br />
<br />
Anybody have a clue?<br />
<br />
grtz Marco]]></description>
            <dc:creator>marco.troost</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Wed, 02 Nov 2016 13:39:36 -0500</pubDate>
        </item>
    </channel>
</rss>
