Jump to content

Ssis Not Working


Andrew
 Share

Recommended Posts

I made some minor tweaks to a section of my site (www.kantor.com/blog), which sports a server-side include. Specifically, it includes a file called "nav.html" that sits in my root (public_html) directory. This way I can have the same navigation links on every page.

 

Now something weird is going on. My main blog page -- http://www.kantor.com/blog -- has that nav.html file show up just fine.

 

But the monthly archive pages, e.g., http://www.kantor.com/blog/2004/12/index.shtml, will NOT show that nav.html file. I get the infamous "[an error occurred while processing this directive]" message.

 

I use the same code on both pages:

<!--#include virtual="http://www.kantor.com/nav.html" -->

 

I believe the permissions are OK (it works some of the time, after all), and I tried using 'include file' as well. But it just won't appear on the other pages.

 

Any suggestions about this? I figure I'm missing something obvious, but can't figure out what.

 

Thanks!

Link to comment
Share on other sites

What's weird is that the same include is in the other page, but without any problems.

While it may be the same include you are several levels down in your directory tree.

 

Have you thought about changing to using a PHP include instead of the SSI include?

 

It would look like this:

<?php

include $_SERVER['DOCUMENT_ROOT']."/nav.html";

?>

Edited by TCH-Bruce
Link to comment
Share on other sites

I cut and pasted that code, but it didn't work. I'm guessing that I'm supposed to change something to make it specific for my site.

 

At least the error is gone; now it's just blank.

Link to comment
Share on other sites

The problem is that the include command is in a lot of my pages (and only these monthly pages aren't working). So I need the .shtml to keep the rest of the site functioning properly.

Link to comment
Share on other sites

What other SSI includes are you using?

 

You could also put a copy of the nav.html file in your archive folder and use the SSI include

 

<!-- #include file="nav.html" -->

 

Also my example was wrong:

<!-- #include="/home/cpanelname/public_html/nav.html" -->

 

Should have been:

 

<!-- #include file="/home/cpanelname/public_html/nav.html" -->

Edited by TCH-Bruce
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...