PDA

View Full Version : Captcha text color


warrenphillips25336771
05-31-2009, 09:11 AM
Alright, so I went to the WA globals file, changed everything as i needed, but the captcha text is coming up yellow even though i specify it to be black, and when i try to change the color it just does not show. Am i missing something here as this only seems to have happened since updating the files

Ray Borduin
06-01-2009, 07:43 AM
What did you update the value to? Did you include the #? You shouldn't.

warrenphillips25336771
06-01-2009, 10:57 AM
Hi Ray

I just changed the values i normally do to "ffffff" I will attach the copy of the globals file for you to see

<?php
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "FFFFFF" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Contact_Email_Subject = "Online Contact Form Response" ;
$WAGLOBAL_Contact_Email_To = "enquiries@photographermanchester.net" ;
$WAGLOBAL_Contact_Email_CC = "warrenphillips25@googlemail.com" ;
$WAGLOBAL_Contact_Email_BCC = "" ;
?>

If you look at the website http://www.photographermanchester.net/contactus.php the text is yellow.

Ray Borduin
06-01-2009, 11:24 AM
It looks like you may have updated the file:

WAVT_CaptchaSecurityImages.php

because it appears to always be yellow now. Usually viewing that file would have black by default, so I'm not sure why. I would look at that file and see if it was edited from the original.

warrenphillips25336771
06-01-2009, 12:26 PM
Ray

tried that, even added new files, still the same problem, what could it be?

Ray Borduin
06-01-2009, 01:44 PM
It sounds like it has to be an issue with that file. Did you edit the code?

warrenphillips25336771
06-02-2009, 09:33 AM
no ray i did not touch that code, all my other sites work like they should, and they are all on the same server host to

Ray Borduin
06-02-2009, 10:53 AM
Please post a support incident. I haven't run into this issue so we will need to have someone debug it with you to figure out the cause.