Re: Problem with the manual
| From: | Gabor Hojtsy | Date: | Fri, 14 Dec 2001 09:26:32 +0000 |
| Subject: | Re: Problem with the manual | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-7832@lists.php.net to get a copy of this message | ||
> I'm having some problems with the manual at no2.php.net.
> http://no2.php.net/manual/index.php returns this:
>
> Warning: stat failed for no (errno=2 - No such file or directory) in
> /home/www/n/nordheim/php/manual/index.php on line 5
> Warning: Cannot add header information - headers already sent by
> (output started at /home/www/n/nordheim/php/manual/ index.php:5) in
> /home/www/n/nordheim/php/manual/index.php on line 8
>
> it tries to check if the dir $lang (defined by default_language()), in
> this case beeing "no", exists.. and it doesn't...
>
> First of all, shouldn't there be a no-directory here?
If there would be a "no" translation, there would be a "no" dir.
But at least as I know there is no "no" translation.
> If not, perhaps prevent any output from the is_dir-function on line 5 on
> /manual/index.php so this error doesn't occur?
Thanks for your report, Jim corrected the scripts in connection with
this problem.
Goba [one webmaster@php.net]