[PHPnuke 7.8] Security code not showing. (error image)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   [PHPnuke 7.8] Security code not showing. (error image)
soeredj86
CZ Newbie
soeredj86 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 24, 2005
0.00 posts per day
Posts: 6
Points: 186
   
Hey guys ive checked almost every website, but I cant find the solution to my problem..
I've installed the GD library, these are my settings (in test.php):
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
--

Now i'm pretty sure thats okay, but if I put $gfx_chk = 4 in config.php I get an error image when I try to register/login..!

Ive checked other forums, and they all explain for lower phpnuke versions.. the security code is different in 7.8.. anyone know what can be wrong?

Here is a part of the index.php of modules/Your_Account:

if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
            echo "<tr><td colspan='2'>"._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n"
            ."<tr><td colspan='2'>"._TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\"></td></tr>\n"
            ."<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum