PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > server side includes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
server side includes

Réponse
 
LinkBack Outils de la discussion
Vieux 24/04/2008, 22h31   #1
don Carlos
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut server side includes

All of a sudden a previously working prototype page with 2 server side includes
fails to open those files. I've included the link. I rechecked the syntax and
it's correct. Is it possible that some setting on the server is effecting this?
http://historicbrooklyntavern.com/index07.htm
This page use spry, includes and CSS sprites ... and it all worked. Now it
fails to pull either the header OR the footer. I appreciate any input. The
server, in this case, is IIS.
Karl

  Réponse avec citation
Vieux 24/04/2008, 23h00   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: server side includes

You file nomenclature is backwards. The parent page must be named with the
shtm(l) extension, while you can name the file being included with any
extension you want (my personal favorite is *.monkeybutt).

By the way, IE tells me that your page is trying to load MXML 5.0 - why is
that? I'm assuming it's because of that menu you are using?

Also, this is trouble -

<title>Historic Brooklyn Tavern - 2007 Prototype</title>
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by
Deluxe-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2007, http://deluxe-menu.com -->

Note the presence of the <a> tag in the <head> region. Why is that?

--
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
==================


"don Carlos" <webforumsuser@macromedia.com> wrote in message
news:fuqu8a$7mr$1@forums.macromedia.com...
> All of a sudden a previously working prototype page with 2 server side
> includes
> fails to open those files. I've included the link. I rechecked the syntax
> and
> it's correct. Is it possible that some setting on the server is effecting
> this?
> http://historicbrooklyntavern.com/index07.htm
> This page use spry, includes and CSS sprites ... and it all worked. Now
> it
> fails to pull either the header OR the footer. I appreciate any input.
> The
> server, in this case, is IIS.
> Karl
>


  Réponse avec citation
Vieux 25/04/2008, 00h16   #3
don Carlos
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: server side includes

:grin; I once again sit in awe of your magnificence. But, why the heck did it
STOP working? It worked fine with the file names as they were. In fact, if the
site owner would ever give me content, it would have been live months ago.
At least the new site I'm being paid for will be able to use includes
correctly. As always, thank you, Murray. Sorry I can't make TODCON this year.

Karl

  Réponse avec citation
Vieux 25/04/2008, 12h04   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: server side includes

Karl:

You're welcome. I can't make TODCON, either. My daughter's HighSchool
graduation is on the 6th. 8(

> But, why the heck did it STOP working?


Beats me - perhaps the host turned off file parsing unexpectedly? The only
way an include will work is if the server finds the include directive. If
it doesn't parse the file to look for the directive, it won't find it. If
the file has only an *.htm(l) extension, the server will not parse it
(unless, of course, file parsing is enabled).

--
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
==================


"don Carlos" <webforumsuser@macromedia.com> wrote in message
news:fur4br$ds5$1@forums.macromedia.com...
> :grin; I once again sit in awe of your magnificence. But, why the heck
> did it
> STOP working? It worked fine with the file names as they were. In fact,
> if the
> site owner would ever give me content, it would have been live months ago.
> At least the new site I'm being paid for will be able to use includes
> correctly. As always, thank you, Murray. Sorry I can't make TODCON this
> year.
>
> Karl
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h18.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11089 seconds with 12 queries