Menu

#639 php-53 throws substr warning on every page if LANG is unset

Database
closed
nobody
5
2014-07-30
2012-02-23
No

If you leave LANG blank in the config.ini (the default) and you are running php-53, there's a php warning thrown on every page:

Warning: "substr() expects parameter 3 to be long, string given"

I'm running the phpwiki-1.4.0 from svn trunk as of 2/20/12.

Specifying an explicit LANG fixes this, but the config.ini comments indicate a blank entry is valid.

Discussion

  • Marc-Etienne Vargenau

    Fixed in PhpWiki 1.5.0

     
  • Marc-Etienne Vargenau

    • status: open --> closed
    • Group: --> Database
     

Log in to post a comment.

MongoDB Logo MongoDB