Post by CEOself » Wed Aug 18, 2010 9:27 pm

Getting this error with ProShop and 1.4.9. This newb is looking for some help. Thanks in advance.

Luckily this seems to be the only error I'm getting <cool>

Screen Shot (Guest Check Out is turned off)
Image

Here is the code from that file

Code: Select all

<?php echo $header; ?><?php echo $column_left; ?>
<div id="content">
  <div class="top">
   <?php echo $heading_title; ?>
  </div>
  <div class="middle">
    <?php if ($success) { ?>
    <div class="success"><?php echo $success; ?></div>
    <?php } ?>
    <?php if ($error) { ?>
    <div class="warning"><?php echo $error; ?></div>
    <?php } ?>
    <div style="margin-bottom: 10px; display: inline-block; width: 100%;">
      <div><b><?php echo $text_i_am_new_customer; ?></b>
        <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px;">
          <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="account">
            <p><?php echo $text_checkout; ?></p>
            <label for="register" style="cursor: pointer;">
              <?php if ($account == 'register') { ?>
              <input type="radio" name="account" value="register" id="register" checked="checked" />
              <?php } else { ?>
              <input type="radio" name="account" value="register" id="register" />
              <?php } ?>
              <b><?php echo $text_account; ?></b></label>
            <br />
            <?php if ($guest_checkout) { ?>
            <label for="guest" style="cursor: pointer;">
              <?php if ($account == 'guest') { ?>
              <input type="radio" name="account" value="guest" id="guest" checked="checked" />
              <?php } else { ?>
              <input type="radio" name="account" value="guest" id="guest" />
              <?php } ?>
              <b><?php echo $text_guest; ?></b></label>
            <br />
            <?php } ?>
            <br />
            <p><?php echo $text_create_account; ?></p>
            <div><a onclick="$('#account').submit();" class="button"><span><?php echo $button_continue; ?></span></a></div>
          </form>
        </div>
      </div>
      <br /><br />
      <div><b><?php echo $text_returning_customer; ?></b>
        <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px;">
          <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="login">
            <?php echo $text_i_am_returning_customer; ?><br />
            <br />
            <b><?php echo $entry_email; ?></b><br />
            <input type="text" name="email" />
            <br />
            <br />
            <b><?php echo $entry_password; ?></b><br />
            <input type="password" name="password" />
            <br />
            <a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten_password; ?></a><br />
            <div><a onclick="$('#login').submit();" class="button"><span><?php echo $button_login; ?></span></a></div>
            <?php if ($redirect) { ?>
            <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
            <?php } ?>
          </form>
        </div>
      </div>
    </div>
  </div>
  <div class="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center"></div>
  </div>

</div>
<script type="text/javascript"><!--
$('#login input').keydown(function(e) {
	if (e.keyCode == 13) {
		$('#login').submit();
	}
});
//--></script>
<?php echo $footer; ?> 

Newbie

Posts

Joined
Tue Dec 29, 2009 3:05 pm

Post by CEOself » Wed Aug 18, 2010 9:52 pm

Looks like I fixed it. Amazing really, pretty common for most of your skill levels I'm sure. I'll post what I did so maybe another newb doesn't have to figure it out.

Turns out the ProShop/templete/account/login.tpl reads

Code: Select all

<b><?php echo $text_account; ?></b></label>
on line 24. There is no reference to "$text_account" in the language folder.

I replaced it with

Code: Select all

<b><?php echo $text_register; ?></b></label>
from the default theme

Newbie

Posts

Joined
Tue Dec 29, 2009 3:05 pm

Post by xentrix » Wed Nov 10, 2010 7:28 pm

Legend

Newbie

Posts

Joined
Tue Apr 27, 2010 5:01 am
Who is online

Users browsing this forum: No registered users and 14 guests