Menu

How to make it work

Help
2010-04-17
2013-05-30
  • Frans van Lier

    Frans van Lier - 2010-04-17

    Am not a beginner on computer or websites, but it seems impossible to make this work.
    Installed php gedview both local and on webhost, neither seem to run.
    Have xamp lite version running and surely working, but there it stops.
    Would anyone be nice enough to give some understandable advice in this ?
    All the help pages, don't tell me how to run the INSTALL.PHP file for sample. Clicking on that asks me to run or save, no need to save since I have it, and running is not happening???
    Thanks in advance

     
  • Greg Roach

    Greg Roach - 2010-04-17

    This sounds like your webserver isn't configured to process .php files using PHP.

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-17

    Frans
    Help is not the place to look, but rather read the WIKI, where you'll find detailed instructions about system configuration, requirements and the step-by-step process. It has been carefully crafted to make installation and operation relatively painless, but you been to understand what happens and why.  Before trying to install or run PGV, have you tested your xamp lite (why lite??) install to be sure your webserver is serving php pages or just html? As Greg points out, trying to serve php pages with a server not configured to display php will usually yield the results you have seen - and you can not use PGV.
    -Stephen

     
  • Frans van Lier

    Frans van Lier - 2010-04-17

    Thanks for the replies guys. To answer both in one go: I have tried both usbw and xamp (lite), and have at least one other program at work. (Humo-gen php on both and genotree on xamp) So that is not the problem. That works.
    Also checked what provider can handle, and that is completely up to date for SQL and PHP.

    The problem sits in how to get PHP Gedview as a total to work. Both local and online. The reason I tried this forum, WIKI is not organized to give help.

    There is indeed a thousand and one pages with how to and FAQ and install steps, but if one thing goes wrong, you're stuck. Where to find another hint or answer again? Search for  few days without the chance of finding the right answer?

    Over the last week I have seen enough fatal errors, can not connect, your database is empty and corrupt and the tables are not filled, and I don't know how many other error messages.

    There is too many pages of well meant guides and answers on WIKI, but there is no guidance of where to find what. For me, I give up.
    PHPGed view looks nice, and that I can enjoy that on other peoples pages. If you have no understanding of how it works, forget it and don't burn your fingers on it !

    Innovation is not always an improvement. At least not for every one.

    Thanks anyway, Frans

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-18

    Frans
    The portion of the wiki that deals with installation of v.4.2.3 is detailed. We've had thousands of installations on properly verified/qualified systems without any issues. The problems you describe (or don't) or intimate should not happen if PGV is installed per these instructions. Obviously we can not predict the configuration of every system, the level of experience of every admin/user or predict unique situations with proper downloading, unzipping, permissions and directory configuration.  What I can say equivocally is that, assuming some level of software installation experience and knowledge and a qualified (minimum requirements) system, someone following the instructions can install and operate PGV without any problems.

    http://wiki.phpgedview.net/en/index.php?title=Installation_Guide

    -Stephen

     
  • Rob Peters

    Rob Peters - 2010-04-18

    Frans,

    Perhaps if you could provide a few more specific steps and errors received it would help. 

    Rob

     
  • Greg Roach

    Greg Roach - 2010-04-18

    Frans - you have given us very little information.  You have said that

    1) your webserver shows you a list of files, instead of running the application
    2) when you click on a file, you are given the option to download it

    These symptoms quite clearly indicate that you have a problem with your webserver configuration.

    We will need more clues to help you - otherwise we have to guess how your server is configured.  So, here's my first guess.

    XAMPP works on windows/linux/mac.  You said INSTALL.PHP instead of install.php.  If you are using linux/mac, then having uppercase filenames will cause this problem.

     
  • Frans van Lier

    Frans van Lier - 2010-04-18

    First of all every one thanks for the reactions.

    Will explain a bit more here: Have told already I did try some other programs based on PHP, and one of the problems I encountered is the same in PHP Gedview

    In the beginning of the intstallation procedure, one is asked for a database name, in other words should have an empty SQL data base ready and created? At least that was the case with Humo-gen PHP. 

    I did try the same for PHPGedview, but got error messages.

    So the step to configure, I did not even reach.

    Next the installation guide tells me:  "If you have not yet received any errors you will see a message like:"
    But what if you actually DO receive errors?? On that one is no guide or answer.

    So I gave up try to install online, and thought to be smar to try local first. That is where the XAMP came in. But where to find in the install guide how to do and try local ??

    Do I do te same as (again)humogen and put all the files in the HTDOCS folder? Or maybe somewhere else?
    How to point to these files after starting up http://localhost ??

    So thanks again everyone for try to help, but please let no one tell me how detailed the wiki guide is.

     
  • Greg Roach

    Greg Roach - 2010-04-18

    <<in other words should have an empty SQL data base ready and created?>>

    Correct.  You must create the database first.

    <<I did try the same for PHPGedview, but got error messages.>>

    What are the error messages?

    <<Do I do te same as (again)humogen and put all the files in the HTDOCS folder?>>

    If the htdocs directory is empty, then yes.  But by default, XAMPP puts its own files in this directory, so use a subdirectory (e.g. c:\xampp\htdocs\phpgedview).

    <<How to point to these files after starting up http://localhost>>

    If you use a subdirectory, then like this:

    http://localhost/phpgedview

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Hello again guys, I don't give up easily, and am now supported by a box of painkillers for my headache and some stress relief pills.
    So started again, having the detailed instructions handy, cleaned evrything up, and re-installed. all.
    Still try the local first, is already enough of a challenge.
    XAMP working, tested and all. PHP unzipped in proper location, connection made, and yes here we go agan.

    Your current database configuration is bad. Please check your database connection parameters and configure again.
    SQLSTATE  Access denied for user 'Frans'@'localhost' (using password: YES)

    No I can understand this. Need a database first, empty and well, ready to fill. That far I came on my provider space as well, and with a few clicks had an empty database to connect to.

    Good back to the HOW TO's. Actually have a section for setting up things local.

    Wat you need, yes complete
    Installing, yes all properly done
    Running yes that works
    PHP GedView on your desktop, yes that is what I would like to see

    Congratulations, you now have your very own test site. You can access it at any time now by opening xampp control, starting Apache and MySql and typing http://localhost/phpgedview/ in your browser.

    Am I missing something here??

    Maybe I am blind or absolute stupid, but something to me is lacking in this installation guide.

     
  • Greg Roach

    Greg Roach - 2010-04-19

    Frans, the instructions for running locally are:

    1) Install XAMPP
    2) Create database using phpMyAdmin
    3) Unzip phpGedView into c:\xampp\htdocs\phpgedview
    4) Use their browser to open http://localhost/phpgedview
    5) Follow the on-screen instructions to tell phpGedView the details of your database, admin user, etc.

    You said

    <<Running yes that works>>
    <<PHP GedView on your desktop, yes that is what I would like to see>>

    What do you mean by "Running yes that works"?

    Remember, we only know what you post here.  It is very difficult to guess what you have done or not done.  The more information you give us, the easier it is to help.

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Hi there

    with that yes that works I point outthe actual working steps following "Set up a local test server"
    on the wiki guide part "how to"
    So under the headings you find steps:
    What you need
    Installing
    Running
    PHPGedview on your desktop

    Following these steps make step 1 2 and 3 work, but this is all about XAMP, nothing about PHPGedview
    It ends with the heading PHPGV on your desktop, and that is just not happening.

    So looking at the last instructions you send me here above:
    1 is completed XAMP is running and working properly, believe me on that
    2 Create database using PHPmy Admin ?? That is probably where the problems start, there is no guide how to do that.
    I know on my host there is a few clicks to create SQL database with name, and then PHP do the rest (Humo-gen php tested and working) You tell me to this with PHP admin? I click that one and it ask me open or save
    Both just end up in some kind of loop and keep asking me
    Step 3 and 4 done and sitting in proper directories and subdiretories.

    Step 5 get indeed a nice window type screen to fill out all kind of things after the step that some settings are tested and passed

    Your current database configuration is bad. Please check your database connection parameters and configure again.
    SQLSTATE  Access denied for user 'Frans'@'localhost' (using password: YES) Database Type 

    Is the error message I keep receiving

    As I pointed out already, there is no emprty database, so have no name for database, and that is probably where things get stuck. If I put a name in this required field or leave the field blank, error remains the same

    Maybe PHP admin is supposed to start up something different all together, but is not doing it for me then ??
    Am getting more and more confused here, but do appreciate the help.
    As an extra, in my earlier days I did play with DBaseIII and IV, and I have my share of making data bases in Access. However this PHP and SQL is new for me, as I said in my very first message. Once again, for some with less then advanced knowledge in this, the wiki help on this all might be detailed and have enough pages, but there is a lack of some information.

    For starters this how to guide on  setting up things local is detailed on setting up the server, but then expects to run PHPGV all by itself ??

    Really appreciate the help here guys, but that was a bad remark in one of the replies (Stephen ??) Think I also answered the remark about software installation requirements here. Do I need to give detailed info about my system? Take it for granted it is up to date, meet all requirements and so does my web host provider

    Thanks Frans

     
  • Greg Roach

    Greg Roach - 2010-04-19

    So, the problem is that you have not created a database on your local server.

    XAMPP includes phpMyAdmin.  To create a database, use phpMyAdmin (http://localhost/phpmyadmin).  The option to create a new database is on the main page.

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Mr Fish, thanks really for the help. At least you try to.

    Have reinstalled and unzipped and started all clean.
    This phpmyadmin is a file or folder?
    Can find a file admin.php, but no other

    Using the directory as you mention, and this file:

    http://localhost/xampplite/htdocs/phpgedview/admin.php  (pasted from local browser address bar) gives following:

    Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

    If you think this is a server error, please contact the webmaster.

    Error 404
    localhost 04/19/10 15:50:07
    Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1

    What you mean with main page ? Wiki guide again?

    Main page is some welcome screen Installation guide after re-link gives the same sample window as I pasted the other error message from
    Under how to and FAQ is nothing to find about how to set up the (empty) data base  and where

    I have a trainer certificate my self. Did some training sessions on people and know how difficult things can be to explain.
    Making a manual or guide is even a thousand times more difficult.

    Hope you can give me some more time, and really do appreciate the help.
    But things are just not clear (yet) to me.

    Frans

     
  • Greg Roach

    Greg Roach - 2010-04-19

    <<This phpmyadmin is a file or folder?>>

    It is an application.  It is found in c:\xampp\phpMyAdmin.  It is accessed using http://localhost/phpmyadmin.

    Find this, and create your database.  You cannot do anything else until after you have created the database.

    <<http://localhost/xampplite/htdocs/phpgedview/admin.php>>

    After you have created the database, try this address: http://localhost/phpgedview

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-19

    Frans
    No one has been less than helpful with you - and if you have misinterpretted our attempts to assist (with instructions and URL pointers) due to a language issue, please forgive us.  Our frustration is helping you is that you don't read the instructions, nor follow suggestions provided. It has been previously asked if you had created a database and had a username and password.

    Now Greg provides specific instructions on how to access PhpMyAdmin in his reply:

    http://localhost/phpmyadmin

    Further, he said:

    XAMPP includes phpMyAdmin.

    However, you persist in looking at PGV for the program.

    Please try again, by following the instructions you have been provided by Greg. It is obvious that you don't understand a PHP-driven webserver, whether local or remote. PGV's instructions can not possibly describe every variation of platform or experience level by the future administrator (you).
    -Stephen

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Mr Fish (or is this Greg now?),
    I am doing my absolute best of try to follow and understand wat I am told. Think I explained above about training and manuals.
    Hopefully this is not going to end up in a useless discussion of who is doing what wrong. Don't want that. All I hope and would like is get the program (application) to work, and if not, so be it. Have said that also in the beginning.
    So back to the instructions and maybe I am missing something again here.
    Did search in the xamp and PHPGV folders
    Have re-installed and unzipped everything here and the only file I find is  << admin.php >>
    Try opening tyhat one gives the error message as I said before.

    I know what the difference is between a program and an application, have said also I am new in this SQL and PHP. Somewhere something is missing and I have just no idea what.

    Again, on my web provider, SQL sits in total different location. Go there, click make data base, give name and am finished.
    Go back to where my website files sit, open other PHP application, tell this is my data base name and do some nice things with it. That works. Easy enough.

    So I ask again, am I maybe looking at the wrong admin file ??
    Should there be anohter, that means I clean and unzip all again once more.
    At the moment there is nothing with admin in XAMP, there is no admin folder, all I have is admin.php in htdocs/phpgedview/
    Double click  it or singe click it it will ask to open or save, both will end up in loop
    Pointing to it through address bar local host and all, gives before mentioned error message

    So forgive me if I misunderstand something, but I do what I can and still appreciate all help.
    Frans

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Guys I am keeping busy doing my best
    I see now I do make a mistake.
    Got now into this screen looking the same as online SQL department.
    SQL MY Admin.
    See also here that probably through one of the other programs I did make a database.
    That one however does not work with PHPGV

    So having admitted I do not have much expererience in this one, the new question is how to make a new and empty data base here ?

     
  • Greg Roach

    Greg Roach - 2010-04-19

    Why are you looking for a file called admin.php?  (Although phpGedView contains this file, it is nothing to do with setup/installation).

    You need an application called phpMyAdmin.  It is part of XAMPP, and you access it using a browser at http://localhost/phpmyadmin

    Have you typed this address into your web-browser?  Did you get the phpMyAdmin application?  Did you use it to create a database?

    <<Have re-installed and unzipped everything here and the only file I find is << admin.php >> >>

    You mean you only have one file?  Something is wrong.  If you unzip PhpGedView-basic-4.2.3.zip, there should be 1000s of files and directories.

     
  • Greg Roach

    Greg Roach - 2010-04-19

    <<That one however does not work with PHPGV>>

    Just create a new one.  You can have lots of databases.

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Mr Fish am sorry, it is about reading interpretation and understanding.
    At first with the reply you gave I started looking for this admin file' See my last reply, and I typed the local host string in.
    So now got the admin running and on screen, and here is my lack of knowledge. How to create database here? As said online on provider is ease, but just don't see it here.

     
  • Frans van Lier

    Frans van Lier - 2010-04-19

    Maybe must make my own questions more clear now, but am getting tired and frustrated myself.
    Create database, leave the next field with the arrow as it is, and click create.
    Then get message no tables . should be ok since I need empty database
    Go back to the PHPGV installation, type in the data base new name, same error as before, bad connection  and configuration

    Getting late and log off for now.
    Thanks guys

     
  • Greg Roach

    Greg Roach - 2010-04-19

    <<Create database, leave the next field with the arrow as it is, and click create.>>

    This will work, but it is better to select the "utf8_unicode_ci" option here, instead of leaving it blank.

    For practice, you can delete the database and create it again.

    <<Then get message no tables . should be ok since I need empty database>>

    Correct.

    <<Go back to the PHPGV installation, type in the data base new name, same error as before, bad connection and configuration>>

    In the phpGedView installation, you need to type in the database details (host, port, username, etc.).  Tell us what values you entered for all these fields.

    <<same error as before, bad connection>>

    You should always tell us the *exact* error message.  It really helps!

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-19

    Frans
    Perhaps when you awaken, you'll be of fresh mind to tackle this project.
    As Greg said: "In the phpGedView installation, you need to type in the database details (host, port, username, etc.). Tell us what values you entered for all these fields."

    In addition to the creation of a utf8_unicode_ci collated database, you will need a Username and password. You may wish to use the master name you are using to create the DB itself, but it would be preferable to create a new user, with its own password, and then assign all rights and privileges to the created PGV database to that user.  These are common phpMyAdmin procedures that are well-documented by phpMyAdmin's extensive help files and can also be found by a Google search for "create a new user with phpMyAdmin", "assign rights to a user with phpMyAdmin", etc.

    Once you have an empty database created, and a proper username and password which has all rights and privileges to access, create tables, etc to that database, then and only then can you properly configure PGV by entering these values into the install/configuration form.
    -Stephen

     
  • Frans van Lier

    Frans van Lier - 2010-04-20

    Mr. Fish, or Greg?,

    have PHPGV local running here. Really apreciate your help and the time you gave to this. Finally can start test and see how all works and probably put online in my own website. Thanks a lot for all this.
    For some of the other replies posted above:

    I will repeat the wiki guide shows a shortcoming on some things. Maybe there is a lot of information, and it looks detailed, but never forget there is people who are new in this matter. Like me I have said from the start I do not know a lot of SQL and PHP. Is new stuff.
    I do know about databases.
    So from starting it looked strange to need an empty one. That is no database.
    Then the pointing to install.
    I have installed I don't know how many programs in the past, so for someone a bit less understanding in this, install is a file, double click that and some installation will start running.
    So for sample instead of saying use this or that file, it might be a bit more clear to say, type this or that address in your browser addres bar.

    I do also like the word persist in this.
    Why do you persist in directing me back to the well detailed wiki help pages? Was even told there is thousands of people who did install and use the program without any problem. That might be true. But can you believe there is also another thousand of people who encounter problems? Most people will just give up. A lot of people maybe even do not start. Very few people might actually not be shy and try to find help somewhere. That is how I ended up here on the pages. If the manual can not answer me, I try and find another way.
    What I hope, maybe more people with install problems read this, and maybe it helps in a way.

    As last, try to understand that the help pages might be full of info, but maybe some things could be more written in understandable beginner language. If that is too much or difficult, point out in the starting section that the beginning user should start browse for the PHP information as mentioned above.

    Ask yourself when was the last time you did read the complete manual for the new TV set or video or coffeemaker. People don't most of the time, even less if it is a lot information.

    Once again, I really do appreciate the help I received. Am happy it is up and running and I can start try test.
    All the best and thanks guys
      

     

Log in to post a comment.