Just tried to load the userupdate page and I got a 500 error. Looking at the code I see I have and odd include:
<?php require_once('Connections/conn.php'); ?>
<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
<?php require_once('@@ConnectionPath@@'); ?>
<?php require_once( "webassist/security_assist/helper_php.php" ); ?>
Not sure if this should be helper file or other WA include file, so I have included all that have been created for you to try to figure out which is missing... if it is.
When I remove <?php require_once('@@ConnectionPath@@'); ?> I get a new error:
SELECT * FROM pcms2_users WHERE UserID = %s
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%s LIMIT 0,1' at line 1
Could you tell me what that line of code should be please?
I've looked at another post here, but although it was similar errors, I couldn't see a resolution for that one line.
Thanks.