Menu

Problems after the first installition

2005-10-24
2013-04-17
  • Alkim Media

    Alkim Media - 2005-10-24

    im also new to code genie... well i followed the instructions and set htaccess to 
    php_value include_path 'C:\apachefriends\xampp\htdocs\genie\app\settings'
    looks ok since that is path but when i run
    http://localhost/genie/web these errors occur

    Warning: main(C:\apachefriends mpp\htdocs\genie\app\settings\definitions.inc.php) [function.main]: failed to open stream: Invalid argument in C:\apachefriends\xampp\htdocs\genie\app\settings\genieConfiguration.inc.php on line 34

    Warning: main() [function.include]: Failed opening 'C:\apachefriends mpp\htdocs\genie\app\settings\definitions.inc.php' for inclusion (include_path='C:\apachefriends\xampp\htdocs\genie\app\settings') in C:\apachefriends\xampp\htdocs\genie\app\settings\genieConfiguration.inc.php on line 34

    Warning: main(INC_LOGIN_PAGE) [function.main]: failed to open stream: No such file or directory in C:\apachefriends\xampp\htdocs\genie\web\index.php on line 24

    Warning: main() [function.include]: Failed opening 'INC_LOGIN_PAGE' for inclusion (include_path='C:\apachefriends\xampp\htdocs\genie\app\settings') in C:\apachefriends\xampp\htdocs\genie\web\index.php on line 24

    does anybody a solution for this problem?

    thanx
    kerim

     
    • Th. Schuett

      Th. Schuett - 2005-10-26

      You will have an typing-error - look at the error-message :

      (C:\apachefriends mpp\htdocs\genie\app\settings\definitions.inc.php) [function.main]:

      It might be "C:\apachefriends\xampp.....  !!!!

      Dont forget to define "AllowOverride All" or "  AllowOverride Auth.." in your HTTPD.CONF (Apache-Sever) for the phpCodeGenie-Directory.

       
    • Jattie

      Jattie - 2006-01-10

      I had similar problems:

      The solution is the initial installation setup:

      3. Make the genieConfiguration file viewable to all files in your PCG application

      http://phpcodegenie.sourceforge.net/installation.php?PHPSESSID=8d91530d8ef1327e771f63b517a28aa0

      The documentation is not very detailed thou and there's variations depending on the OS and evenm the various flavours of linux.

       
    • andykem

      andykem - 2006-02-18

      I got similar error messages.Thing I found was that the 'genieConfiguration.inc.php' file is delivered ready for running on an apache sever assumed to be running on a Linux OS.  It did this by the /************ used to commenet out the Windows OS code.**********/

      I swapped them so they look like this:-

      /*****************
       
         // 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","C:\\public_html\\phpCodeGenie3");   // no trailing slashes
         define("FILE_SEPARATOR", "\\");
         // win or nix
         define("OS_TYPE","win");

      So the windows is the OS.  I took it that the 'SITE_PATH' is the same as Apache 'Document_Root' and it seems to work!

      Regards
      Andy

       

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.