Login credentials passes then return to home page as guest Login credentials passes then return to home page as guest
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Login credentials passes then return to home page as guest

Started by hammerexiledinreading, May 30, 2010, 05:17:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hammerexiledinreading

History:
Upgraded to latest Ubuntu a few weeks back. Did not check if website was still working.
I found that tintin++ was not working. So I downloaded the source code and compiled the program. This required additional components, no idea what i was really doing, but I did get tintin++ to work.

Symptoms:
Then I noticed, that the website was failing.

The message "Warning your browser does not accept script's cookies" was on the login page. This was weird, since I tried with multiple different machines I knew that used to work on linux and Win XP.

I log in as a user or the admin account. It would redirect me back to the home page as guest. I checked the database and it was showing the user was getting the credentials verified, was looking at the timestamp changing.
I turned on logging on, and on the website, after using the username and password, the debug statements, does show the user id being verified.

I goggled everything, searched this forum, and no solution worked for me.

Solution:
Thinking back what I changed. Didn't think a new Ubuntu image would break the system, I thought back on what I installed for tintin++
I uninstalled all the modules downloaded for tintin++.

apt-get remove pcregrep libpcre3-dev libpcre-dev zlib1g-dev libssl-dev libpcre pcre

Restarted apache, and it still didn't work. So people out there, it's not tintin++ that caused the issue. (Only adding this here, since there is nothing in the search engines for tintin++ and coppermine).

Then I thought, ok. I did keep some original conf files when i upgraded.

In /etc/php5/apache2/conf.d/

I backedup my php.ini

cp -p php.ini.ucf-dist php.ini

restarted apache.

Everything is back to normal. So if folks upgraded to lucid recently and now your site is not working, it may help to check your "ini" files.



Joachim Müller

...and in which aspect are your webserver / operating system issues relevant as far as Coppermine is concerned? If you have actual questions, do as suggested per board rules.