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!

an error occurred whil processing this directive

Discussion in 'General Discussion' started by mharris1969, Aug 12, 2006.

  1. mharris1969

    mharris1969 Registered

    Jul 30, 2006
    Likes Received:
    Trophy Points:
    St. Louis, MO.
    Hello all,

    I am new to using cpanel, so thank you in advance for being patient with me. I just uploaded my new website, and am getting the 'an error occurred whil processing this directive' on my index.shtml page. My navbar is an includes file, and it's the only piece not showing up on my site.

    Any help is most appreciated.

  2. inalto

    inalto Member

    Mar 27, 2004
    Likes Received:
    Trophy Points:
    Look in your index.shtml there is a line like this:

    <!--#include virtual="/navbar.shtml" -->

    check the path file with your browser, lynx or wget to see if you can access it.
    Maybe you cant reach that file (if you can avoid spaces in filenames, use "_" instead. for example use nav_bar.shtml instead nav bar.shtml

    Check if the navbar.shtml permissions are ok. You must be the owner of navbar.shml and permissions should be like 644, avoid 777.

    If you navbar uses cgi within (like perl scripts) check that scripts are in a sub-directory with Options +ExecCGI enabled in the .htaccess (or in cgi-bin of course) and with execution permissions for the owner of the file.

    If you include a cgi, pay attention to the header of the generated file, the first line should be "Content-type: text/html" + "\n"

    Hope it helps :)

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