stephenfewer / grinder

Grinder is a system to automate the fuzzing of web browsers and the management of a large number of crashes.
BSD 3-Clause "New" or "Revised" License
415 stars 131 forks source link

Login not working on Grinder Server #27

Closed vvvverre closed 10 years ago

vvvverre commented 10 years ago

Hi,

I seem to be having some issues with getting started with Grinder. I just installed Grinder Server, following the instructions. After running the install script, which seemed to work just fine, I tried logging in, but the login does not seem to work. When I enter my login details the page appears to refresh, but it keeps showing the login form.

I can find the session cookies that are created for the session, and an entry is added to the login table in the database. Those parts appear to work just fine. The page then appears to reload (as expected, I believe), but just keeps showing the login form.

I am running Grinder Server on a localhost, set up with XAMPP on Windows 7 Home Premium (x64) on a VM. XAMPP was started with adminstrative rights. I tested the login using both Chrome and IE8.

Does anyone know what might be wrong with my setup that is causing this issue?

Thanks in advance for any help!

ryanbaxendale commented 10 years ago

You might need to change the IP address to your server's IP address in the config.php file session_set_cookie_params( 60 * 60 * 24 * 7, '/grinder/', '192.168.1.2' ); then browse to http://192.168.1.2/grinder/

vvvverre commented 10 years ago

Yes! That solved the problem, thanks!

Would you happen to know why 'localhost' does not work but the server's IP address does?

Jasonrw commented 10 years ago

I've meet the same problem, so...very glad to see this:-D

stephenfewer commented 10 years ago

Not sure why localhost doesnt resolve for you but closing this ticket as using the IP address is a good solution, thanks @ryanbaxendale