Zen Cart Logo
Forums / General Questions / stray ?> on account_edit page?

stray ?> on account_edit page?

Views: 914

Results 1 to 4 of 4
29 Apr 2011, 5:43 PM
#1
jdm719 avatar

jdm719

New Zenner

Join Date:
Jan 2011
Posts:
33
Plugin Contributions:
0

stray ?> on account_edit page?

Hello zen cart,

I have noticed a stray ?> on account_edit page.
I don't recall making any changes to the page.

I looked in
/var/www/includes/templates/haw/templates/tpl_account_edit_default.php

/var/www/includes/templates/template_default/templates/tpl_account_edit_default.php

But I don't see any loose ?> in there.

See: https://www.hawonder.com/index.php?main_page=account_edit

In the source they appear here:

<script language="javascript" type="text/javascript"><!-- function check_email_address(field_name_1, field_name_2, . . . } //--></script>

?>

<script language="javascript" type="text/javascript"><!-- var selected; function check_form_optional(form_name) { Any ideas on how to track this down?
29 Apr 2011, 5:53 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: stray ?> on account_edit page?

use the Developers Toolkit to find whatever custom-added jscript_xxxx file you've got that function check_email_address in. Your stray ?> tag is probably in the end of that file.

29 Apr 2011, 6:29 PM
#3
jdm719 avatar

jdm719

New Zenner

Join Date:
Jan 2011
Posts:
33
Plugin Contributions:
0

Re: stray ?> on account_edit page?

Thank you!

worked great!

Superfluous ?> was last line in:

/var/www/includes/modules/pages/create_account/jscript_email_confirm.php