Anwiki CMS

Anwiki CMS : the first wiki/CMS dedicated to multilingual contents
| Tasklist |

FS#141 - Install fails when sessions path is writable but outside open_basedir

Attached to Project: Anwiki CMS
Opened by anw (anw) - Sunday, 31 October 2010, 11:28 GMT
Last edited by anw (anw) - Friday, 10 February 2012, 01:01 GMT
Task Type Bug Report
Category Core
Status Assigned   Reopened
Assigned To anw (anw)
Operating System All
Severity Low
Priority Normal
Reported Version Anwiki 0.2.4
Due in Version Anwiki 0.2.5
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Before installing Anwiki, the system makes sure that sessions path is writable.
Unfortunately, when a server uses "open_basedir" restriction and when sessions path is outside, Anwiki will call is_writable() on the session_path which will throw a warning "open_basedir restriction in effect" and will return false, even when the sessions path is writable in fact and works correctly.

I suggest to not perform the is_writable() test when open_basedir is set. So we won't be able to detect that sessions path is not writable in such case, but we also won't block Anwiki installation on "false positives" setups.
This task depends upon

Comment by samson (samson) - Friday, 10 February 2012, 01:01 GMT
  • Field changed: Percent Complete (100% → 0%)
I think this test (is_writable) block installation when "session.save_path" is like :

tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15

It is my configuration.

Samson

Loading...