Menu

Problems with Linux install

langlof
2004-10-14
2013-04-17
  • langlof

    langlof - 2004-10-14

    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

     
    • langlof

      langlof - 2004-10-14

      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);

       
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-10-14

      send the contents of ur genieConfiguration.inc.php

       
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-10-14

      remove the /* and */ to eable to linux definitions for file separators etc..

       
    • langlof

      langlof - 2004-10-15

      Thanks Nilesh.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.