Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Broken Registration Form...help Please!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-04-2008, 02:10 PM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Broken Registration Form...help Please!

Can anyone please help me fix my broken registration form?

http://www.stockattik.com/help.php?section=Login

Thanks!
__________________
4.1.7
Reply With Quote
  #2  
Old 12-04-2008, 02:15 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Broken Registration Form...help Please!

Please be sure to read the guidelines on posting in the bugs forum. This is not the stock registration form, so it is something you have customized. What exactly isn't working?

Moving to Template Editing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-04-2008, 02:20 PM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Re: Broken Registration Form...help Please!

Here is my login.tpl code.

And firebug gives this error:
strng has no properties
rubyCheckPhone(undefined)help.php (line 179
check_registerform_fields()help.php (line 1885)
onclick(click clientX=0, clientY=0)help.php (line 1)

[IMG]chrome://firebug/content/blank.gif[/IMG] if (isNaN(parseInt(stripped))) {

Any suggestions? Thx!



PHP Code:
{* $IdLogin.tpl,v 1.0 2004/11/14 16:03:50 mclap Exp $ *}

{if 
$login eq "" }


<
table width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<
tbody>

<
tr>
<
td>
</
td>
</
tr>

</
tr>
</
tbody>
</
table>


<
table width="100%" border="0" cellspacing="0" cellpadding="0">
<
tr>
<
td width="40%" valign="top">



<
TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<
TR>
<
TD style="padding-top:5px;">
<
smheader>LOGIN</smheader>
{ include 
file="auth_mod.tpl" }</TD>
</
TR>
</
TABLE>
<
table width="100%" cellspacing="0" cellpadding="0">
<
tr>
<
td style="background-image: url({$ImagesDir}/underline.gif); background-position: bottom; background-repeat: repeat-x; height:5px;"></td>
</
tr>
<
tr>
<
td><br />
<
smheader>FORGET YOUR PASSWORD?</smheader></td>
</
tr>
</
table>
<
form action="help.php" method="post" name="processform">
<
table cellpadding="0" cellspacing="0" width="95%">
<
tr>
<
td colspan="2"><br>
{
$lng.txt_password_recover} <br>
<
br>
</
td>
</
tr>
<
tr>
<
td height="10" align="right" class="FormButton" valign="top" style="padding-top:3px;"></td>
<
td height="10" align="right"><strong>{$lng.lbl_email}:</strong> &nbsp;&nbsp;
<
input type="text" class="fields" name="email" size="22" value="{$smarty.get.email|escape:"html"}/>
<
br>
{if 
$smarty.get.section eq "Password_Recovery_error"} <br>
<
class="ErrorMessage">{$lng.txt_email_invalid}</p>
{/if} </
td>
</
tr>
<
tr>
<
td height="5">&nbsp;</td>
<
td height="5" align="right"><br>
<
span style="text-transform: uppercase;"> {include file="buttons/submit.tpl" style="button" href="javascript: document.processform.submit()" js_to_href="Y"} </span>&nbsp;&nbsp;&nbsp; </td>
</
tr>
</
table>
<
input type="hidden" name="action" value="recover_password" />
</
form></td>
<
td valign="top"  style="background-image: url({$ImagesDir}/custom/vert_line.gif);background-repeat: repeat-y;" width="2%">&nbsp;</td>
<
td width="55%" valign="top" style="padding-top:5px;"> {if $login eq "" } <smheader>CREATE A NEW ACCOUNT</smheader><br />
{include 
file="customer/main/register.tpl" register_script_name="register.php"}
<
div id="reg_dlg"> <a name="regdlg"></a> {******************** REGISTER FORMBEGIN ************************}
                
                
                
                {******************** 
REGISTER FORMEND ************************} </div>
{if 
$av_error ne 1 && $js_enabled && $top_message.reg_error eq ''}
<
script type="text/javascript">
                    <!--
                    
document.getElementById('reg_dlg').style.display 'none';
                    -->
                    </
script>
{/if}
              {if 
$top_message.reg_error ne '' or $av_error eq 1}
<
script type="text/javascript">
                    <!--
                    
self.location.hash 'regdlg';
                    -->
                    </
script>
{/if} 
      
      {else}
      
      
Loggedin
      
      
{/if} </td>
</
tr>
</
table>
{else}

<
table width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<
tbody>
<
tr>
<
td valign="top">

</
td>
</
tr>
<
tr>
<
td style="background-image: url(/skin1/images/underline.gif); background-position: center bottom; background-repeat: repeat-x; height: 5px;"/>
</
tr>
</
tbody>
</
table>



<
TABLE width="100%" cellpadding="0" cellspacing="0" border="0">

<
TR>
<
TD width="35%" align="left" valign="top">{ include file="authbox_mod.tpl" }<br />
{ include 
file="menu_profile_mod.tpl" }

<
form action="{$xcart_web_dir}/include/login.php" method="post" name="loginform">
<
div style="position:relative;left:0; top:0px" align="right"> {if $usertype eq "C"}
        {include 
file="buttons/logout_menu.tpl" style="button"}
        {else}
        {include 
file="buttons/logout_menu.tpl"}
        {/if} </
div>
<
input type="hidden" name="mode" value="logout" />
<
input type="hidden" name="redirect" value="{$redirect}/>
</
form>

</
TD>
<
TD width="70%" valign="top"></TD>
</
TR>
</
TABLE>
{/if} 
__________________
4.1.7
Reply With Quote
  #4  
Old 12-04-2008, 02:23 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Broken Registration Form...help Please!

Is this something you did yourself?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-04-2008, 02:24 PM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Re: Broken Registration Form...help Please!

Yes, it was working then somewhere along the line it broke...now i can figure it out...ack!
__________________
4.1.7
Reply With Quote
  #6  
Old 12-04-2008, 02:26 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Broken Registration Form...help Please!

Sorry, that one is a mess - could be in the PHP files or the template
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 12-04-2008, 02:38 PM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Re: Broken Registration Form...help Please!

Oh no! I'll try and wokr my way backwards to fix the problem....
What template file should I restore to get this page working?
https://www.stockattik.com/register.php

Thanks for the help!
__________________
4.1.7
Reply With Quote
  #8  
Old 12-09-2008, 07:14 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Broken Registration Form...help Please!

What were you working on when it "broke"? That is the first place to start, then work backwards from there. You can find the original templates in the skin1_original folder to compare with.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #9  
Old 12-09-2008, 07:49 AM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Re: Broken Registration Form...help Please!

I figured it out...
I have the ruby mods fedex plugin iunstalled and it was conflicting with my registration form...i disabled the ruby mods check postal code, telephone, etc and it works again...


Quote:
Originally Posted by JWait
What were you working on when it "broke"? That is the first place to start, then work backwards from there. You can find the original templates in the skin1_original folder to compare with.
__________________
4.1.7
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:08 PM.

   

 
X-Cart forums © 2001-2020