From: Mark C. <ma...@xr...> - 2003-01-16 08:14:55
|
Hi I'm hoping someone my be able to help before I go nuts with this problem. To start with I'm running PHPesp on W2k box and I've tried this under IIS and Apache and I keep getting the same error. I have also deleted the phpesp.ini file numerous times and started again just in case I did make a typo. I have a problem with phpesp.ini file and really can't work where I'm going wrong. my initial problem is that I get this error message "I can not find your includes ... check your ini settings " and here is my settings // Main install path ON DISK // (where you unpacked the tar) $ESPCONFIG['prefix'] = 'c:\web\phpesp'; // Base URL for phpESP $ESPCONFIG['base_url'] = 'http://' . $server['HTTP_HOST'] . '/phpesp'; // Path to include files ON DISK // (normally <prefix>/phpESP/admin/include) $ESPCONFIG['include_path'] = $ESPCONFIG['prefix'] . '\phpesp\admin\include'; // extention of include files $ESPCONFIG['extension'] = '.inc'; Can anyone spot what I am doing wrong? I have also tried replacing the ' with " and putting in \\ ie. "c:\\web\\phpesp"; but to no avail if I change the $ESPCONFIG['include_path'] = $ESPCONFIG['prefix'] . '\phpesp\admin\include'; to $ESPCONFIG['include_path'] = $ESPCONFIG['prefix'] . '\phpesp\admin\include'\; (extra back slash on the end ) I get Parse error: parse error, unexpected T_STRING in c:\web\phpesp\admin\phpESP.ini on line 40 Fatal error: Call to undefined function: esp_where() in C:\web\phpesp\admin\manage.php on line 83 And here is the rest of the phpesp.ini. I'm sure this something simple but I just can't get my head around it thanks in advance Mark * Here are all the configuration options. */ // Name of application $ESPCONFIG['name'] = 'phpesp'; // Main install path ON DISK // (where you unpacked the tar) $ESPCONFIG['prefix'] = 'c:\web\phpesp'; // Base URL for phpESP $ESPCONFIG['base_url'] = 'http://' . $server['HTTP_HOST'] . '/phpesp'; // Path to include files ON DISK // (normally <prefix>/phpESP/admin/include) $ESPCONFIG['include_path'] = $ESPCONFIG['prefix'] . '\phpesp\admin\include'; // extention of include files $ESPCONFIG['extension'] = '.inc'; // path to images ON THE WEB (for <img src='...'> tags) $ESPCONFIG['image_path'] = $ESPCONFIG['base_url'] . 'images/'; // path to survey handler ON DISK // (normally <install root>/phpESP/public/handler.php) $ESPCONFIG['handler'] = $ESPCONFIG['prefix'] . '\phpesp\public\handler.php'; $ESPCONFIG['handler_prefix'] = $ESPCONFIG['prefix'] . '\phpesp\public\handler-prefix.php'; // path to survey auto_handler ON THE WEB $ESPCONFIG['auto_handler'] = $ESPCONFIG['base_url'] . 'public/survey.php'; //CSS Directory for Surveys //this is used for linking of style sheet (theme) to survey $ESPCONFIG['survey_css_dir'] = $ESPCONFIG['base_url'] . 'public/css/'; //this is used internally to indicate to the general.inc file the path to the style sheets $ESPCONFIG['survey_css'] = $ESPCONFIG['prefix'] . '\phpesp\public\css'; Mark Croonen Computer Lab Manager UWA Business School The University of Western Australia CRICOS Provider No: 00126G Phone: 9380 1405 "I disapprove of what you say, but I will defend to the death your right to say it." - S. G. Tallentyre |