Ok, just finished trying to install ModX using a different system . But the same error ’ Checking if sessions are properly configured: Failed! " appears.
Now what?
dotcompals
www.world-click.com
Note : Again, please use explicit title for your posts like "Problem with sessions configuration upon install" rather than "Urgent Help Please" which are not helpful. It will help attract people who are knowledgeable in this area !
Quote from: dotcompals at Sep 18, 2006, 07:05 AMOk, just finished trying to install ModX using a different system . But the same error ’ Checking if sessions are properly configured: Failed! " appears.
Now what?
Which different system ?
I am by no means expert enough to explain it, but one thing I noticed comparing your phpinfo()
I have
session.use_trans_sid 0
while yours is
session.use_trans_sid On
session.use_trans_sid whether transparent sid support is enabled or not. Defaults to 0 (disabled).
URL based session management has additional security risks compared to cookie based session management. Users may send a URL that contains an active session ID to their friends by email or users may save a URL that contains a session ID to their bookmarks and access your site with the same session ID always, for example. -> see http://php.benscom.com/manual/en/ref.session.php
Also I have
session.bug_compat_42 On
While you have
session.bug_compat_42 Off
session.bug_compat_42 boolean
PHP versions 4.2.3 and lower have an undocumented feature/bug that allows you to initialize a session variable in the global scope, albeit register_globals is disabled. PHP 4.3.0 and later will warn you, if this feature is used, and if session.bug_compat_warn is also enabled. This feature/bug can be disabled by disabling this directive. -> See http://php.benscom.com/manual/en/ref.session.php
Edit : Oops, I should have read more carefully Paul’s post above, there is definitely a problem when session.use_trans_sid is set to On, but modifying config.inc.php won’t help for installation...
I suggest you follow up the thread from this message on :
http://modxcms.com/forums/index.php/topic,2658.msg50871.html#msg50871
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
I’ve merged two threads here, which looking back might actually not be that helpful. Ah well.
Has anyone had a server session configuration problem that they have successfully solved?
Quote from: Boby at Sep 18, 2006, 07:46 AM
If you cannot touch you php.ini you can do try to add a new writeable (chmod 777) folder somewhere on your account, if possible not in your DocumentRoot. Then in /manager/include.inc.php add this:
@ ini_set ('session.save_path', '/path/to/session/folder/');
Add it also to the install file...
Another alternative is to use a htaccess file command, but many hosters prefer to block changing PHP settings this way:
php_value session.save_path '/path/to/session/folder/'
Boby
Boby,
to which file I’ve to add this code ? @ ini_set (’session.save_path’, ’/path/to/session/folder/’);
/manger/include/ ?
dotcompals
www.world-click.com
-
MODX Staff
- 12,272 Posts
It probably should be to manager/included/config.inc.php
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
No luck. Again I got ’Checking if sessions are properly configured: Failed!"
dotcompals
www.world-click.com
Again . no luck.. I am going for someother options..
I still want to go for ModX if somebody here is ready to get ModX install it for me.
dotcompals
www.world-click.com
If you want me to take a look at it, just PM me FTP/Cpanel and DB login info and I will try tonight.
Boby