installation/login error [HELP!?!]
Running on an Nginx server from a subdirectory /forum/ - i emulated the rewrite rules - all is well.
I installed fresh from github as of today - but after i finished the install, added my Admin account
I come to a 'you dont have permission to view this resource' page.
When i then try to login - i am not met with any error - in fact the login works fine (validation, etc...), however when i am sent back to the 'home' page and there is no evidence of having logged in, no menus are different - still says 'howdy stranger'. the database tables are updated showing i DID login - however the session isn't sticking.
Any suggestions?
*UPDATE*
this is the issue
http://github.com/lussumo/Garden/issues#issue/11
see end of thread for solution.
I installed fresh from github as of today - but after i finished the install, added my Admin account
I come to a 'you dont have permission to view this resource' page.
When i then try to login - i am not met with any error - in fact the login works fine (validation, etc...), however when i am sent back to the 'home' page and there is no evidence of having logged in, no menus are different - still says 'howdy stranger'. the database tables are updated showing i DID login - however the session isn't sticking.
Any suggestions?
*UPDATE*
this is the issue
http://github.com/lussumo/Garden/issues#issue/11
see end of thread for solution.
0
Comments
It worked fine afterwards. I meant to create an issue for this after having reproduced all the steps, but I completely forgot
the first user i created has admin rights (checked both tables in the db).
i think the problem is a session or cookie storing error. this happens in all browsers. the login is successful but it acts as tho i didn't login.
And you're right, seems to be a cookie issue.
Check with firebug and such to find out what's going on.
Any ideas on why nothing is being set? I have pulled from the latest github master.
Pretty confused by this now - - - I've tested it on multiple machines and on about 5 different browsers.
Any ideas what is going on here?
Actually - I was doing some testing in Opera - and i see that the cookie IS being sent AND stored. That' throws out the cookie problem - what is going on?! why won't the dashboard display - or any other changes the show i've logged in? (even tho i have according to the cookie and the DB)
_no one_ has any ideas here?
I reverted that file back to the commit that you reported it working on - but it actually didn't change my problem at all.
===
I just reinstalled from github. The problem persists.
===
Right after filling in the fields during installation - i see the url change from /step/2 to /step/3 to /step/4 or whatever - and then i land on "you dont have permission to see this" - assumingly because it is redirecting me to an admin interface ~ however my login doesn't take. If i login after this - i am met with the same problem. It will report a bad login - but a successful one will not allow me to view the dashboard or anything else.
I would suggest you try installing that one and clear all your cookies.Let me know how you go!
Just tried again - this didn't fix. i think the difference between our problems is that you were having the same default route show up - i can navigate anywhere fine, its just when i login - it will still say 'sign in'
Sadly i am running out of time with this problem - if anyone has some other suggestions, i'd appreciate the help here.
http://github.com/lussumo/Garden/issues
http://github.com/lussumo/Garden/issues#issue/11
this is fixed by editing /conf/config.php
$Configuration['Garden']['Cookie']['Domain'] = 'domain:port';
to:
$Configuration['Garden']['Cookie']['Domain'] = 'domain';