| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Wordpress "missing A Temporary Folder" Issue
#1
Posted 20 March 2010 - 08:36 PM
I tried a lot of google searching and tried to fix this issue with the procedure explained in the tutorials but it is not working. I don;t know if i have to contact xisto support for this. So trying to get this solved here as of now..
I tried some fixes like
http://www.dwightjack.com/diary/2009/01/04...ss-27-uploader/
http://wordpress.org...rt/topic/269301
and there is no success for me. i don't know what to do now to sort this issue. i can't upload any image or media to my posts because of this. new install also gives same issue for me.
any idea how to fix this ?
#2
Posted 20 March 2010 - 09:15 PM
maybe there's a bug in the new upgrade. i suggest you revert back to your backup and stay with it as that was more secure than when you tried to upgrade.
#3
Posted 21 March 2010 - 12:59 AM
function _getTempDir()
{
$tmp_locations = array('/tmp', '/var/tmp', 'c:\WUTemp', 'c:\temp',
'c:\windows\temp', 'c:\winnt\temp');
/* Try PHP's upload_tmp_dir directive. */
$tmp = ini_get('upload_tmp_dir');
/* Otherwise, try to determine the TMPDIR environment variable. */
if (!strlen($tmp)) {
$tmp = getenv('TMPDIR');
}
/* If we still cannot determine a value, then cycle through a list of
* preset possibilities. */
while (!strlen($tmp) && count($tmp_locations)) {
$tmp_check = array_shift($tmp_locations);
if (@is_dir($tmp_check)) {
$tmp = $tmp_check;
}
}
/* If it is still empty, we have failed, so return false; otherwise
* return the directory determined. */
return strlen($tmp) ? $tmp : false;
}
If ini_get() is returning something presumably useful, then you may want to consider overwriting upload_tmp_dir with ini_set(). This would, of course, require editing the Diff.php file. Have upload_tmp_dir point to your tmp directory above your public_html directory. If this doesn't help, then you'll have to continue your research.
#4
Posted 21 March 2010 - 06:18 AM
@truefusion, edited php.ini in the root and pointed upload directory path to tmp folder. But still it is giving me some trouble. found many other wordpress user having the same issue but few got it resolved somehow but i can't get it solved. i made a ticket to xisto, just in case if they can help with that.
#5
Posted 21 March 2010 - 10:19 AM
mahesh2k, on Mar 21 2010, 02:18 AM, said:
By the way, editing the php.ini file requires the server to be restarted in order for changes to take effect (at least that is what i can derive from here). For that reason ini_set() should be used. So unless you can restart Apache from your end, editing php.ini is almost futile.
By the way, the WordPress file i pointed to in my previous post, it seems, was not the file that was supposed to be edited. I'm not sure which one might help, but maybe wp-admin/includes/file.php or wp-admin/includes/import.php.
#6
Posted 21 March 2010 - 11:56 AM
if you find a solution please let us know , good luck.
#7
Posted 21 March 2010 - 06:10 PM
#8
Posted 26 March 2010 - 04:42 PM
#9
Posted 26 March 2010 - 04:59 PM
#11
Posted 26 March 2010 - 07:09 PM
#12
Posted 26 March 2010 - 08:48 PM
otherwise, if you are going to install wp again and use the same folder, you might just try overwriting and see if that might work? also, sometimes when i can't delete a folder, i delete all files in the folder first, and then sometimes that allows me to delete the folder.
mahesh2k, on Mar 26 2010, 02:09 PM, said:
#14
Posted 27 March 2010 - 02:05 AM
mahesh2k, on Mar 26 2010, 03:09 PM, said:
#15
Posted 27 March 2010 - 05:16 AM
Another way to quickly resolve this issue is to install a fresh one from your cPanel. They are outdated version, I know. Then upload updates and install them. In the past, installing another from cPanel resolved the issue of running the WordPress and upgrading with newer files have solve the issue you described.
Let us know how it goes.
#16
Posted 27 March 2010 - 06:51 AM
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















