<![CDATA[ Cant login to my manager :/ [modx 2.0 beta 3] - My Forums]]> https://forums.modx.com/thread/?thread=28866 <![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155357 Quote from: Jacob at Sep 05, 2009, 06:35 PM

Quote from: OpenGeek at Sep 05, 2009, 06:22 PM

(unless someone else provides a patch first) smiley

Don’t look at me like that wink
I might feel motivated to contribute to the project some time later but I need to understand the framework some more first.
I really just meant anyone, not specifically you. You’ve done your part! grin

Just FYI, this issue can be tracked at http://svn.modxcms.com/jira/browse/MODX-1207]]>
opengeek Sep 05, 2009, 01:38 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155357
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155356 Quote from: OpenGeek at Sep 05, 2009, 06:22 PM

(unless someone else provides a patch first) smiley

Don’t look at me like that wink
I might feel motivated to contribute to the project some time later but I need to understand the framework some more first.]]>
jacob733 Sep 05, 2009, 01:35 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155356
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155355 Quote from: Jacob at Sep 05, 2009, 06:17 PM

Just tried it. The one that changed it all is session.hash_function = 0. Seems Revolution needs MD5 (hash_function=0) hashing and cannot use SHA-1 (hash_function=1). Nice to finally get an explanation.
Indeed; thanks immensely for narrowing that down and finding this. I’ll enter a ticket in Jira and research this problem as soon as I can (unless someone else provides a patch first) smiley

Cheers!]]>
opengeek Sep 05, 2009, 01:22 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155355
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155354
The differences in php.ini turns out to be from some tweaking I did earlier, especially on the laptop to test some security-related stuff. Seems I forgot some of that again undecided]]>
jacob733 Sep 05, 2009, 01:17 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155354
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155353
BTW, if these are both stock installs, why is the php.ini different?]]>
opengeek Sep 05, 2009, 01:02 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155353
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155352 89c89
< precision = 12
---
> precision = 14
267,268c267,268
< max_execution_time = 120 ; Maximum execution time of each script, in seconds
< max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
---
> max_execution_time = 240 ; Maximum execution time of each script, in seconds
> max_input_time = 240 ; Maximum amount of time each script may spend parsing request data
317c317
< error_reporting = E_ALL
---
> error_reporting = E_ALL | E_STRICT
371c371
< ;html_errors = Off
---
> html_errors = Off
966c966
< session.use_only_cookies = 1
---
> ; session.use_only_cookies = 1
1021,1022c1021,1022
< session.bug_compat_42 = 0
< session.bug_compat_warn = 0
---
> session.bug_compat_42 = 1
> session.bug_compat_warn = 1
1060c1060
< session.hash_function = 1
---
> session.hash_function = 0

edit: some more info can be seen here:
laptop/bad setup http://jacob.larsen.net/phpinfo.html
server/good setup http://jacob.larsen.net/phpinfo.php
]]>
jacob733 Sep 05, 2009, 12:50 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155352
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155351 jacob733 Sep 05, 2009, 02:57 AM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155351 <![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155350 The errors seen on google on Ubuntu all relate to earlier versions of Ubuntu. These releases needed extra customization to get pdo_mysql installed, and it had to happen through PEAR. In Ubuntu 9.04, everything is installed through the php5-mysql package and enabled per default. Of course that does not mean that it Just Works(TM) but at least it is supposed to be easier.

What is weird is that the INSERT query works (I can see the data shows up in the table), but SELECT does not return the correct result, since the data obviously exists in the table but the result set is empty. Of course, I can see that the select query is more complex than INSERT here, so it might be more sensitive to settings on my system.]]>
jacob733 Sep 05, 2009, 02:46 AM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=4#dis-post-155350
<![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=3#dis-post-155349 opengeek Sep 04, 2009, 05:22 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=3#dis-post-155349 <![CDATA[Re: Cant login to my manager :/ [modx 2.0 beta 3]]]> https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=3#dis-post-155348 splittingred Sep 04, 2009, 03:44 PM https://forums.modx.com/thread/28866/cant-login-to-my-manager-modx-2-0-beta-3?page=3#dis-post-155348