|
| |
|
|
netchicken
Posts: 7 Joined: 6/9/2002 From: Status: offline
|
Includes screwing up - 6/9/2002 19:40:59
My 'include' pages are screwing up my site when I update them. I am using FP2002 and when I update my includes instead of just adding in the page (which consists of a table), they include the entire page into the page again, so you get 2 pages inside of 1. Normal and preview windows work as usual. only happens after uploading and and only happened in the last month. I have had to delete out includes and paste in as a normal table. This is terrible as my entire site depends on includes. There is nothing in the code that is different, nothign in what I am doing that is different. No new code of JS or anything, just tables and text. here is the mess it makes when the messagebaord include is added in, it is meant to be on the right column of the abortion of a page - and indeeed, on the included page it is. http://stuffucanuse.com/whats_new.htm Its repeating the entire page that the include is in into the include cell where the table is meant to go. I have rebuilt the include table from scratch all generated by FP. USing FP I see 2 includes on that page <!--webbot bot="Include" u-include="include_Learnit_title.htm" tag="BODY" --> is for my title include, and works OK (I sure as heck arn't messing with that one at this stage :-) It appears OK in the source of the page ... and .... <!--webbot bot="Include" U-Include="include_messageboard.htm" TAG="BODY" --> is for the offending messageboard include. now on the source on the online page is the first one OK, then this one appears <!--webbot bot="Include" i-checksum="33579" endspan --> then the right one <!--webbot bot="Include" U-Include="include_messageboard.htm" TAG="BODY" startspan --> whoa! heres another one ... ><!--webbot bot="Include" i-checksum="43586" endspan -->< now indeed on that mess of a page there would be 4 includes - 2 titles, and two messageboards. But how is the Messageboard include getting corrupted from leaving FP to appearing on the net? If it was a program issue the other one would change as well or it would appear in the preview screen. quote: so its replacing <!--webbot bot="Include" U-Include="include_messageboard.htm" TAG="BODY" startspan --> with <!--webbot bot="Include" i-checksum="43586" endspan -->
but how and why? Is it a virus? ... or just MS? Edited by - netchicken on 06/09/2002 19:43:45 Edited by - netchicken on 06/09/2002 19:48:06
|
|
|
|
Shirley
Posts: 3126 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: Includes screwing up - 6/9/2002 20:03:36
Is this happening on all of your pages?? If you delete the include page and then redo it what happens?? Did you always use 2002? Shirley cmycat.com Money Tree Web Design Omaha Homes Online
|
|
|
|
netchicken
Posts: 7 Joined: 6/9/2002 From: Status: offline
|
RE: Includes screwing up - 6/9/2002 20:34:42
quote: Is this happening on all of your pages??
yep quote: If you delete the include page and then redo it what happens??
Works OK the first time, but when I try and update the include file - a weekly job it screws up again quote: Did you always use 2002?
Yep, from the very beginning, its worked perfectly for the last year, just now ...
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: Includes screwing up - 6/10/2002 12:05:33
Hi, Check with the host. I believe that they might have upgraded the server extentions to FP 2002. Explain to them what is happening. Also explain when it started and see if they coincide. Brian Brian Work hard, play fair, stay sane
|
|
|
|
netchicken
Posts: 7 Joined: 6/9/2002 From: Status: offline
|
RE: Includes screwing up - 6/10/2002 22:18:33
Thanks for the help reflect. I checked with the hoster and he replied ... Nothing. Depends on "recently" I guess. We upgraded Apache about 2 or 3 months ago, but apart from that, we haven't touched a thing. And we don't have any FP server extensions (never had) and are not ever likely to have any either. We run a unix based server, and M$ will never touch it. We used to run an NT server as well as a unix one but the security nightmares and CO$T of maintaining it meant we dumped it like a hot potatoe a long time ago. ... back to the drawing board :)
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: Includes screwing up - 6/11/2002 7:45:37
Hi, Ok, just thinking out loud here... Take the page in question and strip out all hover button and FP style formatting, now save it as a temporary page (name it something different). Do the same on your include pages (again name them something different so you do not mess up the real pages). Now try to update the include and see what happens. When in this type of situation I try breaking it down and then build it back up piece by peice and see where it starts displaying the behavior at. At least the server extentions are ruled out. Brian Brian Work hard, play fair, stay sane
|
|
|
|
bobby
Posts: 11394 Joined: 8/15/1969 From: Seattle WA USA Status: offline
|
RE: Includes screwing up - 6/11/2002 15:50:42
Have you thought of using server side includes instead of the FP includes? Quite simply - just put <!--#include file="yourpagename" --> wherever you want the include to go... It might be that the server isn't liking the FP includes, and the links are getting broken somehow between your cpu and the server... maybe due to the lack of FP extn's? Just a shot in the dark... might give it a try and see it it works. Some servers only parse .shtml files for includes, your host should be able to clarify... _____ "There is too much apathy in the world, but I don't care."
|
|
|
|
netchicken
Posts: 7 Joined: 6/9/2002 From: Status: offline
|
RE: Includes screwing up - 7/10/2002 6:04:26
I can' t believe it, I have tried all suggested above and no luck the server side includes don' t show on my site ... I even cut and pasted the source code from the offending page http://stuffucanuse.com/jokes_main.htm on the net into FP and it corrected itself!!! looking like the original page before it was sent up ... I have no idea what to do next except maybe delete out the include_messageboard.htm page all togehter Any more suggestions for a discouraged webdesigner ... its worked perfectly for the last 2 years!!!
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: Includes screwing up - 7/10/2002 6:22:28
So, you decided not to try bobby' s suggestion of using SSI?
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: Includes screwing up - 7/10/2002 6:27:06
Loking back over this topic I see a few hints that might be the key. 1. In your very first post you mention ' uploading' the includes. While FP includes work on sites without extensions, they do not update all the pages when they are changed. This does sort of defeat the purpose somewhat, as if you change the include you must then also upload all the pages that call it again. If you have extensions but are choosing to upload the include rather than republishing the whole site using FP then you are going to have problems. If you are mixing FTPing and publishing these are likely to be worse. It is possible to FTP pages to FP sites, but in general I would recommend that you only do so with pages that do not rely on FP in anyway. 2. A couple of words on using SSI instead. <!--#include file=" yourpagename" --> The #include file is only used where the page to be included is in the same directory as the page in which it will be included. If it is in a different directory you need to use #include virtual: <!--#include virtual=" directory/yourpagename" --> As Bobby pointed out, on most servers only pages with the extension .shtml will be parsed for serverside includes. So if your pages have any other extension they will not be parsed and the SSI calls will not work. It is possible to configure things so that SSI are called in .htm and/or .html pages, you need to ask your host about this. There are disadvantages to that in that if you choose to parse htm or html pages all pages ending in those extensions will be parsed, regardless of whether they actually have includes, which can slow loading abit and is more work for the server. Using SSI though you can just upload an altered include page and have all pages in which it is included updated.
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
|
|
pageoneresults
Posts: 1001 From: Orange, CA USA Status: offline
|
RE: Includes screwing up - 7/12/2002 2:03:51
Its a known bug... > This problem is caused by the configuration of the performance tuning settings on the server, in particular, the Max Cache Document Size setting. For information about how to configure these settings, see the " More Information" section later in this article. We' ve fixed it! That was driving me absolutely crazy! On some sites we had to install FP2000 extensions, on others FP2002 worked fine. This topic has been discussed here at the forums previously. http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q298827
< Message edited by pageoneresults -- 7/11/2002 2:04:33 AM >
_____________________________
SEO Consultants Directory Find Search Engine Marketing Companies
|
|
|
|
netchicken
Posts: 7 Joined: 6/9/2002 From: Status: offline
|
RE: Includes screwing up - 7/13/2002 6:18:29
thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU thankyou thank YOU Thankyou THANK YOU THANKYOU tHANKyOU THaNKYoU that has driven me crazy and bought my site to its knees!
|
|
|
|
Jayn
Posts: 29 Joined: 7/26/2002 Status: offline
|
RE: Includes screwing up - 8/10/2002 9:52:32
Are server side includes vs. front page includes two ways to do the same thing? Are there advantages to one over the other on a server that has FP extensions installed? Jayn
|
|
|
|
Rewired
Posts: 186 From: Augusta GA USA Status: offline
|
RE: RE: Includes screwing up - 8/14/2002 12:17:49
quote:
Have you thought of using server side includes instead of the FP includes? Quite simply - just put <!--#include file=" yourpagename" --> wherever you want the include to go... Would this work with live editing also? Or would I have to save every page as I do now? thanks
_____________________________
Chris
|
|
|
|
caz
Posts: 3510 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: Includes screwing up - 8/17/2002 15:40:23
Can I add a BIG THANK YOU too? This has solved a major problem on my site which has had my server techie and I tearing hair over several weeks. I would also be interested to know whether SSI' s would be of more advantage than FP includes. Caz
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|