If this is your first visit, check our documentation. To post, register or login.

My page is blank

Started by carlman on 4 Dec 2014, 9:53 AM · Views: 3,818

Results 1 to 10 of 10
4 Dec 2014, 9:53 AM
#1
carlman avatar

carlman

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

My page is blank

Hello!
I have my shop at this iste:
http://www.thomasdileva.nu/shop/

The other day everything looked fine.
I had just installed the Zen Cart, chosen another template and added a few products.
(the same template as on http://www.thomasdileva.nu/)

Yesterday, I wanted to do some more work with the page, but then I discovered that it's completely blank / white. To my mind I haven't done anything to cause this...

I asked my web hosting company and they said that they found this error in the logs:

"[client 193.210.65.69:52825] AH01797: client denied by server configuration: /home/nckyiaqn/domains/thomasdileva.nu/public_html/shop/includes/templates/theme467/PIE.php"

I don't know how to solve this issue, can anyone help me?

I looked at PIE.php, it has the properties 644.

Do you know what I can do or what has caused this?

The only major thing I did while it still was working was to put "<!--" and "-->" in the tpl_main_page.php to hide the banner and carousel area. However, everything looked fine after I did that. I removed this now to see if it made any difference, but it didn't...

Help anyone?
Big thanks in advance!

4 Dec 2014, 11:01 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: My page is blank

carlman:

Hello!
I have my shop at this iste:
http://www.thomasdileva.nu/shop/

The other day everything looked fine.
I had just installed the Zen Cart, chosen another template and added a few products.
(the same template as on http://www.thomasdileva.nu/)

Yesterday, I wanted to do some more work with the page, but then I discovered that it's completely blank / white. To my mind I haven't done anything to cause this...

I asked my web hosting company and they said that they found this error in the logs:

"[client 193.210.65.69:52825] AH01797: client denied by server configuration: /home/nckyiaqn/domains/thomasdileva.nu/public_html/shop/includes/templates/theme467/PIE.php"

I don't know how to solve this issue, can anyone help me?

I looked at PIE.php, it has the properties 644.

Do you know what I can do or what has caused this?

The only major thing I did while it still was working was to put "<!--" and "-->" in the tpl_main_page.php to hide the banner and carousel area. However, everything looked fine after I did that. I removed this now to see if it made any difference, but it didn't...

Help anyone?
Big thanks in advance!

Are the entire contents of PIE.php readable to a human? Meaning is the content all "normal" program code or words and not a long string of text with symbols of all types and lower/upper case characters, etc?
Is it also a file that is part of the original template that was being installed? With the same capitalization?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 11:13 AM
#3
carlman avatar

carlman

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Re: My page is blank

This is the text that is in the file:

<?php /* This file is a wrapper, for use in PHP environments, which serves PIE.htc using the correct content-type, so that IE will recognize it as a behavior. Simply specify the behavior property to fetch this .php file instead of the .htc directly: .myElement { [ ...css3 properties... ] behavior: url(PIE.php); } This is only necessary when the web server is not configured to serve .htc files with the text/x-component content-type, and cannot easily be configured to do so (as is the case with some shared hosting providers). */ header( 'Content-type: text/x-component' ); include( 'PIE.htc' ); ?>

And the PIE.php was part of the template package that I uploaded all at once before installing it...
I can see now that if I change template in the Admin area, I can see the shop... so it seems to be something specific with this template theme.

4 Dec 2014, 11:40 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: My page is blank

Do you have an .htaccess file in the root of your store?(Not required for ZC) but if it is there does it limit the file types recognized/allowed to load? (Jpg|wmv|etc...) If so, try adding htc to that list.

Alternatively, there are responsive templates available on this website that are compatible with mobile devices.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Dec 2014, 5:43 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: My page is blank

carlman:

... The other day everything looked fine.
I had just installed the Zen Cart, chosen another template and added a few products.
(the same template as on http://www.thomasdileva.nu/)

Yesterday, I wanted to do some more work with the page, but then I discovered that it's completely blank / white. To my mind I haven't done anything to cause this. ...
"includes/templates/theme467/css/stylesheet_tm.css" is not the same on both of your sites. The CSS rules in the file inside "/shop/" (on line 50) specifically tell the browser to hide the entire "body". This is the cause of your "blank" page. You may want to revisit your installation of the template and any customizations which have been applied (to both the live and test stores).

carlman:

... I asked my web hosting company and they said that they found this error in the logs:

"[client 193.210.65.69:52825] AH01797: client denied by server configuration: /home/nckyiaqn/domains/thomasdileva.nu/public_html/shop/includes/templates/theme467/PIE.php" ...
Indicates Apache has been configured (either globally or in a .htaccess file) to deny access to the file. More details can be found by doing a search of the internet for "AH01797: client denied by server configuration". For example this result about the cause.

mc12345678:

Do you have an .htaccess file in the root of your store?(Not required for ZC) but if it is there does it limit the file types recognized/allowed to load? (Jpg|wmv|etc...) If so, try adding htc to that list. ...
Fixing this issue will add some additional compatibility to IE8 and older (support for some CSS3 rules on associated elements).

  1. First make the change recommended by "mc12345678" updating "/shop/includes/.htaccess".
  2. Update the CSS files to directly utilize "PIE.htc" instead of "PIE.php".
  3. Verify hosting provider serves .htc files with the correct content-type.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

6 Dec 2014, 6:50 AM
#6
carlman avatar

carlman

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Re: My page is blank

Thanks for all your help!
I just removed the theme files and uploaded them again and now I can see the site.
So back to my basic problem, how do I remove the banner area and the carousel part on the main page:
http://www.thomasdileva.nu/shop/

Can I do this in the admin panel or do I need to edit text files manually?

Thanks again for all help!

6 Dec 2014, 11:23 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: My page is blank

carlman:

Thanks for all your help!
I just removed the theme files and uploaded them again and now I can see the site.
So back to my basic problem, how do I remove the banner area and the carousel part on the main page:
http://www.thomasdileva.nu/shop/

Can I do this in the admin panel or do I need to edit text files manually?

Thanks again for all help!

Most likely through the admin panel, though code modification is always an option. Open source store and all.

Check configuration->page layout for turning some of those on/off. Also tools->banner manager. I may be slightly off on the specific wording, but there are areas to turn on/off those things typically unless the template has some specific override or ignores/is missing default ZC code, which in custom templating could be the case depending on the template author. Those that post templates on this site tend to stick with the ZC way or at least say what is different (one column, two column, three column display for example.)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 Apr 2015, 3:32 AM
#8
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: My page is blank

I am having the same issue of a blank web page (https://www.fish to.net/ca talog/in dex.php
the error message I'm now getting is 403 Forbidden

You don't have permission to access /cata log/in dex.php on this server.

Apache Server at www.fis hto.net Port 80

Any ideas what is causing my error.
I can access my admin side of ZC but cant see anything. It was all running fine until a few days ago. I am in the process (or was) developing the online shop, but now it has vanished. I don't know really what error I'm looking for.
Can anyone help this confused alien?
Using latest version ZC

12 Apr 2015, 3:48 AM
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: My page is blank

Man from Mars:

I am having the same issue of a blank web page (https://www.fish to.net/ca talog/in dex.php
the error message I'm now getting is 403 Forbidden

You don't have permission to access /cata log/in dex.php on this server.

Apache Server at www.fis hto.net Port 80

Any ideas what is causing my error.
I can access my admin side of ZC but cant see anything. It was all running fine until a few days ago. I am in the process (or was) developing the online shop, but now it has vanished. I don't know really what error I'm looking for.
Can anyone help this confused alien?
Using latest version ZC

It's unlikely your issue is the same as the one being discussed int his older post.. suggest creating a NEW thread to get better help for your issue.. Include any error logs details in your new thread..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

12 Apr 2015, 4:15 AM
#10
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: My page is blank

Cheers will do that.:smile: