[dokuwiki] Re: My dokuwiki pops out wanring and error messages on the top of web page

  • From: "Sam Wilson" <sam@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 22 Mar 2013 11:40:06 +0800

On Fri, March 22, 2013 11:29 am, 陳韋任 (Wei-Ren Chen) wrote:
> Hi Sam,
>
> On Fri, Mar 22, 2013 at 11:19:55AM +0800, Sam Wilson wrote:
>> On Fri, March 22, 2013 11:03 am, ?䒰??衤遙 (Wei-Ren Chen) wrote:
>> >   When I access my dokuwiki [1], there are a lot of warning and error
>> > message on the top of the page. I can still read my wiki, but it's
>> every
>> > annoying. Even worse, I cannot login through the web interface (same
>> > message pops out). IIRC, this problem has happened since latest two
>> > release. I already send a bug report [2], and hope someone can give me
>> > some hint on how to solve the problem. Thanks!
>> >
>> > [1] http://people.cs.nctu.edu.tw/~chenwj/dokuwiki/doku.php
>> > [2] https://bugs.dokuwiki.org/index.php?do=details&task_id=2756
>> >
>>
>> Looks like your session temp directory /net/WWWsession/stud/ is not
>> writable by the PHP user...
>
>   So I should ask the host administrator to change the session temp
> directory's privilege? Besides, I also see the warning message below,
>
>   ... Warning: Cannot modify header information - headers already sent
>       by ...
>
> Is it the dokuwiki's problem? Or the host should change its php
> configuration?

Don't worry about that: it's just that the previous error message has been
output before DW has tried to send its HTTP headers.  That'll be fixed
once you fix the other problem.

>
>> Ah! But I look again, and it looks like you've fixed it!  :-)  Well
>> done.
>
>   Well, the problem is not always happened (but it's *often*). I guess
> you're lucky when you see my page. ;)
>

In that case, it might be that the temp dir is on a filesystem that is
nearly full.  When it gets too full, PHP can't write to it, but then it
gets cleared out (a bit) by some other process, and then you can write to
it.

I'd check that out first, just to make sure there's space (try the df
command).  Of course, also check the permissions on that temp dir, but if
it's working sometimes then they're probably okay.


--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: