Menu

Problem with installation

bgo01
2005-02-12
2013-04-17
  • bgo01

    bgo01 - 2005-02-12

    I can't get genie to run on my web. Here are the errors:

    Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 1

    Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='/path/to/phpCodeGenie3.0/app/settings/') in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 1

    Notice: Use of undefined constant INC_MAIN_PAGE - assumed 'INC_MAIN_PAGE' in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

    Warning: main(INC_MAIN_PAGE): failed to open stream: No such file or directory in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

    Warning: main(): Failed opening 'INC_MAIN_PAGE' for inclusion (include_path='/path/to/phpCodeGenie3.0/app/settings/') in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

    And here is my genieConfiguration.inc.php

    <?
       session_start();
       define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");

    /*****************

       // Linux Server
         define("SITE_PATH","/usr/local/apache/htdocs/phpCodeGenie3.0");
         define("FILE_SEPARATOR", "/");
         // win or nix
         define("OS_TYPE","nix");

    ***************/
         
       // Windows Server
       define("SITE_PATH","D:\\projects\\phpCodeGenie3.0");   // no trailing slashes
       define("FILE_SEPARATOR", "\\&quot;);
       // win or nix
       define("OS_TYPE","win");

         

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

    ?>

    I know our project admin has been bombardet with this sort of problem again and again but I've reached dead end on how to solve my problem. I've read through this forum but I still can't find the solution.

    So please, please help me with this, somebody, anybody :(

     
    • bgo01

      bgo01 - 2005-02-13

      OK I realise where my mistakes are which are in SITE_PATH in my genieConfiguration.inc.php and change my

      php_value include_path "/Program Files/EasyPHP1-7/www/phpCodeGenie3.0/app/settings/"

      in my .htaccess file.

      BUT my still can't get it running and got the same error

      Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 1

      Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='/Program Files/EasyPHP1-7/www/phpCodeGenie3.0/app/settings/') in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 1

      Notice: Use of undefined constant INC_MAIN_PAGE - assumed 'INC_MAIN_PAGE' in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

      Warning: main(INC_MAIN_PAGE): failed to open stream: No such file or directory in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

      Warning: main(): Failed opening 'INC_MAIN_PAGE' for inclusion (include_path='/Program Files/EasyPHP1-7/www/phpCodeGenie3.0/app/settings/') in c:\program files\easyphp1-7\www\phpcodegenie3.0.2\index.php on line 2

      Anybody who've had the same problem as mine but manage to get genie running in the end, please help me. I really like to get genie up and running.

      Thanks in advance for any kind of help.

       
      • dragannn

        dragannn - 2005-02-26

        Maybe you forget to put the drive letter in front of the path

        php_value include_path "/Program Files/EasyPHP1-7/www/phpCodeGenie3.0/app/settings/

        should be something like

        php_value include_path "c:/Program Files/EasyPHP1-7/www/phpCodeGenie3.0/app/settings/

         
    • kailas

      kailas - 2005-02-14

      you jave to copy genieConfiguration.inc.php in include direcotry (you can checj this using phpinfo() ) and commnet the first line in .htaccess

       
    • kailas

      kailas - 2005-02-14

      you have to copy genieConfiguration.inc.php in include direcotry (you can checj this using phpinfo() ) and commnet the first line in .htaccess

       
    • repcode128

      repcode128 - 2005-02-23
       

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.