× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK...so *how* does this work if getmyuid doesn't exist in PASE? Does PHP provide it and the PHP engine place it in the path?

I'll give it a try and see if it fixes my issues as well. Interesting.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 12/10/2010 12:49 PM, Aaron Bartell wrote:
So my last ditch effort seems to have fixed it, but I am not entirely sure
why. I modified the /www/zendsvr/wp_aaron/wp-admin/includes/file.php file
to have some debug statements as follows:

if ( ! $method&& function_exists('getmyuid')&&
function_exists('fileowner') ){
echo 'DEBUG:step1';<--------------------------
if ( !$context )

echo 'DEBUG:step2';<---------------------------
$context = WP_CONTENT_DIR;

$context = trailingslashit($context);

$temp_file_name = $context . 'temp-write-test-' . time();

$temp_handle = @fopen($temp_file_name, 'w');

if ( $temp_handle ) {

echo 'DEBUG:step3';<----------------------------------------
if ( getmyuid() == @fileowner($temp_file_name) )

echo 'DEBUG:step4';<-------------------------------------
$method = 'direct';

@fclose($temp_handle);

@unlink($temp_file_name);

}

}


Doing an option 8 (Display Attributes) on file.php reveals it's owner is
QTMHHTTP - and it was that way *before* I modified it. So it would seem
that making a modification to file.php is what caused it to work correctly.
My *guess* is that PHP is looking at the timestamp of the file to know
whether or not to recompile it again, and at that time it might also cache
the owner. But does it hold a cache through a server restart? (which I have
done a number of times)

So it is now working, but I am not sure why.

Aaron Bartell
www.MowYourLawn.com/blog
www.OpenRPGUI.com
www.SoftwareSavesLives.com



On Fri, Dec 10, 2010 at 11:50 AM, Pete Helgren<pete@xxxxxxxxxx> wrote:

Don't forget to post back! I have the same issue and since I have a few
Wordpress sites running on my i I would like to get it resolved.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.