View Single Post
 
Old Jun 09, 2001, 11:44 AM
kalico kalico is offline
Junior Member
 
Member Since: Jun 2001
Posts: 11
> the console is the problem now - there is no link to it. or, rather the link is no good. i get
> a 404 because there is no such page as 'http://www.akacooties.com/cgi-bin/oj/' (no
> document name).

I have a solution to this one! I am not sure if this will cause any trouble later on, but I found where it's being generated....

About line 315 in oj.cfg (I've made some changes, so it's close to that area, but not exactly) you'll find this:

(It starts with some commands that I can't print here because they get converted as html)
a href=\"$script_link\">Back to the OpenJournal console

That $script_link is the root of the problem. It isn't defined properly anywhere that I could see (it is defined in different ways at different times), so I added a line around line 144 as follows:

$script_link = "$base_url$cgi_url";

But because of the other places where it's defined, I'm afraid this might cause trouble later. But I'll keep you all posted.

Marci

Thanks for this!
thickntired