[pmwiki-users] Re: Can't save some Chinese wiki word page.

Elias Soong songjl at 163.net
Wed Sep 28 22:28:00 CDT 2005


(=) still have the same problem. So can't be used. I will test other 
characters if you give me suggestion.

Patrick R. Michaud wrote:
> On Thu, Sep 29, 2005 at 12:56:57AM +0800, Elias Soong wrote:
> 
>>Warning: fopen(wiki.d/Main.??,new) [function.fopen]: failed to create
>>stream: Invalid argument in D:\www\pmwiki2\pmwiki.php on line 578
>>[...]
>>This only happen on PHP at windows platform, and may only for Chinese
>>windows platform. On linux, all Chinese word is ok. So we think it is a
>>bug for PHP.
> 
> 
> Someone reported a problem like this sometime before, although I
> didn't have the full platform details.  Weird.
> 
> 
>>A work a round is, at the line 578, 590 and 592, change "$pagename,new"
>>to be "$pagename"."_new", all words will be ok. If we change it to be
>>"$pagename".",new" or "$pagename".".new", it still the same problem.
> 
> 
> Underscore is a little dangerous, as some sites choose to allow
> underscores in page names.  How about a different character, such
> as an equals sign (=)?  Does that work?
> 
> 
>>Maybe we should change the temporary file naming method for this
>>problem. Thanks a lot.
> 
> 
> This can be done as long as we can find something that works and
> doesn't collide with likely names.
> 
> Pm





More information about the pmwiki-users mailing list