Server Side Includes not rendering correctly in Firefox with Layers
Hi
The server side includes are not correctly rendering with layers in firefox. From my site here:-
http://www.osteriastecca.com/index.php
the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
http://www.osteriastecca.com/index_old.php
Works fine in IE and Safari, but not Firefox.
How can this be rectified?
Regards
Glennyboy
What testing server setup do you have? Are you using something like WAMP?
What do you see on screen which tells you the SSIs are not rendering? Any error message?
Similar Messages
-
Server-side includes not rendering
Hi, I'm on CS5.5 (Windows operating environemnt). The server-side includes are not rendering in Live view now, whereas they were previously. Is this some sort of configuration issue, if so can you help me fix it.
What testing server setup do you have? Are you using something like WAMP?
What do you see on screen which tells you the SSIs are not rendering? Any error message? -
Server Side Includes not displaying in DW CS3 design view
I have this code in my page (see below):
When I open the file in Dreamweaver MX 2004 in design view,
the page displays correctly. That is, I see the correct styles from
the style sheet contained in Head_Standard.html and the logo/menu
in Logo_TopMenu.html
When I open the page in DW CS3, I do not see the effects of
the style sheet and I do not see the logo/menu.
However, when I change the code for the first include from:
virtual="/ServerSide
to
virtual="
../../ServerSide
then the page renders correctly in Dreamweaver CS3.
My first reaction was: what?! And my question is: how do I
use a root reference inside the head and get it to display properly
in DW CS 3?"Go to Edit > Preferences > Invisible Elements >
Server-Side Includes (Check this box) to show contents of included
file"
I already do this.
For me:
/ServerSide... does NOT work
../../ServerSide... works
So, a relative reference works and a reference to the root
does not. I have over 20 websites with root references and I need
this to work in DW9. -
Server Side Include not functioning the same across website
digitaldealershipsystem.com
<!--#include file="/includes/navigation.php" -->
** this is the navigation pulldown.
This works on most of the main pages
When you go to
digitaldealershipsystem.com/live.html
digitaldealershipsystem.com/live2.html
digitaldealershipsystem.com/live3.html
The same is included but does not work on Chrome, but does work on Firefox
To restate, the naming is the same on all web pages, and it works on Chrome -- except for these "live" pages
On Firefox, they work on all pages, included live pages
For testing purposes on the following page, I tried 'virtual' file and that did not change the results in either browser
digitaldealershipsystem.com/live4.html
My thoughts:
If there is a conflict on the page, then why only is Chrome being effected
Any ideas?If clearing the cache does not help, then check your code validation - you have several errors. Server side includes are browser independant - because they are assembled on the server, not the client. If there's a difference in rendering between browsers, it has to do with your html/css and has nothing to do with SSI.
-
Server-side includes not showing in new DW CS5.5. Any suggestions?
I have used DW for years and years and have never had any problems. I just installed CS5.5 and am not seeing my php includes in the design pane. I've searched the forums but have not found a working answer.
I'm editing files I've edited in CS5 and earlier with no problem.
I've checked the server-side includes box in the configuration but no change occurs.
Does anyone have any suggestions?What testing server setup do you have? Are you using something like WAMP?
What do you see on screen which tells you the SSIs are not rendering? Any error message? -
Server-side includes not working
Running CF9.x on Apache 2.2 Win 7.
I inherited an older html multiple page site that we are breaking down into includes using html server-side includes:
e.g. <!--#include file="includes/sidebar.html" -->, and saving the page as a .html file, which is then <cfincluded> in a .cfm file.
Is there a way to get <!--#include file="includes/sidebar.html" --> include working on a CF page? All I see is the contents of the page, but none of the sidebar.html, or header.html, etc.
I know I could switch to cfincludes, but the boss LOVES to muck around with the html side of things.
TIA,
DougI know I could switch to cfincludes, but the boss LOVES to muck around with the html side of things.
All the more reason to do it, surely?
But anyway...
I've never used a server-side include, but it looks to me that they just load the file and return it at that position in the document.
For CF code to be executed, the file needs to be REQUESTED, so it won't be a starter with server-side includes.
Adam -
Tables not rendering correctly in Firefox
I recently switched from Dreamweaver 8 to CS4. I also
recently updated my Firefox to 3.06. I have had this website for
years, and it just started not rendering tables correctly in
Firefox. This is happening on multiple pages It works fine in IE.
http://www.wiw.uscourts.gov/bankruptcy/
Let me say up front, I know the page is antiquated (created
in Front Page) It uses tables for the layout instead of CSS. I hope
to be updating it soon, but for now I need a fix to get the pages
to work correctly.
Any help would be greatly appreciated!
Thanks,
BeckyHello,
In the USBC CSS , delete this:
TD {
font-family : Arial, sans-serif;
float: right;
Take care,
Tim
"bhanson" <[email protected]> wrote in
message
news:gp3ups$l6j$[email protected]..
>I recently switched from Dreamweaver 8 to CS4. I also
recently updated my
> Firefox to 3.06. I have had this website for years, and
it just started
> not
> rendering tables correctly in Firefox. This is happening
on multiple pages
> It
> works fine in IE.
http://www.wiw.uscourts.gov/bankruptcy/
>
> Let me say up front, I know the page is antiquated
(created in Front Page)
> It
> uses tables for the layout instead of CSS. I hope to be
updating it soon,
> but
> for now I need a fix to get the pages to work correctly.
>
> Any help would be greatly appreciated!
>
> Thanks,
> Becky
>
> -
Server side includes not visible on apache
Hi when i upload an HTML file with includes on an apache server the includes are not visible. I used the "virtual" parameter. on a windows server it works, also local works everything great. i also tested with PM "file" didn't work. can someone help me out? Thnx
>Hi when i upload an HTML file with includeson an apache server the includes are not visible.
The includes are not visible, but is the include code visible in the source code? That will tell whether the server is parsing for includes. By default, the server is probably set not to parse .html files for includes. Read the link that SnakEyez suggested, but also be aware that you can configure your server to parse .htm(l) for includes. -
Server side includes: outdated and not supported by host?
I've been using SSI's for ages with no problem from any host. Recently I signed up with a new web hosting company, one of the more established ones in the Seattle area. They do not support SSI's and claim that using them is not safe and is not a modern approach to web design. They suggested I use a more advanced programming language to create my sites, such as ASP.NET (something I have no desire to do).
Are server side includes outdated and no longer the way to do things? I find that hard to believe.
-JesseAre server side includes outdated and no longer the way to do things? I find that hard to believe.
That language is from Microsoft who seem to think so along with Windows based hosting providers offering ASP.NET.
IIS no longer comes with SSI installed by default. It has to be configured by the hosting provider.
http://blogs.iis.net/robert_mcmurray/archive/2010/12/28/iis-notes-on-server-side-includes- ssi-syntax-kb-203064-revisited.aspx
However, classic SSIs (in the sense of including static content from one page inside another) are still one of the most powerful, safe and flexible tools for managing repetitive page elements in any web page. Not to mention easy.
ASP.NET has its own way of doing the equivalent of SSIs - and lots more beside but much of which does not interest web designers at this stage.
http://stackoverflow.com/questions/894720/asp-net-equivalent-of-server-side-includes
http://searchsoftwarequality.techtarget.com/answer/Alternatives-to-server-side-includes-fo r-ASPNET -
Server side include does not appear in browser
I've imbedded a server side include within an html file. I
can see it in the Dreamweaver design previewer, but it does not
appear when displaying the html in a browser. I've tried saving the
included file as "html", "htm", "shtml", and "shtm". Nothing seems
to work.
Any guesses?On apache, you have to use either shtm(l), or PHP. And in the
event that
you use the latter, the include directives must be PHP
includes, not HTML
includes, e.g., this -
<?php require('includes/foo.php') ?>
not this -
<!--#include file="includes/foo.inc" -->
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Dave Bar" <[email protected]> wrote in message
news:frbps3$f6o$[email protected]..
> Interesting you mention this, I was just experementing
with this today.
> I traditionally use .asp and IIS when using Include
techniques.
>
> I have a client on an apache server, and they can't run
asp, so I had to
> test using html.
>
> This is what I found.
> Since I'm running IIS, I had to use shtml (their apache
server may run it
> with regular html).
>
> I also had to make sure I was using the IIS Localhost in
my url.
> so this worked:
>
http://localhost/tests_and_examples/TEMP/TestInclude.shtml
>
> While this did not:
>
http://localhost/tests_and_examples/TEMP/TestInclude.html
(notice the
> missing s in shtml)
>
> And this did not:
>
file:///C:/Inetpub/wwwroot/tests_and_examples/TEMP/TestInclude.shtml
> (Notice a regular file:/// instead of using IIS
localhost)
>
> Hope that helps
> -Dave
>
> "rsimmons1957" <[email protected]>
wrote in message
> news:frboib$dn5$[email protected]..
>> I've imbedded a server side include within an html
file. I can see it in
>> the
>> Dreamweaver design previewer, but it does not appear
when displaying the
>> html
>> in a browser. I've tried saving the included file as
"html", "htm",
>> "shtml",
>> and "shtm". Nothing seems to work.
>>
>> Any guesses?
>>
>
> -
Tabbed panels, Collapsible Panel, and Server Side Include
Hi,
I'm having a problem with the way a Server Side Include inside a Collapsible Panel displays.
Here is how this particular page is set up.
The page has spry tabbed panels.
>>A panel has one overall Collapsible panel (the main product tab)
>>>>Nested in that Collapsible panel are four other collapsible panels (Overview, Features, Screenshots, What's New).
>>>>>>In each of these four collapsible panels is a server side Include that features that category's content
E verything works fine as far as opening and closing is concerned. However, the problem is with the display. The content panel doesn't resize with the Include content, and therefore, the Include content extends outside the border of the content panel.
I'm thinking this is because it is Include content rather than normal content. Is that right?
Do I fix this by changing the overflow value of one the Tabbed Panel CSS styles? If so, which one should I change, and to what value?
Or if that's not how to fix it, can anyone tell me how?
Thanks a lot,
MikeHi, I'm using the latest version of Spry. I modified some CSS rules of the tabbed panels, but not the javascript file. I didn't do anything to the Collapsible Panel rules.
Since first posting this thread, I changed the overflow of the Tabbed Panels Content Group CSS rule to "scroll". That did produce a scroll, but I'd much rather have the panel expand. So, I changed it back the way it was.
Here's the page I'm working on. Click the Court Solutions tab to get to the problem panel.
http://www.ptssolutions.com/Test/public_safety_products_3.shtml
It has different results in IE and FireFox, but doesn't work correctly in either.
Thanks a lot for all your help,
Mike -
Problem in Server side includes using Tomcat
Problem in Server side includes using Tomcat:
I am trying out small programs in servlet.
I get one example program for server side includes from net.
The code is:
<HTML>
<HEAD><TITLE>Times!</TITLE></HEAD>
<BODY>
<P>
The current time in London is!!! :
<SERVLET CODE="CurrentTime" codebase="../servlet">
<PARAM NAME="zone" VALUE="GMT">
</SERVLET>
</P>
</BODY>
</HTML>
I placed this test.shtml file in tomcat-home/webapps/ROOT folder and i kept the servlet in WEB-INF/classes folder.
I renamed the servlets-ssi.jar and i removed the comments for SSI in web.xml file.
When i run the servlet separately, i am getting the correct result. But if i run shtml file with the URL : http://localhost:8080/Test.shtml,
i am getting the result as:
The current time in London is!!! :
It is not invoking servlet program.
CAN ANYONE HELP ON THIS!
Thanks.Thanks...as u said I tried putting dir & found that
my file was saved as Ch1Servlet.java.txt instead for
Ch1Servlet.java......So that was a problem.Now I'm
able to compile.Oh, yeah. Notepad will do that to you. I think when you save in Notepad if you put quotes around the name "Whatever.java" then it won't add the .txt.
But on compiling I'm getting the following error
package java.servlet.* does not exist
package java.servlet.http.* does not exist
package java.io.* does not exist
Do u the reason for this??? The servlet stuff is java[b]x.servlet. For the io stuff, I don't know, I'd have to see your code. Either you have a typo or a corrupt installation. -
Displaying server-side include in DW8
Sorry if this has been asked before? I did search and
couldn't find it (this site is painfully slow and searching is
worse)
I am trying to figure out how to make DW8 show my server-side
include files in the design view. My site uses SSI for all headers
and footers, so every page has at least 2 SSI's. They show up as
the SSI mark on the page, but not the code or graphical
representation of what is in the SSI. I need to have that code
snipet show up in my design view. The only way I have been able to
figure out how to do it, is to reinsert the SSI again from the
menu, and then delete it. Doing it that way, the original ssi that
is listed on the page will display graphicly in the design view.
I do have the option in the preferences - Invisible Elements
- Server-Side includes: and the check box is checked / enabled.
If I could, while I'm here, one other question. I have DW
code rewriting turned on, and it shows me each time I open a file,
what corrections it has made. But if I save the file, and then open
it again, it shows me the exact same corrections being done again.
Is there a trick to make DW8 save the corrections it automatically
makes to the files?
many thanks in advance.> I know that there were major changes between 4 and 8.
One of which was tightening the tolerance for bad code. CS3
is very strict
about displaying proper code.
However, your fragments below look OK.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"mmdlcab" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
bregent
> Do any of your included files include html, head or body
tags? If so,
> that's
> the problem. Having those creates invalid html which DW
will not
> render.
>
> Thats a great thought, but I just checked, and no, none
of those tags are
> in
> the files. I'll see if I can attach the code for the 2
files and see if
> that
> helps any. The header file does have my menu system
pasted into the text
> of
> the include file, but that has not caused problems
previously. FWIW, this
> worked fine in DW4 which is what I upgraded from. In
version 4, the
> headers
> and footers showed up fine in desgin view. I know that
there were major
> changes between 4 and 8.
>
> Header include file:
> ----------------------------
> <table border="0" align="center" width="750"
height="110">
> <tr>
> <td><a href="/index2.html"><img
src="/images/color_logo.gif"
> width="110"
> height="107" alt="MMDL Logo" border="0"
/></a></td>
> <td align="center" valign="middle"><a
href="/index2.html"><img
> src="/images/header4.gif" width="450" height="110"
border="0" alt="MMDL -
> The
> worlds largest steel tip dart league"
/></a></td>
> <td align="center" valign="middle"><a
href="testpage.html"></a><a
> href="
http://www.dmisports.com/darts_main.html"><img
> src="/images/dmilogo_small.gif" alt="DMI Sports"
width="110" height="77"
> border="0" longdesc="
http://www.dmisports.com"
/><br />
> <!-- <a href="
http://www.mmdl.org/dmi_flyer.pdf"
> target="_blank">League Board
</a></td>-->
> </a><a href="
http://www.mmdl.org/dmi_flyer.pdf">League
Board </a></td>
> </tr>
> </table>
> <!-- DHTML Menu Builder Loader Code START
--><script language="JavaScript"
> type="text/javascript">
> var navVer = navigator.appVersion;
> if(navVer.substr(0,3) >= 4)
> if((navigator.appName=="Netscape") &&
(parseInt(navigator.appVersion)==4))
> {
> document.write('<' + 'script language="JavaScript"
type="text/javascript"
> src="
http://www.mmdl.org/dmbmenu/nsmenu.js"><\/script\>');
> } else {
> document.write('<' + 'script language="JavaScript"
type="text/javascript"
> src="
http://www.mmdl.org/dmbmenu/iemenu.js"><\/script\>');
> }</script>
> <!-- DHTML Menu Builder Loader Code END
--><table border="0" width="550"
> height="110">
> -------------------------------------
> footer include file
> --------------------
> <table border="0" align="center">
> <tr>
> <td width="20" valign="top"
align="center"> </td>
> <td align="center" valign="middle" width="194">
> <div align="left"><a
href="mailto:[email protected]?subject=MMDL
> Darts.*..
> ">Comments? Email us</a></div>
> </td>
> <td align="center" valign="middle"
width="128"><a
> href="
http://www.mmdl.org/dmbmenu/textmenu.html">Text
> based menu</a></td>
> <td align="center" valign="middle"
width="223">© <SUP>SM</SUP>
> 2007
> Minute Man Dart League. All rights reserved.</td>
> </tr>
> </table>
> -----------------------
>
>
>
> -
htaccess file code lets server parse server side include
.shtml as .html with this:
AddType text/html .html
AddHandler server-parsed .html
it makes me happy so i can continue using .html extensions on
all pages.
however, same server side include statement in .php pages is
not recognized.
what do i need to add to htaccess file so ssi in .php pages
to be recognized??
(not php code in an html page but pure php extension; i.e. i
want to use the same ssi
for header used in .html pages to be in .php pages.)
browsed to find this answer but must not be using correct key
words as have found every
answer but this one.
thanks.Hmmm... include() does not behave this way, the script will
continue
regardless. Be sure to have an appropriate include_path
setting as well.
Be warned that parse error in included file doesn't cause
processing
halting in PHP versions prior to PHP 4.3.5. Since this
version, it does.
http://www.php.net/manual/en/function.include.php
John Waller escribió:
> "thanks for the tip. for anyone who finds this thread,
this works:
> the include statement for a .php page:
> <?php include("test.txt"); ?>"
>
>
> Use the require() function instead of include(). Both
handle includes
> the same but handle errors differently.
>
> Include functions keep running when they encounter
errors-not good for
> the developer because you may not know anything is wrong
until long
> after you've written the script or the site has gone
live.
>
> Require functions stop dead in their tracks until errors
are fixed-which
> is good for you the developer to know about. When
require works you know
> the code and the file names and paths are correct.
>
> Scripts should not continue executing if files are
missing or misnamed
> so require is preferred.
>
>
http://www.w3schools.com/PHP/php_includes.asp
>
>
http://www.tizag.com/phpT/require.php
> -
SSI (Server Side Include)
Hi folks.
I have installed J2EE SDK 1.4_03 and I'm interested in using it to develop my personal website locally on my PC. At a later date I wish to upload it to a paid web host.
The reason I have chosen to run a server rather than just accessing html files directly from my hard-drive is because I would like to utilize SSI (Server Side Include). That's really all. I'm not really interested in doing anything too interactive between the viewer and the server! Not yet anyway.
I have found various information online but nothing is working. I'm sure there is information that I am missing or something further I need to do to actually initiate it. The information I have found says to un-comment the various section in the file default-web.xml located in this folder c:\Sun\AppServer\domains\domain1\config for this to be activated globally. Below is a copy and pasted chuck of text that I have un-commented within this file..
Secondly I'm putting my test html pages in the folder C:\Sun\AppServer\domains\domain1\docroot using the include syntax that I have found all over the net such as <!--#ECHO var="DATE_LOCAL" --> & others.
I can not get the thing to work. I'm guessing there is more to it. For a start... am I putting my html pages in the correct folder for this to work? And Is there something I need to do to activate the ssi servlet? The only reason I'm putting my test pages in this folder is because the page at http://localhost:8080 says that I can overwrite the index file to replace it. Is this the correct place for this?
Also this class has me thinking... org.apache.catalina.servlets.SsiInvokerServlet Am I suppose to download this separately and put it somewhere? If so where is it? And where do I put it? I am horribly confused and I can not find any further information on this.
If anyone could help me out on this topic I'd really appreciate it. btw, I'm a beginner in this area... I'd really just like to server html pages with ssi features at this point. Nothing more. The server seems to be working.
Thanks,
Tane
<servlet>
<servlet-name>ssi</servlet-name>
<servlet-class>org.apache.catalina.servlets.SsiInvokerServlet</servlet-class>
<init-param>
<param-name>buffered</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>666</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>ignoreUnsupportedDirective</param-name>
<param-value>1</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>You can always use jsp:include or Apache tiles or something similar. I have not used SSI in a while, but you may want to check out those technologies, as they offer more than simply includes.
- Saish
Maybe you are looking for
-
Payment block configuration..
Hi Experts Can u please tell me the configuration of Payment block and how it is used in SAP in different scenarios. Thanks in advance Moderator: Please, search before posting
-
application is developed in cldc/midp environment , will it run in pda devices which also has cldc configuration... pl help me in this.... Thnaks in advance
-
Problem with File.listRoots()
Hi ! I am trying to list all the root directories using the File.getRoots(). This method returns me an Array of File objects. Now I iterate thru the array and am displaying the name of each root directory. But this is returning me an empty string. Ca
-
CS4 trial overrides CS3 default apps
Hey, I've installed trial versions of the new CS4 apps we use (InDesign, Photoshop, Illustrator) to evaluate a bit before deciding on an upgrade. However, EVERYTHING seems to open in CS4 apps now, and it seems impossible to change the default app to
-
How to know from exif data of an image on a computer that it is captured from a specific C7 phone?