View Full Version : WA_globals.php Not Updating
michael82914
04-19-2009, 07:51 AM
I went into the WA_globals.php file and changed the color, font and number of characters for the security image. I also changed the Email_subject. I run the form and nothing is changed. I reboot the system and flush the cache and still does not take the new information. I created a version c of the WA_globals_c.php and modified the form to look for that file. Still no changes in the form. What else can I do to fix the problem? I noticed that the <?php require_once('WA_Globals/WA_Globals_c.php');?> looks only once!
Ray Borduin
04-20-2009, 08:21 AM
Somehow it must be referring to the file in another directory or referring to a different file or the file isn't updated. From your description it should work, so something else must be wrong.
michael82914
04-22-2009, 02:09 AM
Somehow it must be referring to the file in another directory or referring to a different file or the file isn't updated. From your description it should work, so something else must be wrong.
That is what I would have thought but if I change the file name, it comes up with error, file not found. http://site5.sl2r.com/optionc_styled.php all default directories.
Start of optionc_styled.php
<?php require_once('WA_Globals/WA_Globals_c.php');?>
<?php require_once("WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php require_once("WA_Universal_Email/Mail_for_Linux_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
WA_Globals_c.php
<?php
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "3" ;
$WAGLOBAL_Captcha_Font = "Fonts/MYTYPE.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "0000FF" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Email_Subject = "Option C Order" ;
$WAGLOBAL_Email_To = "orders@site5.sl2r.com" ;
$WAGLOBAL_Email_CC = ((isset($_POST["Email_address"]))?$_POST["Email_address"]:"");
$WAGLOBAL_Email_BCC = "" ;
?>
Ray Borduin
04-22-2009, 10:19 AM
The page seems to be opening now. I'm not sure why this would happen where the file was not being updated, you are the first to report it.
michael82914
04-22-2009, 07:09 PM
Well if you look at the globals file, you see that the character count, font and color have all been changed. Works for me at this URL http://amazingwomenbbs.com/contactme.php but not at http://site5.sl2r.com/optionc_styled.php
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.