Connnection Time out? What is that error?
Hi guys,
I was programming a script (doing only open & closing files)
And got that error:
Connection Timed out
and nothing more detailed than that!
Could you guys tell me where does the error come from?
I use some "require"'s. But even when I changed the script so that don't need require, it still has the same error.
Oh, and the error only happens when the user enables around 3,4+ checkboxes (1 checkbox = reading file)
Please help! I've tried the script several ways trying to determine the problem, but none worked!
http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
http://www.ad-rotator.com/ - Free ad rotating system for small websites - Stop Ctrl-P/Ctrl-C the ad code!
------
Son
Mark Hensler posted this at 06:53 — 23rd August 2000.
He has: 4,048 posts
Joined: Aug 2000
??? I never seen that before.
are you doing something like this: (psuedocode)
if BoxOne = "checked" then require "file"
Are you jsut requiring, or opening and closing them?
what are you doing while the files are 'open'?
Mark Hensler
If there is no answer on Google, then there is no question.
123finder.com posted this at 07:22 — 23rd August 2000.
They have: 60 posts
Joined: Aug 2000
Well, file reading only happens in the sub & just read into an array, then close it!
Yeah, something like you said, require will call an external cgi to run the appropriate task (which is reading a file & correct it and then writing to a new one)
And if I checked 3 or 4 (and of course 4+), got that error!
Plz help!
Thanks
http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
http://www.ad-rotator.com/ - Free ad rotating system for small websites - Stop Ctrl-P/Ctrl-C the ad code!
------
Son
Mark Hensler posted this at 20:29 — 23rd August 2000.
He has: 4,048 posts
Joined: Aug 2000
I don't what to do...
a few thoughts:
are you handling all the files 'at the same time'? or one then the other, etc.?
how big are the files?
123finder.com posted this at 20:33 — 23rd August 2000.
They have: 60 posts
Joined: Aug 2000
I solved it, but it was another problem, nothing with file operations
The problem is at
$var = 'HTML Code.....
code again.....
code again.....
code again.....
code again..... ';
At least I think so! But do you know what is the problem with having such a structure?
I changed to
$var .= ....
$var .= ....
$var .= ....
and it's fine now! Thanks a lot
http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
http://www.ad-rotator.com/ - Free ad rotating system for small websites - Stop Ctrl-P/Ctrl-C the ad code!
------
Son
Mark Hensler posted this at 20:48 — 23rd August 2000.
He has: 4,048 posts
Joined: Aug 2000
I don't think you can have multiple lines with '
try:
var = q~code
code
code
~;
q = '
qq = "
choose a delimiter after the q's (I used ~)
Mark Hensler posted this at 20:49 — 23rd August 2000.
He has: 4,048 posts
Joined: Aug 2000
here's a Q for you...
why would that make a 'Connection Timed Out' error?
123finder.com posted this at 21:15 — 23rd August 2000.
They have: 60 posts
Joined: Aug 2000
Yeah, it worked with 2 checkboxes, but not 3,4...
I don't know, anybody explains???
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.