Menu

Does not start

Help
2004-01-06
2004-01-07
  • Gary Waterbury

    Gary Waterbury - 2004-01-06

    I downloaded phpGedView and when I start it, it leaves a blank screen. None of the php programs run. I use www.usewords.us/phpGedView/ . I put phpinfo in the folder and it runs OK.

    I downloaded PHPLauncher and it ran right away. I could view the President's family tree. I emptied the web directory and put in a new phpGedView there and it started to act normal, taking input. It finally gave out in trying to deal with my family tree which I have in 4 directories.   So, is their any php program that would run, that could repair or properly place required input info? A super file? A one man superfile? Just put all input in one file and let it put it in different files.

    I suspect php.ini is causing problems, as is proper file locations. The documentation was vague. And my php error file was just as vague.

     
    • Gary Waterbury

      Gary Waterbury - 2004-01-07

      Well, I got PHPLauncher to work real good. I have 3 gedcoms there. I have 4 family tree programs now. But, I wanted one that works on my website, to and from the internet. I have to 2 click on PHPLauncher.exe for it to work. Using my web address doesn't work, even if I use port 32123 or 4322 which my Sygate firewall says  PHPLauncher is listening on. I have Windows ME.  Maybe I have to add the phpGedView files into  my main directory instead of in it's own phpGedView directory. I'll give it a try. Thanks for any help. Have a Happy Life!
      Gary Waterbury
      www.usewords.us/phpGedView/
      www.usewords.us/PHPLauncher/web/
      or just plain www.usewords.us which works.
      res0flx7@verizon.net

       
    • Arne Eckmann

      Arne Eckmann - 2004-01-07

      Hi Gary

      With the information provided it's not possible for me to say why phpGedView won't work at your site: It probably would be easier for us to help, if you could place a simple testfile, test.php, with the following  content at your site:

      <?php
        phpinfo();
      ?>

      in order for us to test it using this link:

      http://www.usewords.us/phpGedView/test.php

      Alternatively I can suggest you give one of the developers or me temporary ftp access to your site, to make it possible to see if we can get phpGedView to work on your site. (that is, if you can change the userid and/or passwords afterwards.)

      As to PHPLaunch, it's not supposed to work on a webserver since it uses it's own internal http-server.

      You are right about PHPLaunch are using the port 32123 for html instead of the usual port 80, that is http://localhost:32123/ but that is specific to PHPLaunch and has nothing to do with phpGedView.

      You need not use any portnumber to make phpGedView work.

      Could you please place a testfile (like I suggested) at your website, or could you give a developer or me ftp access to your site ?

      DON'T GIVE FTP ACCOUNT AND USER-ID AND PASSWORD HERE, rather send it using the proper sourceforge mail address.

      best regard

      Arne

       
    • Gary Waterbury

      Gary Waterbury - 2004-01-07

      Arne
      Ok The link works. test.php in in the phpGedView directory. I am running a ftp server so go to ftp://usewords.us I will email you the id and pass.
      Thanks, The program is so nice and worth the effort.
      Gary.

       
    • Anonymous

      Anonymous - 2004-01-07

      Hello Gary,

      Arne has asked me to look into this problem. Can you please email me the username and password for the ftp server? Just send it to my sourceforge account. This will enable me to further investigate.

      Thanks,

      Roland

       
    • Gary Waterbury

      Gary Waterbury - 2004-01-07

      Arne,
      I right click on a file or folder and click the bottom item properties. The attributes are checkboxes, READ ONLY, HIDDEN, and ARCHIVE. I have never used chmod for anything. I think that is a Linux function. I have added 2 php programs to phpGedView (encodewords.php and crypt.php) and they work ok.
      So, I think as John says, the require function and the include function aren't right.
      Somehow my website got in a viewer and it worked real nice, so I have to research that.....how it happened. I was hoping to install an earlier version to see if less complex programming would make the program work, so I'll try that too.
      Thanks..............
      Gary

       
    • Anonymous

      Anonymous - 2004-01-07

      All together now,

      First my thanks to Arne and John for already pointing out some of the problems. I had investigated soem and came to the same conclusion as John. There is only 1 thing that John pointed out and is most likely the source of the problem. John wrote:
      /*
      Things to check are the phpinfo and make sure that "." is in the include path and that include and require are not in the disabled functions list.
      */
      The problem lies in the include path as it seems. It does NOT contain the ".". Gary, your include path now reads: c:\phplib and this should be changed then to ".;c:\phplib".

      Please give that a try and lets see what happens then. You can revoke my ftp access. Thanks.

      Regards,

      Roland

       
    • Arne Eckmann

      Arne Eckmann - 2004-01-07

      Hi Gary

      Sorry about my late response, but I didn't sleep last night, hence I needed to take a nap ;-)

      Like John Finlay said, we need to concentrate on getting include and require to work on your PHP setup.

      You are absolutely right that chmod doesn't work on the Windows platform, as well as the fileattributes READ ONLY, HIDDEN, and ARCHIVE are not relevant here (well, the files must not be READ ONLY ;-)), but I'm used to the Windows NT system (Windows 2000), and the Windows NT system has its own security system - quite unlike W9.x - where users must be granted access to files and folders.

      However, at this point I think that John and Roland has pointed you in the right direction, and you also can revoke my ftp access to your site.

      please report back.

      best regard

      Arne
       
       

       
    • Gary Waterbury

      Gary Waterbury - 2004-01-07

      I changed the include directory in c:\windows\php.ini to ".;c/phplib" and it works. I accessed www.usewords.us/phpGedView then, and I got a login screen. I put an ID and pass in and it said User cannot be authenticated. So.......I'll probably have to copy a file from PHPLauncher/web because my id and pass work there.
      Well......who gets the $20 (I watched on my Cerberus FTP screen and the files went flying by)? Or is it a 3 way split? Just give me an address to send it. Paypal takes a long time and is not quite as rock solid as the mail.
      Thanks.........Have Fun!
      Gary

       
    • Anonymous

      Anonymous - 2004-01-07

      Hey Gary,

      I am very happy to hear that it works. I must point out that I noticed one thing in the config.php that says the following:
      $CONFIGURED = false;

      It means you have not yet configured PhpGedView. If you have already done so, please change false to true.

      That is all.

      Regards,

      Roland

      P.s. John, can you help Gary with his money ;)

       

Log in to post a comment.