From: SourceForge.net <no...@so...> - 2008-08-18 11:24:33
|
Bugs item #2047924, was opened at 2008-08-12 08:58 Message generated for change (Comment added) made by bishopb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=2047924&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Problem installation Initial Comment: Hello I tried to install phpESP and my errors are : PHP Information * Version: 4.3.10 * OS: WINNT * SAPI: apache * register_globals: No * magic_quotes_gpc: No * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: Yes -- bundled (2.0.28 compatible) * GNU Gettext: No * LDAP: No * MySQL: Yes * PostgreSQL: No * PHP Extension Dir (compiled): c:\php4 * PHP Extension Dir (run time): C:\PROGRA~1\EASYPH~3\\php\extensions\ phpESP Settings * Expected ESP_BASE: c:\documents and settings\nelson\mes documents\phpesp/ * Expected base_url: Notice: Undefined variable: ESPCONFIG in c:\documents and settings\nelson\mes documents\phpesp\admin\test.php on line 128 127.0.0.1/phpESP/ * Loading phpESP.ini.php ... Notice: Undefined variable: server in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.default on line 9 Notice: Undefined variable: server in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php on line 9 Notice: Use of undefined constant ESP_BASE - assumed 'ESP_BASE' in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 40 Notice: Use of undefined constant ESP_BASE - assumed 'ESP_BASE' in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 41 Notice: Undefined variable: server in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 47 Notice: Use of undefined constant ESP_BASE - assumed 'ESP_BASE' in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 59 Notice: Use of undefined constant ESP_BASE - assumed 'ESP_BASE' in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 62 Notice: Use of undefined constant ESP_BASE - assumed 'ESP_BASE' in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 65 Warning: main(ESP_BASE/admin/include//lib/espi18n.inc): failed to open stream: No such file or directory in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 92 Fatal error: main(): Failed opening required 'ESP_BASE/admin/include//lib/espi18n.inc' (include_path='.;C:\PROGRA~1\EASYPH~3\\php\pear\') in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.fixed on line 92 could you help me please ---------------------------------------------------------------------- >Comment By: bishop (bishopb) Date: 2008-08-18 07:24 Message: Logged In: YES user_id=1982963 Originator: NO Got to love SF.net, breaking my comment. In my last comment, the "(further down)" text should be on the same line starting with "// for the database type,". ---------------------------------------------------------------------- Comment By: bishop (bishopb) Date: 2008-08-18 07:23 Message: Logged In: YES user_id=1982963 Originator: NO A couple of observations: * $server['HTTP_HOST'] should be $_SERVER['HTTP_HOST'] * Make sure you don't have any line wraps breaking end-of-line comments. This is wrong: // for the database type, change $ESPCONFIG['adodb_database_type'] (further down) This is right: // for the database type, change $ESPCONFIG['adodb_database_type'] (further down) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-08-18 03:23 Message: Logged In: NO Hello greg As you said, it may be an bad path or syntax error in my php.ini, and when I try with the $ESPCONFIG modified under the original, I've just this error Parse error: parse error in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.default on line 10 Here is my php info and my php ini PHP Information * Version: 4.3.10 * OS: WINNT * SAPI: apache * register_globals: No * magic_quotes_gpc: Yes * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: Yes -- bundled (2.0.28 compatible) * GNU Gettext: No * LDAP: No * MySQL: Yes * PostgreSQL: No * PHP Extension Dir (compiled): c:\php4 * PHP Extension Dir (run time): C:\PROGRA~1\EASYPH~3\\php\extensions\ phpESP Settings * Expected ESP_BASE: c:\documents and settings\nelson\mes documents\phpesp/ * Expected base_url: Notice: Undefined variable: ESPCONFIG in c:\documents and settings\nelson\mes documents\phpesp\admin\test.php on line 128 127.0.0.1/phpESP/ * Loading phpESP.ini.php ... Parse error: parse error in c:\documents and settings\nelson\mes documents\phpesp\admin\phpESP.ini.php.default on line 10 Thanks for your help <?php // use http or https? $ESPCONFIG['proto'] = 'http://'; // Base URL for phpESP $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/phpESP/'; //$ESPCONFIG['base_url'] = . $ESPCONFIG['proto'] . '127.0.0.1/phpESP/'; // Database connection information // for the database type, change $ESPCONFIG['adodb_database_type'] (further down) $ESPCONFIG['db_host'] = 'localhost'; $ESPCONFIG['db_user'] = 'xxxxxxxxx'; $ESPCONFIG['db_pass'] = 'xxxxxxxxx'; $ESPCONFIG['db_name'] = 'db_phpesp'; $DB_PREFIX = "phpesp_"; // If you want your database tables to use a prefix, set it here. $OLD_DB_PREFIX = ""; // When switching prefixes, give here the current existing prefix in the db ?> ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2008-08-12 09:10 Message: Logged In: YES user_id=14116 Originator: NO This looks like a syntax error or bad path in your phpESP.ini.php. Could also be a permission problem. Please post you phpESP.ini.php file to the mailing list for help. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=2047924&group_id=8956 |