Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSI errors

Discussion in 'General Discussion' started by rootuser, Jun 28, 2005.

  1. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***
    when iam trying to run ssi pages to a particular client getting errors in my browser like

    [an error occurred while processing this directive]

    in the same time in server error log showing

    unable to include file "../include/left.htm" in parsed file /home/myhome/public_html/directory/index.shtml

    any fix .Thanks in advance.
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    may be rebuilding apache with previous config will help you as it did for me...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***

    thanks nickb , but before rebuilding apache how can check is it a coding error or not, because only one client reported this eror.Thanks for your reply.
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    try serching the forum with ssi problem..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    The include tag should look like this:
    <!--#include virtual="/path/to/file.html" -->
    starting with the / and the path being from your public_html folder, or web root.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ***INDIA***

    :D :D Thanks PWSowner it is working fine, because of that info, i changed the code to
    <!--#include virtual="/path/to/file.html" -->
    Thanks again !
     
  7. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    No problem. I had to figure that out myself a while back. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice