Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Internal Server Error

Quote Reply
Internal Server Error
I've successfully installed Gossamer Forum on my dedicated server and all run well except for the "Sign me up!" feature (gforum.cgi?do=user_signup;) and the "User profile" feature (gforum.cgi?do=user_profile_basic;). For those I get an Internal Server Error! I run Mac OS X Server (Unix) with Apache/1.3.23, Perl 5.6....
Please HELP!
Thank you very very much
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
What does your error log say?
Quote Reply
Re: [Paul] Internal Server Error In reply to
The error log says
Premature end of script headers: /Library/WebServer/Documents/forum/gforum.cgi
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Hi,

Very strange. From shell, can you type:

perl gforum.cgi 'do=user_profile_basic'

and see what it does?

Cheers,

Alex
--
Gossamer Threads Inc.
Post deleted by maxpico In reply to
Quote Reply
Re: [Alex] Internal Server Error In reply to
I've received this:

Content-type: text/html
No-cache: 0


<html>
<head>
<title>Gossamer Forum: Login</title>

<style type="text/css" media="screen">
<!--
body { scrollbar-base-color: #404040; scrollbar-arrow-color: #00ff33; }
a.menu:link,a.menu:visited { font-size:11; color:black; text-decoration:none; font-face:'Verdana,Helvetica,Arial'; font-weight:600; }
a.menu:hover { font-size:11; color:#256A19; text-decoration:underline; font-face:'Verdana,Helvetica,Arial'; font-weight:600; }
.submit { background-color:#7a9f54; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px; color:white; font-weight:bold; }
.button { background-color:#c5e1a3; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
a:link { color:#003366; text-decoration:none; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
a:visited { color:#333366; text-decoration:none; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
a:hover { color:#3366cc; text-decoration:underline; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
-->
</style>

</head>
<body bgcolor="white" topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0>
<center>

<table border="0" cellspacing="0" cellpadding="4" width="100%" bgcolor="#E8EAD0" style="border-bottom:1px solid #A1A576">
<tr bgcolor="#256A19">
<td colspan="5" height="3">
<img src="http://127.0.0.1/forum/images/clear_shim.gif" height="1" width="10"><br>
</td>
</tr>
<tr>
<td height="34" width="3%">
&nbsp;
</td>
<td width="24%">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<a href="gforum.cgi?" class="menu">
<img src="http://127.0.0.1/forum/images/home.gif" border="0" align="left" alt="Main Index" height="27" width="27">
MAIN<BR> INDEX
</a>
</font>
</td>


<td width="24%">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<a href="gforum.cgi?do=search;" class="menu">
<img src="http://127.0.0.1/forum/images/search.gif" border="0" align="left" alt="Search Posts" height="27" width="27">
SEARCH<br>POSTS
</a>
</font>
</td>
<td width="24%">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<a href="gforum.cgi?do=whos_online;" class="menu">
<img src="http://127.0.0.1/forum/images/who.gif" border="0" align="left" alt="Who's Online" height="27" width="27">
WHO'S <br>ONLINE
</a>
</font>
</td>

<td width="25%">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<a href="gforum.cgi?do=login;" class="menu">
<img src="http://127.0.0.1/forum/images/door.gif" border="0" align="left" alt="Log in" height="27" width="27">
LOG <br>IN
</a>
</font>
</td>

</tr>
</table>
<br>

<table border=0 width="100%" cellpadding=0 cellspacing=0><tr><td width=50><img src="http://127.0.0.1/forum/images/clear_shim.gif" height=1 width=50></td><td width="100%"><table border=0 width="100%" cellpadding=0 cellspacing=0>
<tr>
<td valign="bottom">
<a href="gforum.cgi?"><font face="Verdana,Arial,Helvetica" size=4 color="#7a9f54"><b>Home:</b></font></a>
<font face="Verdana,Arial,Helvetica" size=4 color="#7a9f54"><b>Login:</b></font>
</td>
<td align="right" valign="bottom">
<a href="http://www.gossamer-threads.com/scripts/gforum/"><img src="http://127.0.0.1/forum/images/GForum_logo.gif" border="0" align="right"></a>

</td>
</tr>
<tr>
<td colspan="2">
<font face="Verdana,Arial,Helvetica" size=2 color="black">

<font color="red">Gli utenti non registrati non possono accedere a questa pagina. Per favore iscriviti.</font>

</font>
</td>
</tr>
<form name=login method="POST" action="gforum.cgi">
<tr>
<td colspan="2">
<input type="hidden" name="url" value="http://127.0.0.1/forum/forum.cgi?login_attempt=1&amp;do=user_profile_basic">

<table style="border:1px solid #999966" width=100% cellpadding=4 cellspacing=0 bgcolor="#d9e4f2">
<tr bgcolor="#256A19">
<td colspan="2" height="3" width="100%">
<img src="http://127.0.0.1/forum/images/clear_shim.gif" width="10" height="1" border="0"><br>
</td>
</tr>
<tr bgcolor="#d9e4f2">
<td align="right">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
Username:
</font>
</td>
<td align="left" width="50%">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<input type="text" class="button" size="30" tabindex=1 name="login_username">
</font>
</td>
</tr>
<tr bgcolor="#d9e4f2">
<td align="right">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
Password:
</font>
</td>
<td align="left" width="38">
<input class="button" type="password" size="30" tabindex=2 name="login_password">
</td>
</tr>
<tr bgcolor="#d9e4f2">
<td align="right">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
Remember Me:
</font>
</td>
<td align="left">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<input type="checkbox" name="remember_me" value="1" tabindex=3 onClick="document.login.dont_use_cookies.checked = false"> &nbsp; <small>(requires cookies)</small><br>
</font>
</td>
</tr>
<tr bgcolor="#d9e4f2">
<td align="right">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
Don't use cookies:
</font>
</td>
<td align="left">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<input type="checkbox" name="dont_use_cookies" value="1" tabindex=3 onClick="document.login.remember_me.checked = false">
</font>
</td>
</tr>
<tr bgcolor="#E6F5D7">
<td style="border-top:1px solid #A1A576">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
<a href="gforum.cgi?do=user_signup;"><b>Sign me up!</b></a><br>
<a href="gforum.cgi?do=lost_password;"><b>Lost your password?</b></a>
</font>
</td>
<td colspan="2" align="right" style="border-top:1px solid #A1A576">
<input class="submit" type="submit" tabindex=3 value="Log In">
</td>
</tr>
</table>
</td>
</tr>
</form>
</table></td><td width=50><img src="http://127.0.0.1/forum/images/clear_shim.gif" height=1 width=50></td></tr></table>

<script language="JavaScript">
<!--
// set the focus to the username
document.login.login_username.focus();
// -->
</script>

<br><br>

<table border="0" width="100%" cellpadding="4" cellspacing="0" bgcolor="#E8EAD0">
<form method="get" action="gforum.cgi">

<input type="hidden" name="do" value="search_results">
<tr>
<td height="20" align="left" style="border-top:1px solid #A1A576">
<font face="Verdana,Arial,Helvetica" size=2 color="black">
Search

<input type="hidden" name="search_forum" value="all">all forums

for
<select name="search_type" size="1" class="button">
<option selected value="AND">All words</option>
<option value="OR">Any words</option>
<option value="PHRASE">Whole Phrase</option>
</select>
<input type="text" name="search_string" class="button">
<input type="submit" value="Search" class="submit">
(<a href="gforum.cgi?do=search;">options</a>)
</font>
</td>
<td align="right" style="border-top:1px solid #A1A576">
<font face="Verdana,Arial,Helvetica" size=2 color="black"><small>
Powered by <a href="http://www.gossamer-threads.com">Gossamer Forum v.1.1.3</a>
</small></font>
</td>
</tr>
</form>
</table>

</center>
</body>
</html>
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Please there is anyone who can help me? Unsure
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Hi maxpico - try setting the debug_level in your admin to "1" and see if that helps. I think the problem may be the "No-Cache" header showing up. Let me know if enabling debugging fixes it and I'll get back to you with a fix.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Internal Server Error In reply to
OK I turned on the debugging option and when I click in the User sign up page the error log say:

Code:
GT::SQL::Driver::MYSQL::sth (15984): Executing query: INSERT INTO gforum_Guest (guest_last_time,guest_id) VALUES (1019312169,NULL) from GForum::authenticate at /Library/WebServer/Documents/forum/admin/GForum.pm line 540
GT::SQL::Driver::MYSQL::sth (15984): Executing query: SELECT COUNT(*) FROM gforum_Online WHERE guest_id_fk = 46 from GForum::_plg_do_func_2 at /Library/WebServer/Documents/forum/admin/GForum.pm line 272
GT::SQL::Driver::MYSQL::sth (15984): Executing query: INSERT INTO gforum_Online (user_id_fk,online_time,guest_id_fk,online_action,online_ip,online_id) VALUES (0,1019312169,46,'user_signup','xxx.xxx.xxx.xx',NULL) from GForum::_plg_do_func_2 at /Library/WebServer/Documents/forum/admin/GForum.pm line 276
GForum::Template (15984): Compiling '/Library/WebServer/Documents/forum/admin/templates/default/user_signup.html' (compiled version does not exist) at /Library/WebServer/Documents/forum/admin/GT/Template.pm line 205.
GForum::Template (15984): Compiling template user_signup.html (into /Library/WebServer/Documents/forum/admin/templates/default/compiled/user_signup.html.compiled) at /Library/WebServer/Documents/forum/admin/GT/Template.pm line 567.
GT::Template::Parser (15984): Loading '/Library/WebServer/Documents/forum/admin/templates/default/user_signup.html' into $TPL at /Library/WebServer/Documents/forum/admin/GT/Template/Parser.pm line 135.
GT::Template::Parser (15984): Parsing 'user_signup.html' (found '/Library/WebServer/Documents/forum/admin/templates/default/user_signup.html') with (print => ) at /Library/WebServer/Documents/forum/admin/GT/Template/Parser.pm line 109.
[Sat Apr 20 16:16:09 2002] [error] [client xxx.xxx.xxx.xx] Premature end of script headers: /Library/WebServer/Documents/forum/gforum.cgi
Max
The one with Mac OS X Server 10.4 :)

Last edited by:

maxpico: Apr 20, 2002, 7:24 AM
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Can anyone help me please?
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Hi,

Have you customized the user_signup template? Try restoring the default template and see if the problem persists.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Internal Server Error In reply to
No I haven't customized any template...
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Internal Server Error In reply to
Are you running 1.1.4?

Also, can you e-mail me access to your admin panel and I'll take a look around to see what exactly is causing the problem.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Internal Server Error In reply to
Yes I'm running 1.1.4
I've sent an email to you with all the infos. Please keep it secret.
Max
The one with Mac OS X Server 10.4 :)