session path: how to? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: session path: how to? (/showthread.php?tid=4402) |
session path: how to? - Connie - 2013-03-01 well, I run into a problem with the plugin MLS Newsletter and the hoster's support (Alfahosting) told me that I have to modify the session-path in the script. /tmp is not in reach of the script. the path for my client's account is /var/www/xxxClientAccountxxxx/phptmp I need to define that because I have to enable this plugin and I do not know how to define the session path. I ask here, because I got no answers in the dedicated plugin thread and I think it is a general topic as well friends, this is my 2504th post here in the forum, very seldom I asked for support, so please now it's your turn: give me support, please ================= GS 3.2 PHP 5.2.17-0.dotdeb.0 everything in the green range at server health check RE: session path: how to? - E.Eliveld - 2013-03-01 Are you using session.save_path? RE: session path: how to? - Connie - 2013-03-01 (2013-03-01, 19:59:13)E.Eliveld Wrote: Are you using session.save_path?well the error message is: Code: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/xxxxx/html/:/var/www/xxxx/phptmp/:/var/www/web509/files/:/var/www/xxxx/atd/:/usr/share/php/) in /var/www/xxxx/html/plugins/mld-newsletter/swift/preferences.php on line 15 and this preferences.php says this: PHP Code: // Without these lines the default caching mechanism is "array" but this uses so that's where the error comes from, but I do not know where and how to define a better path ;=) RE: session path: how to? - E.Eliveld - 2013-03-01 Is'nt like that in the tmp folder you can put a .httaccess with: php_value session.save_path /document_root/domain.com/htdocs/www/tmp RE: session path: how to? - Connie - 2013-03-01 (2013-03-01, 21:02:47)E.Eliveld Wrote: Is'nt like that in the tmp folder you can put a .httaccess with: I see that this is such a general setting that I ask the hoster's support to tell me a correct .htaccess-setting for the domainroot and for the new tmp-folder inside the html-structure RE: session path: how to? - E.Eliveld - 2013-03-01 (2013-03-01, 21:34:31)Connie Wrote:(2013-03-01, 21:02:47)E.Eliveld Wrote: Is'nt like that in the tmp folder you can put a .httaccess with: In the phpinfo you can find the curent value for session.save_path. To find the server path use $_SERVER['DOCUMENT_ROOT']. BTW now i think of it, the value should be set in the ROOT .httaccess (and off course set the folder to chmod 775) RE: session path: how to? - Connie - 2013-03-02 I know the path but the server is configured in a way that open basedir restrictions prohibit the use of that tmp-folder I am struggiling with the hoster to get a functional configuration but they are not very helpful If I google for that hoster's name and "session path" I find a lot of troubled people My clients choose this hoster in good trust, for sure, and now they are not very helpful I will recover from this problem at the weekend and will start again on monday ;=) RE: session path: how to? - shovenose - 2013-03-04 Switch to ShoveHost! Guaranteed to work with GetSimple CMS - 100% Compatible! Hosting servers are in the east coast of USA (Florida, to be precise), so you should have no trouble with connectivity to Europe. RE: session path: how to? - Connie - 2013-03-04 Shove, I thought of that, but I cannot decide for my client ;=) thanks for the proposal |