Re: [Webcollab-users] update 2.61->2.70 : can't log
Brought to you by:
andrewsimpson
From: Simon G. <sim...@sc...> - 2011-03-21 09:58:38
|
On 19/03/2011 08:11, Andrew Simpson wrote: > On Fri, 18 Mar 2011 11:14:01 +0100 > Simon GARESTE<sim...@sc...> wrote: > >> Hi, >> On an Ubuntu 9.3. >> >> I'm upgrading our version of webcollab from 2.61 to 2.70. As specified, >> I changed the config.php file, went on the site at mysite/setup.php, was >> asked to log as an admin, which I did successfully (meaning that the >> database is correct up to there), did not wish to create a new database >> since I had one already functioning, set up my configuration (below is >> the login part configuration), wrote changes in the file (successfully >> as well, everything was "tagged" OK, config.php was then with "N" for >> web_config). Then I get to the login page, enter my login/password (same >> as the ones I used as admin at first), and just can't log in, it gets >> back to the login page. I checked /var/log/apache2/mysite/error.log, >> where my apache configuration writes the stuff, nothing. >> > The debugging log will appear on the screen and be emailed to the admin. What you have done sounds to be correct, > though after that it is rather strange. > > When you say after login it just goes back to the the login page, does it go to an error message first, or just back to > the login page? > > 1. Attempted logins with either no username or password (or neither) will just go straight back to the login screen. > > 2. Failed logins will give an error first, then go back to the login screen. > > 3. Problems with the database will give an error message. > > If you do have the first option (1.) then it is either a problem with the index.php file (corrupted?), or that somehow > that the HTTP POST is not making it to WebCollab. Neither sounds very likely though. > > You could also try running update.php (it won't update, but it will run and verify your login), and changing the config > file to accept web logins and seeing if it will accept your login. > > Andrew Hi, I'm in the 1st option : when I try to log using my name (gareste, as defined in the database), the page just seem to refresh, no error message, no access denied, nothing (url then comes to /index.php?nologin=1). However, if I try using my email address, I'm redirected to the error message "access denied" (hence option 2). index.php corrupted : after downloading again the .tar.gz and extracting it, running a diff -ur only gives me some minor differences over the css parts, which I changed a bit to correspond to our colors, and over the config.php, of course. Used update.php, didn't change anything :( Didn't received anything to the admin mail. HTTP POST solution : unlinkely indeed, since I get the message in case of attempt of login with email address.. Any other suggestion? Thank you very much! Simon -- Simon Gareste Support& Development Engineer -- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex -- |