Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Login credentials passes then return to home page as guest  (Read 5992 times)

0 Members and 1 Guest are viewing this topic.

hammerexiledinreading

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

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.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Login credentials passes then return to home page as guest
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.