Zen Cart Logo
Forums / General Questions / Blank page when using Firefox

Blank page when using Firefox

Locked

Views: 1,202

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 Mar 2008, 1:18 AM
#1
vforbes avatar

vforbes

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Blank page when using Firefox

I'm having a problem with people using Firefox and Opera to access my site. They get the title but the rest of the page does not display. I my self have 4 machines that use IE 6 or IE 7 and can get in just fine. Any suggestions?

The site is https://www.crackheadpc.com

Thanks,

12 Mar 2008, 2:13 AM
#2
nhradeuce avatar

nhradeuce

New Zenner

Join Date:
Sep 2006
Posts:
64
Plugin Contributions:
0

Re: Blank page when using Firefox

I tried your site in Safari 3.0.4, Opera 9.26, and Firefox 2.0.0.12 on XP SP2. All of them loaded fine.

12 Mar 2008, 5:48 AM
#3
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank page when using Firefox

The home page loads just fine for me in FF 2.0.0.12, but when I try to view ANY product, I get a blank page.

Myself, I wouldn't use the SSL for the WHOLE site, just any point where you're taking peoples personal information such as log in, create account, checkout procedures, and such.......as ANY site does. Browsing with SSL enabled? No. Signing up, logging in, or buying with SSL enabled.....Absolutely!

That might solve of your problems, as your product descriptions aren't meant to be secured, just the purchase of these products.

Hope this helps.

12 Mar 2008, 1:59 PM
#4
nhradeuce avatar

nhradeuce

New Zenner

Join Date:
Sep 2006
Posts:
64
Plugin Contributions:
0

Re: Blank page when using Firefox

Ok, tried the product pages and now I am getting the blank page. First, I agree with GEF, no need to browse the site with the SSL, just for pages where sensitive info is being sent to the server.

As for the problem you are having, looking at the source that does get generated on the blank page, the last line that is generated is either -

<link rel="stylesheet" type="text/css" media="print" href="includes/templates/classic/css/print_stylesheet.css" />

or

<script type="text/javascript" src="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>

That gives us a pretty good idea of where your cart is breaking. Following the flow of Zen cart, these particular bits of code are generated in html_header.php. Are you using a modified html_header.php file? If so, I would switch back to the unmodified file and see what happens.

Otherwise, we know that your at least getting to this line from index.php -

  require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');

Find that line in index.php and start working your way down to see what should be happening next.

13 Mar 2008, 3:20 AM
#5
vforbes avatar

vforbes

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Blank page when using Firefox

I tried putting an unmodified html_header.php up there and it didn't fix it. I also changed the very 1st page so it doesnt use ssl. Thank you for the input on the ssl.

13 Mar 2008, 1:20 PM
#6
nhradeuce avatar

nhradeuce

New Zenner

Join Date:
Sep 2006
Posts:
64
Plugin Contributions:
0

Re: Blank page when using Firefox

OK, since the problem doesn't appear to be in the html_header.php file, you need to look at the next thing that Zen tries to load. The next command in index.php is -

require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');

Take a look at the main_template_wars.php. Replace it with a unmodified version if needed.

BTW - did you try switching to the default template? Make sure that the problem still exists in the default template before you spend too much time debugging.

13 Mar 2008, 2:48 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank page when using Firefox

vforbes:

I tried putting an unmodified html_header.php up there and it didn't fix it. I also changed the very 1st page so it doesnt use ssl. Thank you for the input on the ssl.

vforbes, try making ONLY the login/create account and checkout process SSL, leaving ALL the rest of the shop non-SSL, instead of just the "Home" page.
If that don't solve the problem, then we'll work another solution.

14 Mar 2008, 12:48 AM
#8
vforbes avatar

vforbes

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Blank page when using Firefox

I got it fixed. I debugged it and found that when I installed the supertracker it was calling for a file called geoip.inc. That file wasn't included in the files with the download. I found the geoip.inc file and put it up on my site and it fixed it.

Thank you for your help.