<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Failed to import file '/home/www/client/tmp/phpjmgKHK' to the file repository</title>
  <link>http://www.activecollab.com/forums/topic/1353/</link>
  <description>Recent posts on topic: Failed to import file '/home/www/client/tmp/phpjmgKHK' to the file repository</description>
  <dc:language>en-us</dc:language>
  <pubDate>Sun, 23 Nov 2008 14:04:44 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/8526/#post8526</link>
    <guid>http://www.activecollab.com/forums/post/8526/#post8526</guid>
    <title>Post #5 by Pallieter</title>
    <dc:creator>Pallieter</dc:creator>
    <description><![CDATA[<p>If I don't select a folder in the &quot;upload file&quot; form than $forced_path is &quot;/&quot;. This is in violation of the open basedir configuration. The full file system path should be prepended to the variable.</p>]]></description>
    <pubDate>Wed, 29 Aug 2007 19:46:41 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/6395/#post6395</link>
    <guid>http://www.activecollab.com/forums/post/6395/#post6395</guid>
    <title>Post #4 by interactive</title>
    <dc:creator>interactive</dc:creator>
    <description><![CDATA[<p>My &quot;ISP&quot; accepted to put off the open_basedir variable and now, I'm able to up files !<br />
Thanks for the help.<br />
<br />
One more thing, I have a problem of file page viewing when I up images.<br />
I'll get it with the search feature.<br />
<br />
Cheers<br />
Madani</p>]]></description>
    <pubDate>Mon, 05 Feb 2007 17:46:05 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/6312/#post6312</link>
    <guid>http://www.activecollab.com/forums/post/6312/#post6312</guid>
    <title>Post #3 by interactive</title>
    <dc:creator>interactive</dc:creator>
    <description><![CDATA[<p>Thanks for replying Ilija,<br />
<br />
<div class="postQuote"><blockquote>Other solution would be to hack force_mkdir function to start checking from installation path.</blockquote></div><br />
<br />
Do you mean the work around used by someone here in the forum ? The add of a $dr = $_SERVER['DOCUMENT_ROOT']; ?<br />
<br />
I tried this and it doesn't work for me.<br />
<br />
I asked the technical service to add the path &quot;/home/www/client/www/activecollab/upload/&quot; to the variable open_basedir.<br />
<br />
Don't know if it will solve the problem.<br />
At the end, I will force them to put it off but it's dangerous.</p>]]></description>
    <pubDate>Thu, 01 Feb 2007 13:00:14 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/6311/#post6311</link>
    <guid>http://www.activecollab.com/forums/post/6311/#post6311</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>The problem in this case is open_basedir restriction (force_mkdir starts checking from the root path, not from the installation path). Check out this page:<br />
<br />
http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir<br />
<br />
Other solution would be to hack force_mkdir function to start checking from installation path.</p>]]></description>
    <pubDate>Thu, 01 Feb 2007 11:33:40 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/6307/#post6307</link>
    <guid>http://www.activecollab.com/forums/post/6307/#post6307</guid>
    <title>Post #1 by interactive</title>
    <dc:creator>interactive</dc:creator>
    <description><![CDATA[<p>Hello,<br />
I know, it has been reported and I read a lot of &quot;solutions&quot;.<br />
I even tried to change the code in the file /environment/functions/files.php of the function &quot;force_mkdir&quot; and I'm not allowed to change any variable on mysql.<br />
<br />
It fails to upload any file of any size. My post_max_size php variable is 10 M.<br />
I use the file storage instead of mysql storage because I cannot increase the size of the desired variable in my.cnf<br />
<br />
Does anyone have a working solution of modification of this function to make it write in a allowed folder ?<br />
<br />
I think the problem comes from there, in the server, the variable &quot;open_basedir&quot; is set as :<br />
<br />
/home/awstats/data:/usr/local/lib/php:/usr/X11R6/lib/X11/fonts/truetype:/usr/local/bin:/home/www for local value and<br />
<br />
/home/awstats/data:/usr/local/lib/php:/usr/X11R6/lib/X11/fonts/truetype:/usr/local/bin:/home/www for master value.<br />
<br />
In the log.php, I can read this (before modifying ) :<br />
<br />
Session &quot;default&quot; started at 2007-01-31T18:38:28+0000<br />
#1 ERROR: Error: is_dir() [&lt;a href='function.is-dir'&gt;function.is-dir&lt;/a&gt;]: open_basedir restriction in effect.<br />
File(/) is not within the allowed path(s):<br />
(/home/awstats/data:/usr/local/lib/php:/usr/X11R6/lib/X11/fonts/truetype:/usr/local/bin:/home/www) in<br />
'/home/www/client/www/activecollab/environment/functions/files.php' on line 241 (error code: 2)<br />
#2 ERROR: Error: mkdir() [&lt;a href='function.mkdir'&gt;function.mkdir&lt;/a&gt;]: open_basedir restriction in effect.<br />
File(/) is not within the allowed path(s):<br />
(/home/awstats/data:/usr/local/lib/php:/usr/X11R6/lib/X11/fonts/truetype:/usr/local/bin:/home/www) in<br />
'/home/www/client/www/activecollab/environment/functions/files.php' on line 243 (error code: 2)<br />
<br />
<br />
and , after modifying :<br />
<br />
Session &quot;default&quot; started at 2007-02-01T09:43:21+0000<br />
<br />
#1 ERROR: Error: copy(/home/www/client/www/activecollab/upload/f052e/f68e1/9d911/57c53bbbbf79357e4713eb6b4) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory in '/home/www/client/www/activecollab/library/filerepository/backend/FileRepository_Backend_FileSystem.class.php' on line 170 (error code: 2)<br />
<br />
Time since start: 0.43748497962952 seconds<br />
<br />
<br />
Does anyone have a solution, please ? I'm really in need.<br />
<br />
<br />
My config :<br />
I paid for a server (linux platform) and I can ask for changes only on php.<br />
<br />
Thanks for helping</p>]]></description>
    <pubDate>Thu, 01 Feb 2007 09:56:58 UTC</pubDate>
  </item>
</channel>
</rss>