Home Menu

Menu



advertisement
Reply
Thread Tools Display Modes
  #1  
Old May 26, 2001, 05:53 PM
Racheli Racheli is offline
Junior Member
 
Member Since: May 2001
Location: Israel
Posts: 7
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!

Thanks for this!
Angel of Bedlam, Angelique67, punkybrewster6k

advertisement
  #2  
Old May 27, 2001, 05:54 AM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
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

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

where is the broken link you found?

Thanks for this!
Angelique67
  #4  
Old May 27, 2001, 08:05 AM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,652
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.
Thanks for this!
Angelique67
  #5  
Old May 27, 2001, 09:52 AM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
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

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

  #7  
Old May 28, 2001, 05:34 AM
Racheli Racheli is offline
Junior Member
 
Member Since: May 2001
Location: Israel
Posts: 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 ?

  #8  
Old May 28, 2001, 12:37 PM
jrconnor jrconnor is offline
New Member
 
Member Since: May 2001
Posts: 1
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.

  #9  
Old May 29, 2001, 02:08 PM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,652

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.
Thanks for this!
Lauliza
  #10  
Old Jun 01, 2001, 04:16 PM
Racheli Racheli is offline
Junior Member
 
Member Since: May 2001
Location: Israel
Posts: 7
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 ?


  #11  
Old Jun 03, 2001, 10:38 AM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,652

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.
  #12  
Old Jun 04, 2001, 02:03 PM
Racheli Racheli is offline
Junior Member
 
Member Since: May 2001
Location: Israel
Posts: 7
is chmoding the cgi-bin directory to 777 safe?!

  #13  
Old Jun 05, 2001, 01:07 PM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,652

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.
Thanks for this!
Angelique67
  #14  
Old Jun 19, 2001, 09:56 AM
Racheli Racheli is offline
Junior Member
 
Member Since: May 2001
Location: Israel
Posts: 7
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

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 11:12 AM.
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.