Ticket #277 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Cant login

Reported by: kuze Owned by: mbonetti
Priority: normal Milestone: Gregarius 0.5.5
Component: BUGS Version:
Severity: normal Keywords:
Cc: sameerslists@…

Description

After doing a checkout of the newest revision (former revision older than the 1021 changeset), Im able to provide an admin pass, yet I fail to login with it. No error message is being displayed, the login button seems to be not functional.

When creating a new database, everything works just fine.

Using SQLite.

Change History

Changed 4 years ago by kuze

I suspect that I made a typo when providing the admin pass, but Im not sure. Any feedback by gregarious would be nice, and so would be a password verification.

Changed 4 years ago by sdcosta

No it is probably not an incorrect password, I have seen this problem also using mysql. There is no need to re-install the database. It starts working again after an hour or so. I suspect it because some tables are not getting created when you svn up and directly start using gregarius.

Changed 4 years ago by ymehui at yahoo sot com

I am seeing the same problem after update from SVN.

But the problem persist in my case. I click the login link and a small login box appear. I input the login/passwd, it briefly saying "login as admin", then return to "Not logged in".

Changed 4 years ago by sdcosta

I suspect that after an svn up a call to checkSchema is needed. It should automatically be invoked if we get a missing tables error from mysql, but for reason it isn't happenning. I didnt have this problem while going from 0.5.2 directly to the latest version [1029] of the subversion tree.

Make sure you are svn'ed up to the latest version and can you delete your gregarius cookies and see if this error goes away?

Changed 4 years ago by sdcosta

Ymehui, I think you have a different problem. What happens when you click the admin button? Can you try to log in via the admin section instead of the mini-login form?

Changed 4 years ago by tsugliani

I resolved this by using directly the admin "url", as http://myip/gregarius/admin/

It just asked me to re-enter a Login/Password.

Maybe that helps.

Changed 4 years ago by ymehui at yahoo dot com

I can't login from the admin seection as well.

sdcosta, what is the cokkie name I am looking for?

Changed 4 years ago by kuze

Deleting coocies doesnt help in my case. And since Im using SQLite, the table users is being created on the first launch of gregarius. I tried deleting the table, so it can be created again, but now the database just complains about the nonexistant table.

Changed 4 years ago by sdcosta

  • cc sameerslists@… added

@ymehui It was talking about the admin cookie that your domain sets when you visit gregarius. Also hit shift-reload in your browser every time you svn up. If that does not work, I suggest you roll back your SVN version to before [1029], till we find and fix this problem.

I dont know how we will fix this problem if we cannot reproduce it. Any ideas Marco? I had this problem briefly when I svn'ed up but it went away before I could debug it.

Changed 4 years ago by sdcosta

Sorry, I meant roll back to SVN version before [1020]

Changed 4 years ago by mbonetti

I'm trying to debug here as well, but everything seems to be working fine for me. Here is how I've tested:

  • reverted to revision [1019]: svn up -r 1019
  • edited dbinit, switched to SQLite, specified a new db prefix
  • went to index.php -> tables created
  • went to admin/ -> logged in with information from rss_extra.php
  • added a feed, went to home -> was still logged in
  • updated to [1032]: svn up
  • went to index. Shift-reloaded to make sure the new ajax javascript was loaded
  • went to admin -> provided an admin login/pass -> logged in in admin

And everything worked as expected.

That being said, the admin login screen currently doesn't provide any feedback on failed login, I'm working on this :)

Changed 4 years ago by anonymous

I did the same; reverted to 1019, created a new db, imported the old OPML, updated to 1034, provided a new admin pass: works like a charm. I couldnt reproduce the bug (?), so feel free to close.

Changed 4 years ago by kuze

me.

Changed 4 years ago by ymehui at yahoo dot com

I did a quick test. I roll back w/ svn up -r 1019 Things back to normal right the way.

BYW, I'm using MySQL, not SQLlite.

Also, I've been seeing funny thing before update as I can't really logout myself. I still login when I click at admin panel.

I hope that shine some more light to the problem....

Thanks in advance.

Changed 4 years ago by ymehui at yahoo dot com

The saga continues.....

Then I logout and svn update. The login box on the home page works, I can login. But then it's not working with the admin panel, the login box appears when I go to the admin panel, and I can't login to the admin panel.....

Changed 4 years ago by anonymous

more update... the problem persist after I login and logout a few more times..... not such the sequence of actions. But now even home page login didn't work, again.

I will rollback for now.....

Changed 4 years ago by sdcosta

ymehui, can you try all this with a different browser?

Changed 4 years ago by ymehui at yahoo dot com

I am running firfox 1.0.7 when I encounter the problem (on Win 2000)

I tried IE 6 and the login seem to work.

A few observations: - I saw is an runtime error has occurred @ line 6047 and 5931 with a "error: object expected"... not sure it's related.

- Also noticed that the page doesn't seem to reload properly, until I do a shift-reload... after then when I logout, the login box appears on the home page and I am able to login. Also the feeds/categories didn't reload properly unless I shit-reload

- Double-click to mark item read doesn't work in IE

Changed 4 years ago by mdodoo

Since some of the problems described here may have been caused by [1106], could the affected parties write back about whether they are still having problems?

Changed 4 years ago by sdcosta

  • status changed from new to closed
  • resolution set to worksforme

guess not.

Changed 4 years ago by ymehui @…

  • status changed from closed to reopened
  • resolution worksforme deleted

Sorry for the late response... very busy at work lately.

With the latest SVN code, it's still not working for me....

My setup: Fedora Core 4, apache 2.0.54, PHP 5.0.4

Each time when I login from the main page, the "Login as xxx" shows briefly, then refresh to "not login"

Changed 4 years ago by ymehui @…

Forgot to mentioned, I am using Firefox 1.0.7 on Windows 2000

BTW, it's working again after I rollback with svn up -r 1019

Changed 4 years ago by sdcosta

  • status changed from reopened to closed
  • resolution set to worksforme

can you svn all the way up and use the password resetter plugin http://plugins.gregarius.net/index.php?req=info&id=29 to reset your gregarius password. Please see the special instructions in that plugin.

Also. it would help immensely if you created a new test installation based on the latest nightlies or svn version and report if the admin password is still creating a problem.

I am closing this ticket for now. Please reopen it if things are still broken.

Changed 4 years ago by ymehui at yahoo dot com

  • status changed from closed to reopened
  • resolution worksforme deleted

I just fresh install a v0.5.4RC2 and still unable to login.... The 1st time I go to the admin area, it asks for admin login creation, but still no luck login. Maybe it's a setup specific problem?

I am running Fedora Core 3 (php 5.0.4, apache 2.0.54)

I am willing to do some debugging... but need to know what to do.

Rgds, admun

Changed 4 years ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in [1410] Thanks admun for the debugging help.

Note: See TracTickets for help on using tickets.