SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 16th, 2000, 12:49 PM
ecchu79 ecchu79 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 6 ecchu79 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ecchu79
I was wondering if anyone on this board could figure this problem out that has been stumping my company.
We are using includes to help develop our web pages. The strange thing is that the server only processes a portion of the web page, and then just stops when we use these includes.
Removing the include where the server stops processing fixes this problem, but obviously the content in the removed include is lost.
We are implenting as many as 10 includes per page, and also at times using includes within includes. Is there a limit to the number of includes you may use?
The html code within each of the includes has been checked, and is correct, so that is not the problem.
I hope someone can help our situation, because it is just plain frustrating.
Thanks in advance

Reply With Quote
  #2  
Old March 16th, 2000, 08:04 PM
DrFaustus DrFaustus is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 8 DrFaustus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to DrFaustus
It is very stressing for a webserver to process as many as ten includes on a single page, which some of those having includes of their own. The server may just be over worked. Try cutting down on the number of includes first.

Reply With Quote
  #3  
Old March 17th, 2000, 11:24 PM
jeromega12 jeromega12 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Seattle Wa Us
Posts: 12 jeromega12 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes, If you are using Microsoft, the server will blow up and crash in about 20 visits. IF not it will slow down alot.

Reply With Quote
  #4  
Old March 20th, 2000, 01:21 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 2 m 4 sec
Reputation Power: 43
Try using PHP, which has a much more efficient way of including files. (Amazingly enough, with PHP you can even include a file from another server, even one outside of your network.)

Reply With Quote
  #5  
Old April 4th, 2000, 04:25 PM
ZogJr ZogJr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 1 ZogJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I ran into a similar problem with a site I recently finished for a customer - and it wasn't limited to includes. Sometimes a page would just refuse to completely load out to the browser. Stopping invariably in the middle of the page.

I discovered (after much labored research) that the problem was due to an obscure (read little known) issue with Notepad and IIS. Notepad doesn't save the long file name header... which IIS looks at to determine if a page should be reloaded and sent out to the user. So, because notepad is so OLD, CRUSTY, and BUGGY... IIS refused to see some changes... and then had some sort of checksum confusion when it compared files... and WHAMO... partial file sent.

Or at least that's my estimation of the problem. I could be wrong... and/or you may be using different software. I ended up dumping notepad in favor of Edit+ (http://www.editplus.com).

And that's my 2cents...

Steve Hartzog

[This message has been edited by ZogJr (edited April 04, 2000).]

Reply With Quote
  #6  
Old April 14th, 2000, 01:48 AM
wdn2000's Avatar
wdn2000 wdn2000 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Apr 2000
Posts: 1,058 wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 20 h 56 m 43 sec
Reputation Power: 16
I have set up many sites using SSI and
have never found a limit to the number
of includes that I could use. If the includes
that aren't loading are in other includes,
the problem could be in how you're enabling
includes on the server (you didn't mention
which server, or how you're enabling SSI).
For example, if a file has to have the
.shtml extension to be parsed, and you're
naming your fragment files to be included
.htmlf (or something other than .shtml) then
they won't be parsed, and their includes
won't be included!

Hope this helps.

Scott

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > problems with includes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway