I am getting the following info when trying to access the CodeGenie php page.
My include_path .:/usr/share/pear genieConfiguration.inc.php is in this directory.
Warning: main(SITE_PATHFILE_SEPARATORappFILE_SEPARATORsettingsFILE_SEPARATORdefinitions.inc.php): failed to open stream: No such file or directory in /usr/share/pear/genieConfiguration.inc.php on line 34
Warning: main(): Failed opening 'SITE_PATHFILE_SEPARATORappFILE_SEPARATORsettingsFILE_SEPARATORdefinitions.inc.php' for inclusion (include_path='.:/usr/share/pear') in /usr/share/pear/genieConfiguration.inc.php on line 34
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /var/www/html/phpCodeGenie/web/index.php on line 24
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/phpCodeGenie/web/index.php on line 24
What am I doing wrong..
Thanks for any help.
DC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// Windows Server
// define("SITE_PATH","D:\\projects\\phpCodeGenie"); // no trailing slashes
// define("FILE_SEPARATOR", "\\");
// win or nix
// define("OS_TYPE","win");
/*
// Linux Server
define("SITE_PATH","/var/www/html/phpCodeGenie");
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
*/
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
I am getting the following info when trying to access the CodeGenie php page.
My include_path .:/usr/share/pear genieConfiguration.inc.php is in this directory.
Warning: main(SITE_PATHFILE_SEPARATORappFILE_SEPARATORsettingsFILE_SEPARATORdefinitions.inc.php): failed to open stream: No such file or directory in /usr/share/pear/genieConfiguration.inc.php on line 34
Warning: main(): Failed opening 'SITE_PATHFILE_SEPARATORappFILE_SEPARATORsettingsFILE_SEPARATORdefinitions.inc.php' for inclusion (include_path='.:/usr/share/pear') in /usr/share/pear/genieConfiguration.inc.php on line 34
Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /var/www/html/phpCodeGenie/web/index.php on line 24
Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/phpCodeGenie/web/index.php on line 24
What am I doing wrong..
Thanks for any help.
DC
my genieConfig file
<?php
session_start();
define("URL_ADDRESS","http://linux/phpCodeGenie/web/");
// Windows Server
// define("SITE_PATH","D:\\projects\\phpCodeGenie"); // no trailing slashes
// define("FILE_SEPARATOR", "\\");
// win or nix
// define("OS_TYPE","win");
/*
// Linux Server
define("SITE_PATH","/var/www/html/phpCodeGenie");
define("FILE_SEPARATOR", "/");
// win or nix
define("OS_TYPE","nix");
*/
define("WEB_SEPARATOR","/");
define("APP_PATH",SITE_PATH.FILE_SEPARATOR."app");
define("WEB_PATH",SITE_PATH.FILE_SEPARATOR."web");
// Specify the language that you want to use phpCodeGenie in
// You can make your own language file if it does exist yet
// and send your contribution back to phpCodeGenie
define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php");
define("CONFIG_COMPONENT",APP_PATH.FILE_SEPARATOR."settings");
define("CONFIG_FILE",CONFIG_COMPONENT.FILE_SEPARATOR."definitions.inc.php");
include_once(CONFIG_FILE);
send the contents of ur genieConfiguration.inc.php
remove the /* and */ to eable to linux definitions for file separators etc..
Thanks Nilesh.