Evan Prodromou wrote:
> script
seems
> not to pass line 51 : wfProfileIn( "main-misc-setup" ); yet it
> passes successfully "include" lines, such as line 39
> include_once( "./LocalSettings.php" );
BV> Never seen anything like this.
It's ringing a very tremulous bell, actually. I can't remember what it
was, though. Perhaps a PHP thing? Maybe a memory problem?
Ah, that reminds me of one thing to check: make sure that PHP is set to
either *display* or *log* errors, and that you can get at the error log
if the latter.
Some hosting services disable error display because of security fears
(since error messages can include pathnames and other information
potentially useful to hackers). An include or include_once can fail if
the file is not found without stopping the script from running, while an
undeclared function call is always a fatal error.
Try putting at the top of index.php this call:
ini_set("display_errors", true);
Hopefully that will give a better clue what's going on.
-- brion vibber (brion @
pobox.com)