Forums / General Questions / Header disappeared during checkout after shared ssl install

Header disappeared during checkout after shared ssl install

Locked

Views: 4,704

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
20 Feb 2008, 3:44 AM
#1
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Header disappeared during checkout after shared ssl install

Ok! I got my shared ssl to work....now when you put something in the shopping cart and proceed to fill out the customer info to create an account, MY HEADER DISAPPEARS! Anyone got a clue why?

20 Feb 2008, 5:05 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

You must be using a shared SSL Cert...check with your host as to what files and where they have to be to correct this

Zen-Venom Get Bitten

20 Feb 2008, 5:08 AM
#3
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

Kobra! We meet again! Thank you for the advice! I will do that!

22 Feb 2008, 10:34 PM
#4
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

Ok...my host is not answering my question about my missing header. I posted another so still waiting. However, I did discover something interesting on my own! I installed another template to see if I would like the design, and I noticed my header DID NOT DISAPPEAR at checkout with the new template, SO.... there must be something wrong in one of my override files! Anyone?

22 Feb 2008, 11:19 PM
#5
Kim avatar

Kim

Obaa-san

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

Re: Header disappeared during checkout after shared ssl install

Did you use a relative URL to the image?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Feb 2008, 6:40 AM
#6
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

I'm not sure I understand your question, but this is what I think you're asking...My header points you back to my main page....

23 Feb 2008, 6:45 AM
#7
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

I'm not sure I understand your question, but this is what I think you're asking.
Post your tpl_header.php code for what follows

<!--bof-branding display-->
<div id="logoWrapper">

Or compare the code for your template against the other template that does not have this issue

Zen-Venom Get Bitten

23 Feb 2008, 6:48 AM
#8
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

Hi Kobra! Do you mean, copy and past that into my tpl_header.php page?

23 Feb 2008, 6:49 AM
#9
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

No...paste a bit of it here on the forum

Zen-Venom Get Bitten

23 Feb 2008, 6:58 AM
#10
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

:blush: lol, ok, I got it from templates/myown/common:

<!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div> <?php } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?> </div> <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> </div> <br class="clearBoth" /> <!--eof-branding display--> <!--eof-header logo and navigation display--> <!--bof-optional categories tabs navigation display--> <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?> <!--eof-optional categories tabs navigation display--> <!--bof-header ezpage links--> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?> <!--eof-header ezpage links--> </div> <?php } ?>
23 Feb 2008, 7:09 AM
#11
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

If this is correct - then this is a relative url link:

<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>';

Zen-Venom Get Bitten

23 Feb 2008, 7:19 AM
#12
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

So, how do I fix it?

23 Feb 2008, 7:32 AM
#13
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

If what you posted is correct you should not have to - compare this to the template code that works

Zen-Venom Get Bitten

23 Feb 2008, 7:37 AM
#14
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

OH! Gotcha! I'm a little bit dense sometimes! (ESPECIALLY when it comes to this whole Zencart thing)! Thanks again Kobra! I will compare! I will post probably tomorrow...my eyes are crossing right now! :blink:

23 Feb 2008, 9:34 PM
#15
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

Ok...I compared the 2 tpl_header files, the one in my override files and the one the other template that worked...they both match...so I'm assuming that's not where the problem lies. Here is the one from my override file:

<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>';

Do you have anymore ideas of where the problem is? As soon as you add something to the shopping cart, then proceed to checkout, that is when my logo disappears. You see a blank white square with a with a red x in the upper left hand corner and words that say: Powered by Zen Cart: The art of E-Commerce. It happens at the customer log-in page, the same page where they can enter in customer information.

24 Feb 2008, 3:41 AM
#16
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

I went through all "myown" override directories and took out one file at a time and reloaded my page to see if I could figure out which file is messed up, but the only time my empty header changed was when I took out my header.php file. When I refreshed the page the header actually went from the blank Powered by Zen Cart, to the actual ZenCart Logo with the words, Tagline goes here.
:frusty:

24 Feb 2008, 6:34 AM
#17
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

Ok...I compared the 2 tpl_header files, the one in my override files and the one the other template that worked...they both match
If they match why is it an override?

Back to my first post in this thread - with a shared SSL many hosts require some files in special places

Zen-Venom Get Bitten

24 Feb 2008, 7:11 AM
#18
debtag avatar

debtag

Zen Follower

Join Date:
Sep 2006
Location:
Oregon
Posts:
207
Plugin Contributions:
0

Re: Header disappeared during checkout after shared ssl install

If they match why is it an override?Well, when I'm really trying to remember back to when I installed the template I seem to remember that I read somewhere that I should have a directory under templates with the name of whatever I wanted, (in my case, "myown"). In this "MYOWN" directory, there are the following directories: common, css, images, jscript, sideboxes, templates and a file called templates_info.php. My tpl_header.php file is in my COMMON directory. To be honest, I don't remember ever editing the tpl_header.php file and when I look through it, I don't see any changes that I would have made. In response to your question, "If they match, why is it an override?", maybe that's why they do match because I probably never did anything to the file, and it matches the 'OCEAN' templates tpl_header.php file that I was trying out to see if I would like it. What I was saying was that when I was trying out the Ocean template, my header didn't disappear! > Back to my first post in this thread - with a shared SSL many hosts require some files in special placesI think that my tpl_header.php file is in the right place, I didn't see any other place it should go

24 Feb 2008, 7:19 PM
#19
kobra avatar

kobra

Black Belt

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

Re: Header disappeared during checkout after shared ssl install

In this "MYOWN" directory, there are the following directories: common, css, images, jscript, sideboxes, templates and a file called templates_info.php.

I probably never did anything to the file,
Only files that you edit should be in your template override folders.

If the ocean template causes a different response than yours - there is some file in yours that has been edited

Zen-Venom Get Bitten

24 Feb 2008, 7:23 PM
#20
Kim avatar

Kim

Obaa-san

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

Re: Header disappeared during checkout after shared ssl install

What is your URL?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.