close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My 'UserUpdate -Registration' page in my Double Opt in System is getting an error on line 46.

Thread began 5/31/2013 9:12 pm by dee | Last modified 6/06/2013 4:33 pm by dee | 277 views | 4 replies |

dee

My 'UserUpdate -Registration' page in my Double Opt in System is getting an error on line 46.

My page will not load in Live Window due to the error. (below) I have taken the webassist security page manager 'must login rule' off. and it still will not load. I have not touched this area of code so I am baffled as to why this should be happening.

Error message-
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fmedupxf/public_html/TMP1hv3u26.php on line 46

Line 45-47
$WA_fieldNamesStr = "Mr_Mrs_Ms|first|middle|last|gender|address_street|address2|city|postcode|country|billing_address|ba_address2|ba_city|ba_postcode|ba_country|intentionTOenrol|email|password|emailVerified";
$WA_fieldValuesStr = "".((isset($_POST["User_Update_group_Mr_Mrs_Ms"]))?$_POST["User_Update_group_Mr_Mrs_Ms"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_first"]))?$_POST["User_Update_group_first"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_middle"]))?$_POST["User_Update_group_middle"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_last"]))?$_POST["User_Update_group_last"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_gender"]))?$_POST["User_Update_group_gender"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_address_street"]))?$_POST["User_Update_group_address_street"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_address"]))?$_POST["User_Update_group_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_city"]))?$_POST["User_Update_group_city"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_postcode"]))?$_POST["User_Update_group_postcode"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_10_country"]))?$_POST["User_Update_group_10_country"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_11_billing_address"]))?$_POST["User_Update_group_11_billing_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_address"]))?$_POST["User_Update_group_1_ba_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_city"]))?$_POST["User_Update_group_1_ba_city"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_postcode"]))?$_POST["User_Update_group_1_ba_postcode"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_country"]))?$_POST["User_Update_group_1_ba_country"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_intentionTOenrol"]))?$_POST["User_Update_group_1_intentionTOenrol"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_email"]))?$_POST["User_Update_group_1_email"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_password"]))?$_POST["User_Update_group_1_password"]:"") ."" . $WA_AB_Split . "?php echo(($row_SecurityAssistfmregtbl['email'] !=$_POST[\"User_Update_group_Email\"])? '0':$row_SecurityAssistfmregtbl['emailVerified']); ? ";
$WA_columnTypesStr = $WA_fieldNamesStr = "Mr_Mrs_Ms|first|middle|last|gender|address_street|address2|city|postcode|country|billing_address|ba_address2|ba_city|ba_postcode|ba_country|intentionTOenrol|email|password|emailVerified";
$WA_fieldValuesStr = "".((isset($_POST["User_Update_group_Mr_Mrs_Ms"]))?$_POST["User_Update_group_Mr_Mrs_Ms"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_first"]))?$_POST["User_Update_group_first"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_middle"]))?$_POST["User_Update_group_middle"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_last"]))?$_POST["User_Update_group_last"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_gender"]))?$_POST["User_Update_group_gender"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_address_street"]))?$_POST["User_Update_group_address_street"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_address"]))?$_POST["User_Update_group_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_city"]))?$_POST["User_Update_group_city"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_postcode"]))?$_POST["User_Update_group_postcode"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_10_country"]))?$_POST["User_Update_group_10_country"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_11_billing_address"]))?$_POST["User_Update_group_11_billing_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_address"]))?$_POST["User_Update_group_1_ba_address"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_city"]))?$_POST["User_Update_group_1_ba_city"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_postcode"]))?$_POST["User_Update_group_1_ba_postcode"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_ba_country"]))?$_POST["User_Update_group_1_ba_country"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_intentionTOenrol"]))?$_POST["User_Update_group_1_intentionTOenrol"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_email"]))?$_POST["User_Update_group_1_email"]:"") ."" . $WA_AB_Split . "".((isset($_POST["User_Update_group_1_password"]))?$_POST["User_Update_group_1_password"]:"") ."" . $WA_AB_Split . "?php echo(($row_SecurityAssistfmregtbl['email'] !=$_POST[\"User_Update_group_Email\"])? '0':$row_SecurityAssistfmregtbl['emailVerified']); ? ";
$WA_columnTypesStr =

Can you help me?
Deeanna

Sign in to reply to this post

Jason ByrnesWebAssist

at the very end of line 46:

php:
$WA_AB_Split . "?php echo(($row_SecurityAssistfmregtbl['email'] !=$_POST[\"User_Update_group_Email\"])? '0':$row_SecurityAssistfmregtbl['emailVerified']); ? ";



should be:

php:
$WA_AB_Split . "".(($row_SecurityAssistfmregtbl['email'] !=$_POST["User_Update_group_Email"])? '0':$row_SecurityAssistfmregtbl['emailVerified']). "";
Sign in to reply to this post

dee

Error on line 46

Hi Jason.
I tried your 'should be' code ....
It does go on the very bottom of the line of 46? Just the last 4 symbols of . ""; with a space between the fullstop and the quotation marks?

When I put that in the code lit up like a Christmas tree. So many lines turned red. So I reversed it and am at my starting point still.

Should I find the same code in the Reg page and copy over and replace line 46 in the User Update?

REgards
Deeanna

Sign in to reply to this post

Jason ByrnesWebAssist

I will look into this with you tomorrow when we address your other issue.

Sign in to reply to this post

dee

Error on line 46 Resolved

Hi Jason,

I copied the same line (though the number was not 46) from the Reg Page and now It is all happy.

Thank you I would not have been able to recognise the coding without your assistance.

REgards
Deeanna

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...