PDA

View Full Version : Parse Error in Verification.php


Nature Photographer
10-10-2009, 05:42 PM
(UPDATE: I found the problem and fixed it....Thanks anyway)

When someone registers within the URS pack on the live site they get the following error message;

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/******/public_html/Registrations/WA_Universal_Email/Email_Templates/verification.php on line 11

Their information is being logged in the database but they can't confirm their e-mail so they can't proceed to the checkout (I have set up the "how to apply login/register functionality to your checkout process"). Everything works on the redirect to the registration/login.

When I replace the existing code in the verification.php with the code from the original file downloaded, the error doesn't happen but I get an error clicking the link which tells me it can't find the verification code.

After the first attempt to register, it all goes back to the original error message above.

Any assistance would be gratefully received! Thanks

Nature Photographer
10-10-2009, 10:01 PM
It just goes to show a little knowledge can be a dangerous thing!!!

I found what I had done wrong and the root of many of my problems with the URSP. In the

$WAGLOBAL_Root_URL = "http://" ;

of WA_Globals.php I didn't put in the name of the folder in which everything resided so it was looking for the files in the root folder not the sub folder.

OH well!! everything seems to be working now.

Jimmy Wu
10-13-2009, 10:02 AM
I'm glad to hear you got your page working and thanks for updating everyone on how you were able to get this working.