Menu

help installing

Anonymous
2004-08-13
2013-04-17
  • Anonymous

    Anonymous - 2004-08-13

    i don`t know how to instal please give me an exemple. I have: FoxServ3.1Beta1 installed and the folowing folders:
    C:\EasyServ\apache\Apache.exe
    C:\EasyServ\php\php.exe
    C:\EasyServ\mysql\bin\mysqld-nt.exe
    C:\EasyServ\www\phpCodeGenie\index.php
    please make a config file for me :D , I tried everything and I get the error: <html>Warning: open(/tmp\sess_b27dc04452769bd7e632c7e19ab7a4e0, O_RDWR) failed: No such file or directory (2) in C:\EasyServ\www\phpCodeGenie\app\settings\genieConfiguration.inc.php on line 2 </html>

    thanks

     
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-08-13

      this is not a phpCodegnie bug.. this is problem in your server configuration.. edit ur php.ini file and change the session temp directory from /tmp to c:\temp.. or else ur php installation wont accept sessions.

       
      • Anonymous

        Anonymous - 2004-08-14

        Yessss ! :) It`s working , thank you very much. Here is my config files, for who need it:
        .htaccess :
        php_value include_path "C:/EasyServ/www/phpCodeGenie/app/settings/"
        genieConfiguration.inc.php :

        <?
           session_start();
           define("URL_ADDRESS","http://localhost/phpCodeGenie/web/");
            
        /*   // Linux Server
           define("SITE_PATH","/path/to/phpCodeGenie");   // no trailing slashes
           define("FILE_SEPARATOR", "/");
           // win or nix
           define("OS_TYPE","nix");
          */

           // Windows Server
           define("SITE_PATH","C:\\EasyServ\\www\\phpCodeGenie");   // no trailing slashes
           define("FILE_SEPARATOR", "\\&quot;);
           // win or nix
           define("OS_TYPE","win");
        ..................

        thanks again nileshd :)

         
    • Marc Vanockerhout

      Help
      my genieConfiguration.inc.php =

      <?
      session_start();
      define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
      // Windows Server
      define("SITE_PATH","D:\\www\\phpCodeGenie3"); // no trailing slashes
      define("FILE_SEPARATOR", "\\&quot;);
      // win or nix
      define("OS_TYPE","win");
      ?>

      my error =
      Warning: main(INC_MAIN_PAGE) [function.main]: failed to open stream: No such file or directory in D:\www\phpCodeGenie3\index.php on line 2

      Warning: main() [function.include]: Failed opening 'INC_MAIN_PAGE' for inclusion (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in D:\www\phpCodeGenie3\index.php on line

      email: marc.vanockerhout@knokke-heist.be

       
      • Nilesh Dosooye

        Nilesh Dosooye - 2004-08-15

        how about the rest of ur configuration file.. do you have this after waht u have..

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

        You need these also in ur file..

         
    • Marc Vanockerhout

      I found it,

      I had to simply remove the unix lines

      Thankx anyway, great program

       
    • Anonymous

      Anonymous - 2004-08-20

      Please Help me....
      my genieConfiguration.inc.php:

      <?
         session_start();
         define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
          
         // Linux Server
         define("SITE_PATH","file:/srv/www/htdocs/phpCodeGenie3");   // no trailing slashes
         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);  

      ?>

      my errors:

      Warning: main(file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php): failed to open stream: No such file or directory in /usr/include/genieConfiguration.inc.php on line 31

      Warning: main(): Failed opening 'file:/srv/www/htdocs/phpCodeGenie3/app/settings/definitions.inc.php' for inclusion (include_path='/usr/include') in /usr/include/genieConfiguration.inc.php on line 31

      Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22

      Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='/usr/include') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22

      email: k.bammert@harry-roth.de

       
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-08-20

      in the line

      define("SITE_PATH","file:/srv/www/htdocs/phpCodeGenie3"); // no trailing slashes

      you cannot put "file:".. you have to put an absolute path...

       
    • Anonymous

      Anonymous - 2004-08-20

      Please help again....

      I did new download, new installation, changed the path in the genieConfiguration.inc.php:

      <?
         session_start();
         define("URL_ADDRESS","http://localhost/phpCodeGenie3/web/");
          
         // Linux Server
         define("SITE_PATH","/srv/www/htdocs/phpCodeGenie3");   // no trailing slashes
         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);  

      ?>

      my new errors:

      Warning: main(genieConfiguration.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1

      Warning: main(): Failed opening 'genieConfiguration.inc.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 1

      Warning: main(INC_LOGIN_PAGE): failed to open stream: No such file or directory in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22

      Warning: main(): Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='.:') in /srv/www/htdocs/phpCodeGenie3/web/index.php on line 22

       
    • Anonymous

      Anonymous - 2004-08-20

      It works!!!
      It was a problem with the include_path directory. I set it to .../phpCodeGenie/app/settings/.

       
    • irag

      irag - 2004-09-25

      Two problems.
      1. In genieConfiguration.inc.php
      If I leave a trailing / on URL_ADDRESS, then I get a double / after clicking on rub the lamp.

      http:// . . /phpCodeGenie3/web//common/invokeGenie.php

      2. I take out the slash.  I get a Page cannot be displayed.

       

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.