PHP Broken Pipe - HTTP Error 500 + More **Fixed**

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Thu Aug 24, 2006 3:13 pm    Post subject: PHP Broken Pipe - HTTP Error 500 + More **Fixed** Reply with quote

G'day all,

**Update**
See bottom of this thread for the update - Everything works
Thankyou all for your help
**End of Update**

I've recently had a problem with a server falling over, and promptly dieing, and up until then I had a phpbb forum working nicely enough.

With both php (The Aprelium 5.1.4 pre-compiled package) and Abyss 2.3.2 re-installed, I'm now getting either HTTP 500 (Internal Server) errors or its unable to connect to the MySQL database - but nothing's changed that'd cause that.
I'm using the php-cgi.exe, and in the logs I'm getting broken pipe errors?

Has anyone got any ideas why this'd be happening?

Cheers,

Pottsie
_________________
Cheers and Beers


Last edited by Pottsie on Mon Aug 28, 2006 9:48 am; edited 2 times in total
Back to top View user's profile Send private message
Mikor
-


Joined: 21 Aug 2006
Posts: 144
Location: Hull, England

PostPosted: Thu Aug 24, 2006 3:17 pm    Post subject: Reply with quote

what php version are you using? the abyss pre-configured package?
_________________
Yarrt.com - Free Arcade
RypNet.co.uk - Online Game

MSN:
michael_walker_2004 <at> hotmail <dot> com
Back to top View user's profile Send private message Send e-mail MSN Messenger
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Thu Aug 24, 2006 3:21 pm    Post subject: Reply with quote

G'day,

Yeah, I'm using the Aprelium pre-configured binary (PHP 5.1.4)
Thanks for the quick reply mate.

Cheers,

Pottsie

**Edited to Add**
I'm running this off a Win98SE OS using php as a standard-CGI interpreter (Not FastCGI as it isn't supported)
_________________
Cheers and Beers


Last edited by Pottsie on Thu Aug 24, 2006 3:28 pm; edited 1 time in total
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Aug 24, 2006 3:27 pm    Post subject: Reply with quote

Try reinstalling php and let us know about any other errors you get.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Thu Aug 24, 2006 4:00 pm    Post subject: Reply with quote

G'day,

I've reinstalled the pre-configured 5.1.4 package, set it up on Abyss (removed the php config section before removing php) according to the Aprelium guide, and we're back to square 1.
Got HTTP 500 Internal Server Errors - the log says:
CGI: ["Path\php-cgi.exe"] URI: /forum/index.php Broken Pipe

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Aug 24, 2006 4:32 pm    Post subject: Reply with quote

Try standard CGI instead of fastCGI and see if that works.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Thu Aug 24, 2006 4:36 pm    Post subject: Reply with quote

G'day,

Yeah, its using standard CGI - Win98se won't let me run it as FastCGI.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Aug 24, 2006 4:37 pm    Post subject: Reply with quote

Try using php4 or an older version of php5 since 9x might not be as compatable as xp etc is.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Thu Aug 24, 2006 4:42 pm    Post subject: Reply with quote

G'day,

Rightio - I'll give it a stab.
Security issues shouldn't be too much of a problem, as its used behind a NAT and several corporate firewalls.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Fri Aug 25, 2006 12:22 am    Post subject: Reply with quote

I switched my server over to Windows 98 a few months ago. My counter script stopped working (it was a Perl script), so I had to code my own.

The reason the script stopped working is because Windows 98 doesn't support all the built-in functions of Perl (specifically file locking).

Agreeing with AbyssUnderground, you might also try running this script from an XP computer.
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Aug 25, 2006 5:14 pm    Post subject: Reply with quote

Pottsie,

Try running php-cgi.exe directly by double clicking on it. Does it report an error message in Windows?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Mon Aug 28, 2006 9:29 am    Post subject: Reply with quote

G'day all,

I've got no idea how, or why, but its now working :D
I'm trying to figure out what I did or changed, but I can't think of anything.
With it now working, I'm gonna do the "prayer to the IT Gods" and leave this machine going for as long as possible in the hope that it doesn't break again :P

I'll keep yas in the know regarding php versions that run on Win 98SE, as I'm sure there'll eventually be a point of where they discontinue support for it.

Thankyou everyone for your help, its been really handy in trying to hammer this sucker out.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group