You are viewing the PKP Support Forum | PKP Home Wiki

Can't Login to the Admin Page

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

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.

Can't Login to the Admin Page

Postby wiesel » Thu Nov 14, 2013 4:16 am

i start to install OMP.

I use SLES 11 SP3, PHP 5.4.20, MySQL 5.5.33, Postgres 9.1.9 and Apache 2.2.12.

UPDATE with Postgresql Solution: I found the correct pg_hba.conf configuration.
Now it's possible to install OMP with Postgresql, but after the Installation i got on the front page this message:

DB Error: FEHLER: Wert zu lang für Typ character varying(40)
Translation: DB Error: ERROR: value too long for type character varying (40)

If i install OMP with Mysql it works.

After the installation process i get the log in prompt.

I enter my credentials and get the log in prompt again without error message on the website.
If i write wrong credentials in the prompt i get an error message (wrong username/password).

If i look in the apache error.log i see this message after login.

[Thu Nov 14 11:55:29 2013] [error] [client [IP]] omp has produced an error\n Message: WARNING: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php5)
\n In file: Unknown\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.4.20\n Apache Version: Apache/2.2.12 (Linux/SUSE)\n DB Driver: mysql\n DB server version: 5.5.33, referer: http://test-webseite.com/index.php/index/login

/var/lib/php5 is existing.

What can i do to solve this problem.

Best regards
Posts: 1
Joined: Thu Nov 14, 2013 3:42 am

Re: Can't Login to the Admin Page

Postby asmecher » Thu Nov 14, 2013 9:08 am

Hi Wiesel,

If you're using a session hash function that results in a longer hash than 40 characters, the session ID will not be long enough to store it. You can safely alter the sessions table to extend the session_id column beyond 40 characters, depending on your PHP hash function configuration.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest