forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: hammerexiledinreading on May 30, 2010, 05:17:39 pm

Title: Login credentials passes then return to home page as guest
Post by: hammerexiledinreading on May 30, 2010, 05:17:39 pm
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.


Title: Re: Login credentials passes then return to home page as guest
Post by: Joachim Müller on May 31, 2010, 08:00:55 am
...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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).