-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New install, can't log in - just get the login page #1145
Comments
Thanks a lot for such detailing your issue. :)
Did you try SQLite so that we can exclude a database issue ?
Maybe set your error level to E_ALL to catch them.
You need to activate debug mode into the In that same file, you will find a constant named Finally, after trying to log in, do you have any cookies saved (there should be Hope we manage to fix this this time. |
I'm having trouble making it work with SQLite at all—can't get the install to complete. In light of the next few results, though, I think it's likely not a database issue. I can try to make it work with sqllite if you think it's helpful, though. I've enabled debug mode in
I also set the app error level to E_ALL, and PHP-FPM is logging the same debug messages in Nginx's error log. Looks like this:
Also made sure per your note to set the HTTP_PORT constant to 8881; didn't see any change (including actually using :8881 in the address bar to hit nginx directly). I am definitely not seeing any cookies set; I tried in both Chrome and Safari to make sure it wasn't a specific browser acting weird. In Chrome, I'm set to "Allow local data to be set" and the option to block 3rd party cookies is un-checked. I've got hhvm handy—I suppose I could try switching to that away from php-fpm to see if that might change anything. |
Hmm, no, looks like swapping to hhvm isn't an option because there's no support for gettext built into the default ubuntu repo install. I'd have to go hunting to see if hhvm supports it. |
Well, holy crap, it works with hhvm. Support for tiny isn't yet available, but gettext support in hhvm can be enabled by turning on the zend compatibility layer setting. Once I did that, the installation completed and I was able to log in. The
I see a wallabag cookie in the browser, too. So the big question is, what's PHP-FPM doing that it doesn't like wallabag?! |
On my computer, I have nginx that works wth PHP-FPM, so it must be a configuration issue. |
What I did to make it work :
My vhost is very much like the default one, not much modifications.
Any differences you could spot ? I'm not familiar with nginx or php-fpm. |
It might be an issue with the split path statement, but I'm kind of baffled as to why I can literally just change my Will poke around some over the next hour with the path and a few other params in the nginx config and see if I can make anything change. |
Have you tried uwsgi 2.0.x instead of php-fpm? It's working well with nginx and Ubuntu 14.04 here 😄 |
I've been unable to make this work, sadly, even after experimenting with a bunch of different settings. Switching to uwsgi isn't an option since this is a production web server running several other php sites; I don't want to screw with my configuration too much. It's got to be something in my php configuration, but I'm clueless as to what it could be; It's pretty close to stock. I'll see if I can compile a list of non-default settings in my php.ini file and my fpm pool configuration today or tomorrow and post them. |
Please post a phpinfo() eventually too. Hope we manage to fix this ! |
Good idea—phpinfo() output can be viewed here. |
Hello, |
Can you post a phpinfo() too ? What database system are you using ? Did you fill all the database informations correctly ? |
I am running MySQL, database is setup correctly. User seems to be created as well. When I enable registration, new user is created but no pop-up about successful user creation will appear. |
Hmm. At first look I don't have a clue. Can you set your error level to E_ALL in your php.ini file to catch eventual errors while trying to register (don't forget to reset it afterwards !) ? |
Unfortunately no output in apache error_log or site :-/
|
Thanks. Quite bothering. Guess it's just a silly thing. However, I don't think we'll take time to try to reproduce the issue since the next version* (v2) handles things completely differently. Please excuse us and wait a little. ;) * You are very welcomed to give it a go to see how things go in your particular case, even if it's in alpha state. |
Thank you anyway, I will surely check v2 :-) |
This issue affects wallabag v1. This version won't move anymore. |
Same symptoms as issue 1040—new installation, and after installation, I'm directed to enter my credentials at the login screen. Doing so results in the login screen again. Installation indicates all prerequisites are satisfied and no errors are displayed on screen at any point, including after the login page is re-displayed.
Environment:
Ubuntu 14.04 server
Nginx 1.7.10
PHP 5.6.6 (using PHP-FPM)
Varnish 3.0.6
Have tried current versions of Firefox, Chrome, and Safari. Results are the same.
Have tried installing Wallabag via downloading latest.zip and also via composer; results are the same.
Have tried using MySQL (actually MariaDB 10.0.17) and PostgreSQL (9.3); results are the same.
Have tried using HTTP or HTTPS (completely bypassing Varnish); results are the same. Even disabled Varnish completely and tried with HTTP that way; results are the same.
No errors (or any messages at all) register in the PHP log file.
No
log.txt
exists anywhere beneath the wallabagcache
directory.Nginx access log just shows a post and a get:
No errors are displayed in the Nginx error log (except for one complaining about a missing favicon).
The MySQL (or postgresql) database I create does get populated with starter values from the install; I see several tables (config, entries, tag, tag_entries, users, and users_config) and most of them have at least one row.
PHP-PFM does appear to be working. The login form is displayed, obviously, and when I supply invalid login credentials, I receive an error from the wallabag application in the nginx error log:
For reference, here's the nginx vhost configuration I'm using. The HTTP side is listening on 8881 because Varnish is on port 80.
I've also got a pass statement set in varnish's
sub vcl_recv
so that it stays out of the way for now. Plus, of course, when I'm using HTTPS it's not a factor.Is there any additional information I can supply that would assist in troubleshooting?
The text was updated successfully, but these errors were encountered: