Poriblems with Server Side Include


i amtrying convert spry menus using ssi. template.  been beating head against wall on can go in , can't in include fil turns out not big problem

 

 

when in using dredamweaver cs5   and  server side have major issues @ differeent levels

 

i have file in directory off site root called  includes

 

the file trying include

 

using page @ root level statement using document relation is

 

<!--#include file="includes/navbar.html" -->

 

works fine   channg site relation not work   ok far good

 

however page in lower level director gets dreaded

 

[an error occurred while processing directive]

 

and error

 

[

[sat sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable include file "../includes/navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html

 

and also

 

warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;

unknown(0) : warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;

unknown(0) : warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;

unknown(0) : warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;

unknown(0) : warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;

unknown(0) : warning - php startup: unable load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;

 

 

 

the php errors don't seem mahor although seem have have iisue or related

 

but aside

 

if move include file same level pade approprirate include statement no problem works

 

if move subditrectory  doesn't work

 

 

summary

 

i can ssi work page on root level using includes subdirectory

 

but on other level must have include in same directory page

 

any thoughts??

your menu links inside include file.  there should nothing else inside file except list tags, classes & hyperlinks.  links relative parent page(s) in occur.

 

all supporting scripts , css go inside parent page -- in case, template.dwt file.

 

local files panel:

     -includes

          menu.html

          footer.html

     +styles

     +spryassets

     -templates

          main.dwt

     about.shtml

     contact.shtml

     index.shtml

     services.shtml

 

problems occur if use document relative link paths pages located inside sub , sub-sub folders. obviously, want avoid doing that.  best results, keep site pages @ root level.

 

hope helps,

 

nancy o.



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support