Slow Include/Require

Status
Not open for further replies.

nol888

New Member
Messages
292
Reaction score
0
Points
0
For some reason, every call to an "Include" or a "Require" takes a very long time, about 20-30 seconds. Why would this be?
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
Two things that I've tested.

1. Your ad code
2. An IPB ssi.php script that gave me no troubles in the past.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
I'm betting it's the ad code. When the resources for the adcode aren't working properly (the x10hosting.com/advert stuff), the include will lag like nothing you've ever seen because includes cause the php document to wait. Once the advert stuff 404's or finally finishes processing it continues.

It should be temporary though - every time I've noticed it, it fixed itself within 15 minutes.
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
I made the ad code the javascript version and it still takes about 30 seconds to include the ssi script.
 

TarinC

New Member
Messages
698
Reaction score
0
Points
0
I am getting the same issue. my sig takes a while to load up...
the sig doesnt have the ad code on it, only includes on it are the files required to run it.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Can I have a link to the page?
 

nol888

New Member
Messages
292
Reaction score
0
Points
0
http://dawnfire.exofire.net/main.php

Edit: Now I get this error sometimes:
Code:
Warning: include(http://dawnfire.exofire.net/forums/ssi.php?a=news&show=10) [function.include]: failed to open stream: Connection timed out in /home/colferhq/public_html/dawnfire/main.php on line 7
Edit:
Sorry for the double post, but I fixed it by using a local include rather than a http:// include
 
Last edited:
Status
Not open for further replies.
Top