Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: My page is blank

    Quote Originally Posted by carlman View Post
    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...

  3. #3
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default 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. #4
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default 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...

  5. #5
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: My page is blank

    Quote Originally Posted by carlman View Post
    ... 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).


    Quote Originally Posted by carlman View Post
    ... 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.


    Quote Originally Posted by mc12345678 View Post
    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. #6
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default 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!

  7. #7
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: My page is blank

    Quote Originally Posted by carlman View Post
    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...

  8. #8
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    Default 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

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: My page is blank

    Quote Originally Posted by Man from Mars View Post
    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.

  10. #10
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    Default Re: My page is blank

    Cheers will do that.

 

 

Similar Threads

  1. v150 Blank home page, blank admin page
    By jpwy in forum General Questions
    Replies: 6
    Last Post: 12 Apr 2016, 05:51 PM
  2. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  3. Blank page debug also blank!
    By juliavdw in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 19 May 2009, 01:54 AM
  4. Flash hack&blank sidebox = blank page
    By AmandaGero in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2009, 06:19 PM
  5. Blank page with HEADING_TITLE displayed after new page creation
    By nocabt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jun 2008, 05:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR