Interspersed reply.
Brion Vibber wrote:
It would be really helpful to get some more details of
your setup; for
instance, is the username that you use to access MySQL
'root-equivalent' or nearly so? Do you have GRANT OPTION privileges
(ie, the ability to create new usernames) or is that the only username
you're allowed to use?
First, let me thank you for replying (!!). Yes, this is the only
username I am allowed to use.
If it's the only one you can use, then you
shouldn't be providing a
root password; you should provide the username and password for "DB
username" and "DB password". Can you confirm that this doesn't work,
or that you do have GRANT OPTION privileges and can create the newly
named user?
Yes, I roger. Entering administrative password in the actual script, and
entering no password whatsoever evokes the same 'hanging' effect.
Does it hang in an active state, or does it halt immediately at that
point and cut off output? If active, does it eventually time out? Have
you checked the timeout limit in PHP? Have you checked your PHP error
log? Is PHP set to log errors? Does adding these lines near the top of
config/index.php help:
error_reporting( E_ALL );
ini_set( "display_errors", true );
It hangs as though a page load is occuring, and stops approx 20 seconds
later (timeout?). No, I haven't checked timeout limit, nor do I know
where my php error log is, nor do I know if php is set to log errors.
I did insert those lines at the top of index.php, and nothing different
happens.
?
Can you confirm that it hangs prior to the return? If you change it to
a variable set ($x = "blah..."; echo "still alive"; return $x) does
it
hang before or after that point? Is it right at the end of the
function or is it in the eval() of the returned text which comes a
couple lines after the function is called?
If echo is put before the return, echo is visible;
afterwards--invisible. Subsequently, after the function is called ($blah
= function()), echo doesn't launch.
-- brion vibber (brion @
pobox.com)
Thank you^10.
-steve