Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Feb 04, 2003, 10:18 AM
Robert Robert is offline
New Member
 
Member Since: Sep 2002
Posts: 3
after I archieved, I have the choice to go back to the Openjournal console. Clicking on it, will give me a screen with: Error: OK and again a link to ' back to openjournal'
Anybody an suggestion?
OJ V2


advertisement
  #2  
Old Feb 26, 2003, 11:05 AM
lovedayd lovedayd is offline
New Member
 
Member Since: Feb 2003
Posts: 1
I get the same error with my installation. Doesn't anybody else? Is anybody going to respond to this?

  #3  
Old Feb 28, 2003, 02:21 PM
chani chani is offline
New Member
 
Member Since: Feb 2003
Location: canada
Posts: 2
I get this error as well even but in a different place::

After I've added an entry and received the "entry added" confirmation, when I click the "back to the open journal console" the "error: ok" message comes up. The only option available at that time is "Back to Open Journal" which takes me out to the login screen.

  #4  
Old Mar 01, 2003, 12:06 PM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
Hi,

I did a "search" within this forum (Software Support) using the phrase Error: OK, and it seems that there have been issues with this since August 2001. It doesn't seem to have been resolved.

What server and operating system are you using to run open journal? You may want to see the other posts related to this issue, to see what others have tried.

Sorry I can't be of further help. I have no experience with this software.

splash

  #5  
Old Apr 17, 2003, 06:37 AM
fourfun fourfun is offline
New Member
 
Member Since: Apr 2003
Posts: 1
1) Change link(could not post full code due to this oj turning it into a real link) in oj.cfg to:

href=\"$script_link&auth=login\">back to the Openjournal console

2) Then add in main of oj.cgi:

} elsif ($in{'auth'} eq "login") {
&addform;

  #6  
Old Apr 23, 2003, 10:47 AM
DocJohn's Avatar
DocJohn DocJohn is offline
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,791

I think fourfun has hit the problem (and solution) on the head. I'll try to go back into the code to fix this for future downloads.

Sorry.

__________________
Don't throw away your shot.
  #7  
Old Apr 25, 2003, 09:48 AM
hric hric is offline
New Member
 
Member Since: Apr 2003
Posts: 1
I think I understand the first part of the fix, line 334 or so of "oj.cfg" but can you tell me where EXACTLY to add the "elseif" line in "oj.cgi"?

Thanks

PS: I "blindly" pasted the code here in my "oj.cgi" file to test it;
<blockquote>
split(/\./,$uid); }
if ($userid) { $script_link = "$script_link&userid=$userid"; }
if ($uid eq "default") { $db_userid = $uid; }
else { ($db_userid) = $db_uid =~ /([A-Za-z0-9] )\.\d /; }

if ($in{'edit'}) {
$edit = $in{'edit'};
&verify;

} elsif ($in{'auth'} eq "login") {
&addform;
</blockquote>

It solves the "Error: OK" when going back to the console but now the entries are showing up twice in the oj index page. Any thoughts?
I'm sure I probably pasted into the wrong place since I am sort of new to cgi scripts.

Thanks again
  #8  
Old Jul 21, 2003, 07:46 PM
Liquibyte Liquibyte is offline
New Member
 
Member Since: Jul 2003
Posts: 4
Put in in here like this:

<blockquote><font size=1>In reply to:</font><hr>

# ----------------------------------------------
# Main
# ----------------------------------------------

sub main {

$|++; # Flush Output Right Away

$userid = $in{'username'}; $pw = $in{'password'};
$in{'userid'} = $userid; $in{'pw'} = $pw;

&auth_cleanup; # Remove old session files.
($status, $uid) = &auth_check_password; # Authenticate User, get permissions and userid.
$script_link = "$db_script_url?db=default&uid=$db_uid";

if ($status eq "ok") {
if (length($userid) < 3) { ($userid, $trashy) = split(/\./,$uid); }
if ($userid) { $script_link = "$script_link&userid=$userid"; }
if ($uid eq "default") { $db_userid = $uid; }
else { ($db_userid) = $db_uid =~ /([A-Za-z0-9]+)\.\d+/; }

if ($in{'edit'}) {
$edit = $in{'edit'};
&verify;

} elsif ($in{'logoff'}) { &auth_logging('logged off') if ($auth_logging);
$auth_logoff ? (print "Location: $auth_logoff\n\n") : (print "Location: $db_script_url\n\n");

} elsif ($in{'addentry'} =~ /Add/) {

&get_variables;
if ($blurbonly eq 0) { &new_file; } #if there is not just a blurb, write a new news file
&main_page;
&return_html("entry added"); #show user added entry

} elsif ($in{'addentry'} =~ /Preview/) {

&get_variables;
&preview;

} elsif ($in{'auth'} eq "adduser") {
&print_new_auth;

} elsif ($in{'login'}) {
&addform;

} else {
&error($status);

} # End Edit
} elsif ($in{'auth'} eq "login") {
&addform;

} elsif ($in{'auth'} eq "newpass") {
if ($in{'password'} eq $in{'verify'}) {
&signup;
} else { &print_new_auth("Sorry... Your passwords didn't match. Please try again."); }

} elsif ($status eq "no login") {
&print_auth($status);

} else {
&error($status);
}

exit(0);

} # End Main

<hr></blockquote>

Reply
Views: 648

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
new member & seeing JVM error, IE error? Rose3 Community Feedback & Technical Support 1 Feb 16, 2007 10:11 PM
Error 500 bansebe Community Feedback & Technical Support 0 Feb 04, 2004 08:49 PM
Help: POD 500 Error. TeamNG Community Feedback & Technical Support 0 Mar 16, 2003 03:06 PM
POD FAQ error francesco Community Feedback & Technical Support 1 Aug 01, 2002 11:22 AM
Another 500 Error oosiris Community Feedback & Technical Support 0 Sep 06, 2001 12:10 AM


All times are GMT -5. The time now is 05:49 PM.
Powered by vBulletin® — Copyright © 2000 - 2025, 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.