Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Desperate Plea for Help...My Account page not displaying

Desperate Plea for Help...My Account page not displaying

Locked

Views: 2,587

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
27 Sep 2006, 6:14 PM
#1
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Desperate Plea for Help...My Account page not displaying

Second time I've posted about this, little luck the first time. Need to launch the store soon and would like customers to be able to edit their account.

I am pretty sure I know that my problem somehow involves tpl_main_page.php and not properly calling or being able to find tpl_account_default.php.

What would help tremendously is to know how tpl_account_default.php is called in order to display it. No problems with any other page loading correctly, or for that matter me figuring out how to track down any pages origin in the maze of templates.

My Account for whatever reason continues to escape me.

Thanks.

28 Sep 2006, 1:38 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

The URL where this can be seen?

28 Sep 2006, 2:09 AM
#3
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

http://www.agricover.com/store if it weren't in maintenance mode.

Here is a screenshot:

Here is the source where it ends, which is why I think it isn't correctly finding the account template.

<body id="agricover">
    <div id="page">
        <div id="wrapper">
		
		
  <div class="messageStackWarning larger"><img src="includes/templates/template_default/images/icons/warning.gif" alt="Warning" title=" Warning " width="20" height="20" />  NOTICE: The website is currently Down For Maintenance to the public</div>

  <div class="messageStackWarning larger"><img src="includes/templates/template_default/images/icons/warning.gif" alt="Warning" title=" Warning " width="20" height="20" />  AUTHORIZENET IS IN TESTING MODE</div>


<!--bof-header logo and navigation display-->

<div id="header">
<!--bof-navigation display-->
<p class="alt">Agri-Cover</p>
<hr class="alt" />
<ul>
    <li><a href="http://www.agricover.com/store/">Home</a></li>
    <li><a href="http://www.agricover.com/store/index.php?main_page=logoff">Log Out</a></li>
    <li><a href="http://www.agricover.com/store/index.php?main_page=account">My Account</a></li>

    <li><a href="http://www.agricover.com/store/index.php?main_page=shopping_cart">Cart</a></li>
    <li><a href="http://www.agricover.com/store/index.php?main_page=checkout_shipping">Checkout</a></li>
</ul>
</div>
<!--eof-navigation display-->


<!--eof-header logo and navigation display-->



            <div id="middle">

                <div id="content">
				<!-- bof  breadcrumb -->
							    <div id="navBreadCrumb">  <a href="http://www.agricover.com/store/">Home</a> › 
My Account
</div>
								<!-- eof breadcrumb -->

				

The HTML just stops there, right where the account page information should begin.

?

again, thanks.

28 Sep 2006, 2:45 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

If you switch back to the Classic template does the page work?

28 Sep 2006, 2:52 AM
#5
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

Why yes it does....now why didn't I think of doing that.

I've already compared the original main template with my override and couldn't find any differences or anything that didn't look right.

But I may be looking in the wrong place.

28 Sep 2006, 3:26 PM
#6
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

Comparing the code of classic vs. my theme I'm not seeing anything different that would result in the Account page not working.

Any ideas? Anybody?

28 Sep 2006, 4:16 PM
#7
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

pleitch:

Comparing the code of classic vs. my theme I'm not seeing anything different that would result in the Account page not working.

Any ideas? Anybody?

try using a utility like winmerge (open source). it will compare and highlight. The issue is definately the code on ur custom template.

28 Sep 2006, 5:06 PM
#8
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

I've done that and I just don't see anything that looks like it would cause this.

The thing is any other page that gets loaded works fine. I assume that the Account page is getting placed into:

				<?php
				 /**
				  * prepares and displays center column
				  *
				  */
				 require($body_code); ?>

If this is not the case, if the My Account template is different from all the other ones that are displayed by this snippet, then it's my bad and I'm not quite as smart as I thought. heh.

I've done no modification to the My Account template.

Like I said, all other templates load fine, for some reason this one doesn't and I'm baffled.

With all that said I'm sure it's some stupid little obvious thing that I'm just not seeing. But the evidence before me doesn't lead me to any conclusions.

28 Sep 2006, 5:53 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Desperate Plea for Help...My Account page not displaying

I am no php expert...but do know that small things like additional blank lines, spaces, etc can cause a php hiccup. If you have followed the override suggested model there should be only a few files that you have edited and therefore be at the root of your problen and require checking.

Unfortunately, even these few files have to be looked over line for line, space by space etc.

28 Sep 2006, 6:00 PM
#10
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

I shall go over the code very closely again.

But again my question would be why do all the other templates work properly when called by main_page but this single one doesn't?

If it were a mistake in the php wouldn't all the templates render incorrectly?

Is there something unique to the Account template that would cause it to die when it is called?

I have not touched the account template at all, so that can't be it.

thanks for all the help and suggestions so far. This is the final piece waiting before I can launch this store for the client and it's driving me insane.

28 Sep 2006, 6:59 PM
#11
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

Do you have your SSL configured correctly? Can you log in?

28 Sep 2006, 7:38 PM
#12
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

Yes. In fact the account page problem was happenign before SSL was even set up.

Like I said, everything else works fine. No problems anywhere. Other than this page.

Am I wrong in thinking that the same main_page template that successfully loads other templates is the one that also loads the account template?

It does work if i switch to the classic theme.

I think it does have something to do with my main_template but for the life of me can't figure it out since the same middle content section works just fine when pulling in any other template.

I can log in, buy things, create a new account, log out, put things in the shopping cart, checkout, etc....But I can't edit an existing account because the page won't display.

the joys of zen cart! heh.

28 Sep 2006, 11:43 PM
#13
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Desperate Plea for Help...My Account page not displaying

Can you give me access to look? PM the info.