[wp-trac] [WordPress Trac] #8668: Plug-in/Core update doesn't work - Unable to locate WP Content directory
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 5 16:05:30 UTC 2010
#8668: Plug-in/Core update doesn't work - Unable to locate WP Content directory
-------------------------------+--------------------------------------------
Reporter: cwiltgen | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Upgrade/Install | Version: 3.0
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment(by ocean90):
''get_temp_dir()'' returns ''/var/www/web39/phptmp/''. And that is my
''upload_tmp_dir''
The problem, is that ''tmpfile()'' doesn't use the temp dir which
''get_temp_dir'' returns. It use /tmp. But this directory is not in my
open_basedir list. [[BR]]
Here are some sites, which explain the problem:
* http://bugs.php.net/bug.php?id=40141
* http://php.net/manual/en/function.tmpfile.php#74623
* http://www.codingforums.com/showthread.php?t=146437 [[BR]]
So, I don't know if we can fix it in the core, eventually do not use
tmpfile()?[[BR]]
But I contacted also my webhoster, if they can add the tmp directory to
open_basedir. Wait for an answer and then I check it again.[[BR]]
But if it works by me then, then its not fixed globally, only for me and
some other users from my webhoster and not for
[http://www.google.com/search?hl=en&q=define('WP_TEMP_DIR',+ABSPATH+.+'wp-
content/tmp'); other users].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8668#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list