From: <no...@so...> - 2002-11-26 01:46:27
|
Bugs item #639178, was opened at 2002-11-15 19:28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=639178&group_id=8956 Category: Admin Group: v1.5 Status: Open Resolution: None Priority: 5 Submitted By: James P. Dugal (jpd2) Assigned to: Nobody/Anonymous (nobody) Summary: Solaris 8 gettext test problem Initial Comment: I just installed phpESP v1.5 under Apache 2.0.43, PHP 4.2.3 and I invoke manage.php ... I get nothing but a browser error message about no data being sent. I did some exploring and found that the test in phpESP.ini for the gettext module being loaded or available, is causing the problem here. I did not install GNU gettext when I built PHP. Apparently an error occurs when the .ini code attempts to @dl( 'gettext.so') ... and never returns to take alternative action. My work-around was to not attempt to load gettext.so when PHP_OS reported SunOS. So I have this code change: 148c148 < if (!ini_get('safe_mode')) { --- > if (!ini_get('safe_mode') && (substr(PHP_OS, 0, 3) != 'Sun')) { which results in an English-only environment, which is acceptable. When I run your status.php script, I got: php version: 4.2.3 cwd: /web/docs/InfoTech/UCSS/phpESP-1.5/admin register_globals: off magic_quotes_gpc: off magic_quotes_runtime: off safe_mode: off open_basedir: mysql: loaded gettext: not loaded ... trying to load Regards. -- James Dugal jp...@lo... ---------------------------------------------------------------------- Comment By: Ryan Russo (vidrunr) Date: 2002-11-25 20:46 Message: Logged In: YES user_id=445189 I can confirm this behavior on RH 8 Server: Apache/2.0.43 (Unix) PHP/4.2.3 phpESP 1.5 New to PHP but, tracked problem down by sticking echo's in until I found: @dl( (substr(PHP_OS, 0, 3) == 'WIN') ? 'php_gettext.dll' : 'gettext.so' ); which I commented out. This allowed authorization prompt to appear instead of no content error... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=639178&group_id=8956 |