Thread: [Webcollab-users] update 2.61->2.70 : can't log
Brought to you by:
andrewsimpson
From: Simon G. <sim...@sc...> - 2011-03-18 10:41:11
|
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. Is there any place where you keep logs, have you any clue about how come it's not working? Where does the debug info go (not on my screen, apparently :p)? my virtual host for the site only contains (that might be relevant) <directory /path/to/mysite> Order allow,deny Allow from all AllowOverride All </directory> the login/error part of the config.php file : //session timeout in hours define('SESSION_TIMEOUT', 168 ); //Use external webserver authorisation to login (values are 'N', or 'Y') define('WEB_AUTH', 'N' ); //Show passwords in user edit screens as plain text or hidden ('****') (values are 'text', or 'password') define('PASS_STYLE', 'password' ); //Stop GUEST users from changing their login details or posting in the forums (values are 'N', or 'Y') define('GUEST_LOCKED', 'N' ); //ERROR DEBUGGER //If an error occurs, who do you want the error to be mailed to ? define('EMAIL_ERROR', 'sim...@sc...' ); //show full debugging messages on the screen when errors occur (values are 'N', or 'Y') define('DEBUG', 'Y' ); //Do not show full error message on the screen - just a 'sorry, try again' message (values are 'N', or 'Y') define('NO_ERROR', 'N' ); -- Simon Gareste Support& Development Engineer -- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex -- |
From: Andrew S. <and...@co...> - 2011-03-19 07:11:43
|
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 |
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 -- |