BindTextDomain error

Help
2007-08-02
2012-10-11
  • JoeFranklin

    JoeFranklin - 2007-08-02

    I have a brand new install I downloaded yesterday with the default config. When I hit the url, I get a blank page. Stepping through the code with the zend debugger, it is never returning from a call to BindTextDomain on line 779 of IniConfig.php. This is some locale stuff that I'm not familiar with. Has anyone seen this before?

    The line is:
    $bindtextdomain_real = @bindtextdomain("phpwiki", $bindtextdomain_path);

    thanks,
    jf

     
    • JoeFranklin

      JoeFranklin - 2007-08-03

      thanks for the reply. i accomplished the same thing by commenting out the else statement and it worked. now i'm getting an oracle connect error. i'm going to start a new thread for that one.

      jf

       
    • Reini Urban

      Reini Urban - 2007-08-02

      I've seen that before, that why there is some special logic to prevent from such errors. Obviously not all.

      Remove the @ and see the error.

       
    • JoeFranklin

      JoeFranklin - 2007-08-02

      I tried that. It doesn't give me an error. The process dies and apache sends me a correctly formatted blank html page. I'm using the latest ZendPlatform running on RHEL 4.

      jf

       
      • Reini Urban

        Reini Urban - 2007-08-03

        There are several upstream bugs:
        Bug #1381464 with php-5.1.1
        problems with 4.3.2, 4.3.6 win

        Please change this part in IniConfig.php

        if (!function_exists ('bindtextdomain')
        and !function_exists ('gettext')
        and !function_exists (''))
        {
        =>
        if (1 or (!function_exists ('bindtextdomain')
        and !function_exists ('gettext')
        and !function_exists ('
        ')))
        {

        to workaround your failing bindtextdomain() call.

         

Log in to post a comment.