Home Menu

Menu



advertisement
Reply
Thread Tools Display Modes
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default May 26, 2001 at 05:53 PM
  #1
Hi,
I installed the open journal script and got as far as the "create a new user account" screen. after entering my details and clicking the button, I get a "HTTP 500 - Internal server error" page. How do I fix it ?! Please help.
Thanks!

Racheli is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angel of Bedlam, Angelique67, punkybrewster6k

advertisement
splash
Member
 
splash's Avatar
 
Member Since May 2001
Location: Massachusetts, USA
Posts: 176
23
Default May 27, 2001 at 05:54 AM
  #2
Hi Racheli,

I don't have an answer for you about the server, but I did want to say I visited your website, and I like it a lot. Great design and content ideas. Good job!

I noticed that the URL on your profile page had an addtional http:// , so that when you click on it, you come to a page not found error page. Just wanted you to know.

I bookmarked your site as there is a lot to see. Thanks for sharing!

splash

splash is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angelique67, anxiousdove, healingme4me, whim, worthit
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default May 27, 2001 at 06:29 AM
  #3
Thanks! It's so great to receive such nice feedback

where is the broken link you found?

Racheli is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angelique67
DocJohn
Founder & Your Host
Community Support Team
Chat Leader
 
DocJohn's Avatar
 
Member Since May 2001
Location: Greater Boston, MA
Posts: 13,651
23
182 hugs
given
PC PoohBah!
Default May 27, 2001 at 08:05 AM
  #4
The best way to troubleshoot errors like this is to have a look at your Web server's error log. If you don't know how to do this or where it is located, please ask your Web server's administrator or a system support person to give you that information (it's different on most systems). If I knew the error message it was complaining about, I might be of further assistance to you...

John


__________________
Don't throw away your shot.
DocJohn is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angelique67
splash
Member
 
splash's Avatar
 
Member Since May 2001
Location: Massachusetts, USA
Posts: 176
23
Default May 27, 2001 at 09:52 AM
  #5
It's on the profile page for these forums. If you go to Edit Profile at the top and then edit personal information, you'll see that http:// is hard coded.

And you're very welcome!

splash

splash is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angelique67, gaia67
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default May 28, 2001 at 05:29 AM
  #6
oh, thanks for driving my attention to that. fixed it

Racheli is offline   Reply With QuoteReply With Quote
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default May 28, 2001 at 05:34 AM
  #7
could it be that the script files aren't chmoded like they should be? how should i chmod the oj.cgi, oj.cfg and auth.pl ?

Racheli is offline   Reply With QuoteReply With Quote
jrconnor
New Member
 
Member Since May 2001
Posts: 1
23
Default May 28, 2001 at 12:37 PM
  #8
I'm getting the same server error, but my Apache server (P-Pro, 64 mb, Apache 1.3.20) gives me a "Out of memory- oj.cgi killed" error and then spits out "Premature end of script headers" error into my error log. Is open journal memory-intensive, or is this a disguised chmod/auth error? Any ideas would be helpful.

jrconnor is offline   Reply With QuoteReply With Quote
DocJohn
Founder & Your Host
Community Support Team
Chat Leader
 
DocJohn's Avatar
 
Member Since May 2001
Location: Greater Boston, MA
Posts: 13,651
23
182 hugs
given
PC PoohBah!
Default May 29, 2001 at 02:08 PM
  #9

It's a disguised other kind of error, probably related to permissions but difficult to diagnose remotely...

By default, I can safely say that a lot of time a person's cgi-bin directory is world-writeable either, and so you may have to chmod the cgi-bin dir itself to 775 or 777 to get the script to work. One way to check if this particular permission is a problem is to look within the cgi-bin/ojauth directory. After a person logs in, there should be a file in there. If there's not, the program isn't able to write to that dir.

When the program comes across any type of permissions problem, it is supposed to spit out an HTML header and show you the problem it's having. If it's not doing that, then try adding this line just below the require statements:

$| = 1;

Make sure the script points to where perl is on your server too (usually /usr/bin/perl or /usr/local/bin/perl). Those are all of my most obvious suggestions.

John



__________________
Don't throw away your shot.
DocJohn is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Lauliza
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default Jun 01, 2001 at 04:16 PM
  #10
the ojauth dir is chmoded to 777 and the cgi-bin dir is chmoded to 775. I have no problem running other cgi scripts, so I don't think that's the issue.
There isn't any file in ojauth . . . but it doesn't seem to be a permission problem. the perl path is ok. is there anything else that might cause a HTTP 500 - Internal server error ?


Racheli is offline   Reply With QuoteReply With Quote
DocJohn
Founder & Your Host
Community Support Team
Chat Leader
 
DocJohn's Avatar
 
Member Since May 2001
Location: Greater Boston, MA
Posts: 13,651
23
182 hugs
given
PC PoohBah!
Default Jun 03, 2001 at 10:38 AM
  #11

Yes, try adding the full path name to the two lines near the top of the oj.cgi file where it says:

require "oj.cfg";
require "auth.pl";

Make those:

require "/home/mydir/cgi-bin/oj.cfg";
require "/home/mydir/cgi-bin/auth.pl";

and that should fix it. Also, if you continue to get permission error messages, you may have to chmod 777 on your cgi-bin parent directory and the html parent directory as well. This has been elaborated on in the install section of the oj.cgi file, and on the OJ homepage.


__________________
Don't throw away your shot.
DocJohn is offline   Reply With QuoteReply With Quote
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default Jun 04, 2001 at 02:03 PM
  #12
is chmoding the cgi-bin directory to 777 safe?!

Racheli is offline   Reply With QuoteReply With Quote
DocJohn
Founder & Your Host
Community Support Team
Chat Leader
 
DocJohn's Avatar
 
Member Since May 2001
Location: Greater Boston, MA
Posts: 13,651
23
182 hugs
given
PC PoohBah!
Default Jun 05, 2001 at 01:07 PM
  #13

Chmoding any directory is safe assuming that parent directory permissions are set correctly for your user account. Usually, I assume that they are because most ISPs set them that way.

Any program that uses dynamic content you create and save on your Web page requires the ability to read and write to files and directories it needs to. OJ is no different in this manner.


__________________
Don't throw away your shot.
DocJohn is offline   Reply With QuoteReply With Quote
 
Thanks for this!
Angelique67
Racheli
Junior Member
 
Member Since May 2001
Location: Israel
Posts: 7
23
Default Jun 19, 2001 at 09:56 AM
  #14
I installed the new version, and did the "touch databse" thing that was written in another post here in the board, and everything is fine now

Racheli is offline   Reply With QuoteReply With Quote
Reply
attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
server error (JD) Community Feedback & Technical Support 1 Dec 12, 2004 03:36 PM
Server error (JD) Other Mental Health Discussion 1 Dec 30, 2003 09:21 PM
OJ Internal Server Error (500) paqitheblack Community Feedback & Technical Support 6 Aug 07, 2002 12:27 PM
POD sIte died 1600 hours - EDT (internal server problem) freddy Community Feedback & Technical Support 1 Oct 10, 2001 08:19 AM
HTTP 500 error again (sorry!) thecavkid Community Feedback & Technical Support 0 Jun 11, 2001 09:51 AM


All times are GMT -5. The time now is 03:42 PM.
Powered by vBulletin® — Copyright © 2000 - 2024, Jelsoft Enterprises Ltd.



 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.