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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 12
Joined: Mon Jun 07, 2004 9:57 am

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.


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

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?


Code: Select all

if(isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['SCRIPT_NAME'])) {
echo "__FILE__ = " . __FILE__ . "<br />\n" .
"SCRIPT_NAME = " . $_SERVER['SCRIPT_NAME'] . "<br />\n" .
"HTTP_HOST = " . $_SERVER['HTTP_HOST'] . "<br />\n";



Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest