Menu

Installation unsuccessful, Getting blank page

Korky
2004-10-02
2013-04-17
  • Korky

    Korky - 2004-10-02

    When I install under Windows XP Pro, IIS, all I get is a blank screen when I run the index.php file.

    My server is a standard IIS server, so files are under inetpub/wwwroot/phpcodegenie3. I changed the php.ini to point to the c:\PHP\includes directory where the genieconfiguration.inc.php file is (I also put a copy of this in the inetpub/wwwroot/phpcodegenie3 directory. This file was edited to set the appropriate directories on my system.

    I dont seem to find the file INC_MAIN_PAGE anywhere on my system which is being called by the index.php file, but I may be misinterpreting this also.

    Can someone please advise why all I get is a blank screen when running the index.php file?

     
    • Derek

      Derek - 2004-10-02

      Try removing the .htaccess file?

       
    • Korky

      Korky - 2004-10-03

      Well, .htaccess isnt read by IIS, but I moved the file anyway, and that did not help.

       
    • Korky

      Korky - 2004-10-03

      I failed to include some information so that maybe you could help me further.

      XP Pro
      IIS

      path to webserver is
      c:\inetpub\wwwroot\phpCodeGenie3

      my genieconfig.inc.php looks like this:

      <?
         session_start();
         define("URL_ADDRESS","http://localhost/phpCodeGenie3");
          
         // 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:\inetpub\wwwroot\phpCodeGenie3");   // no trailing slashes
         define("FILE_SEPARATOR", "\\");
         // 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);  

      ?>

      the entry in my PHP.ini  is the following:

      ;;;;;;;;;;;;;;;;;;;;;;;;;
      ; Paths and Directories ;
      ;;;;;;;;;;;;;;;;;;;;;;;;;

      ; UNIX: "/path1:/path2" 
      ;include_path = ".:/php/includes"
      ;
      ; Windows: "\path1;\path2"
      include_path = "c:\php\includes"

      I hope this is enough for someone to help me. Im still getting only a blank screen.

      Thanks.

       
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-10-06

      definitely... IIS cant read .htaccess... that's an Apache Directive. I have not tested PCG on IIS.. all my development has been done on Apache. However, IIS does have support for php.ini.. if you put php anywhere.. it'll have a php.ini.. so just put ur pcg configuration file in this folder c:\php\includes (that's what is in ur php.ini file)

      Also seeing your configuration file... ur windows server settings is still commented out... ur settings are on Linux settings.. so comment out the Linux block and enable the windows server configuration. (remove /* */ and add that before and after the linux block)

      Enjoy :)

      Nilesh

       
    • Korky

      Korky - 2004-10-07

      Thank you Nilesh, I did happen to catch that one comment mark prior to this and I still dont get a page displayed..so Im very baffled.   Perhaps there is a problem under IIS?  I'd be happy to supply you any documentation or files that I have so you can try to determine whats happening, but as it is, I cant bring up one thing :(.

      Kork

       
    • Korky

      Korky - 2004-10-07

      Well, after some tracing through, I had all but lost hope, so I deleted the entire directory and reinstalled the package, changed the config file and now everything comes up fine. I havent tried the actual generation, so thats next.

       
      • Nilesh Dosooye

        Nilesh Dosooye - 2004-10-07

        great.. enjoy :)

         

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.