Jon Nelson on Mon, 8 Sep 2003 09:47:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] gettext/php woes


These changes did not get rid of the errors.

I did figure out that I had not been correctly using the bindtextdomain()
and textdomain() functions.  Once I straighten that out it worked like a
champ, although the errors are still showing up.  Granted they only show
up with:

    error_reporting = E_ALL

Set in php.ini, but not:

    error_reporting = E_ALL & ~E_NOTICE

Thanks for the help all the same.

Jon

Paul said:
> Here are some ideas:
>
> Try "safe_mode = Off" in "/etc/php.ini".
>
> Try copying /usr/libexec/rep/0.15.1/i386-redhat-linux/rep/i18n/gettext.*
> to /usr/lib/php4/
>
> It looks like a slightly newer RPM is available at
> ftp://rpmfind.net/linux/freshrpms/redhat/7.3/gettext/gettext-0.11.4-0.rh73.3.i386.rpm
>
>
> Jon Nelson wrote:
>
>>I am trying to get gettext working with php and I am not having any luck.
>>Any ideas?
>>
>>
>
> _________________________________________________________________________
> Philadelphia Linux Users Group        --       http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
>
>


-- 
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
jonelson@state.pa.us
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug