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
|