OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



login bug in 1.1.8

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

login bug in 1.1.8

Postby blake » Tue Dec 14, 2004 12:47 pm

After installation of 1.1.8 we were initially working fine. We made a slight change to the mountpoint of the www directory, now although many main menu functions worked, login redirects me to an invalid url. Traced problem down to line 147 of common.php. If you replace

if(isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['SCRIPT_NAME'])) {

with if(0) {

the problem goes away.

Blake
blake
 
Posts: 12
Joined: Mon Jun 07, 2004 9:57 am

Postby kevin » Tue Dec 14, 2004 6:24 pm

If possible, could you try adding a debug statement to that problematic block of code and send us the output when you try to login, so that we can properly fix it?

E.g.,
Code: Select all
if(isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['SCRIPT_NAME'])) {
echo "__FILE__ = " . __FILE__ . "<br />\n" .
"SCRIPT_FILENAME = " . $_SERVER['SCRIPT_FILENAME'] . "<br />\n" .
"SCRIPT_NAME = " . $_SERVER['SCRIPT_NAME'] . "<br />\n" .
"HTTP_HOST = " . $_SERVER['HTTP_HOST'] . "<br />\n";

...
}


Thanks
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests