Stephen Yeago wrote:
I encountered the common problem of users who do not
have MySQL root
come onto, despite the fact that the config index says that its not
neccessary so long as a user/pass to MySQL is given.
[snip]
* MySQL error 1045: Access denied for user:
'root(a)infong223.kundenserver.de' (Using password: YES)
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?
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?
If you do have GRANT OPTION privileges and can do GRANT statements to
create new user accounts, we'll try to accomodate this.
Checking environment...
* PHP 4.3.6 ok
* PHP server API is cgi; using ugly URLs (index.php?title=Page_Title)
* Have zlib support; enabling output compression.
* Found GD graphics library built-in, image thumbnailing will be
enabled if you enable uploads.
* Installation directory: /homepages/22/d94944393/htdocs/yeago.net/wiki
* Script URI path: /wiki
-----------------------
Yep, that's as far as it gets. It hangs and never spits out any local
settings. But by using the "echo 'here'" method, I was able to trace
the
hanging to the return statement inside writeLocalSettings()
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 );
?
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?
-- brion vibber (brion @
pobox.com)