From: Joe L. <jl...@vr...> - 2002-05-15 16:15:16
|
I have installed the phpESP software on my machine (W2K, Apache 1.3.24, PHP 4.2.0, MySQL). Followed all the install directions. When I tried to load the manage page I would get a blank page (only a few lines of HTML code). Figuring something was going on with PHP, I turned on the display_errors paramater in the php.ini file. When I did this, I got the following error: Fatal error: dl() is not supported in multithreaded Web servers - use extension statements in your php.ini in d:\apps\apache\htdocs\phpESP\admin\phpESP.ini on line 24 Based on some of the info in the archive, I had to comment out the following lines in the phpESP.ini file: //if(!ini_get('safe_mode') && // (extension_loaded('gettext') || dl('gettext.so'))) { // if(!empty($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { // $langs = split(" *, *", $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); // foreach($langs as $lang) { // $lang = quotemeta($lang); // if(file_exists("$locale_path/$lang")) { // break; // } // } // } putenv("LC_ALL=$lang"); bindtextdomain('messages', $locale_path); textdomain('messages'); //} else if(!defined('_GETTEXT')) { define('_GETTEXT',TRUE); function _($s) {return($s);} function bindtextdomain($s) {} function textdomain($s) {} //} I can now bring up the manage page, and work with surveys. However, when I try to test the survey I get the following error: Fatal error: Cannot redeclare _() (previously declared in d:\apps\apache\htdocs\phpESP\admin\phpESP.ini:40) in d:\apps\apache\htdocs\phpESP\admin\phpESP.ini on line 40 I am not sure where this is coming from. Any ideas? Joe |