Just taking my first steps with this great package. I have some questions about the installation:
1. I am using some hosting services, I typically access thru ftp to upload my website. Can I perform a full configuration using this method? I don't know exactly how to change permissions, as the server is remote.
2. Even If I edit the config.php manually, the next step will require the creation of users. I have not found any instructions how to create it manually.
To sum up, is this package meant to be configure *only* if you have direct access to your own server?
Alternatively, If I install Apache + PHP, can I perform a full installation + configuration in my local PC and then upload it to my remote server?
Thanks,
Jake
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The only thing you should have to modify manually would be permissions. Your hosting service should have a FAQ regarding the modification of file permissions.
The creation of the users is done through the administrative web interface. No need to do that manually.
Good luck,
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most new webmasters, myself included, don't pay much attention to what OS their host is running on, and what extra services their host offers. Now that you are in the big leagues of installing your own php script, you may want to ask and jot down the following information:
What is your host's OS? Linux, Unix, or Windows?
What php version is your host running?
Does your host offer you terminal access via SSH (telnet)?
Does your host give you a control panel with a file manager?
Does your host give you mySQL databases?
Happy phpGedViewing!
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you can configure everything on a local site and then upload the files to your server. This is probably going to be your best bet if you cannot get the file permissions set.
Most FTP clients have a way to set file permissions, and as hicksj said, your host should also be able to tell you how to set permissions in their support docs. A lot of hosts use online control panels where you can set the permissions.
--John
PS.
For basic information, in index mode the users are stored in the index/authenticate.php file. The authenticate.php file has a format that looks like this:
<?php
Hi,
Just taking my first steps with this great package. I have some questions about the installation:
1. I am using some hosting services, I typically access thru ftp to upload my website. Can I perform a full configuration using this method? I don't know exactly how to change permissions, as the server is remote.
2. Even If I edit the config.php manually, the next step will require the creation of users. I have not found any instructions how to create it manually.
To sum up, is this package meant to be configure *only* if you have direct access to your own server?
Alternatively, If I install Apache + PHP, can I perform a full installation + configuration in my local PC and then upload it to my remote server?
Thanks,
Jake
The only thing you should have to modify manually would be permissions. Your hosting service should have a FAQ regarding the modification of file permissions.
The creation of the users is done through the administrative web interface. No need to do that manually.
Good luck,
J
Most new webmasters, myself included, don't pay much attention to what OS their host is running on, and what extra services their host offers. Now that you are in the big leagues of installing your own php script, you may want to ask and jot down the following information:
What is your host's OS? Linux, Unix, or Windows?
What php version is your host running?
Does your host offer you terminal access via SSH (telnet)?
Does your host give you a control panel with a file manager?
Does your host give you mySQL databases?
Happy phpGedViewing!
Tom
Hi Jake,
Yes, you can configure everything on a local site and then upload the files to your server. This is probably going to be your best bet if you cannot get the file permissions set.
Most FTP clients have a way to set file permissions, and as hicksj said, your host should also be able to tell you how to set permissions in their support docs. A lot of hosts use online control panels where you can set the permissions.
--John
PS.
For basic information, in index mode the users are stored in the index/authenticate.php file. The authenticate.php file has a format that looks like this:
<?php
$users = array();
$user = array();
$user["username"] = 'username';
$user["fullname"] = 'Full Name';
$user["password"] = '';
$user["canedit"] = array();
$user["rootid"] = array();
$user["gedcomid"] = array();
$user["canadmin"] = '1';
$user["email"] = 'youremail@yourdomain.com';
$user["verified"] = 'yes';
$user["verified_by_admin"] = 'yes';
$user["pwrequested"] = '';
$user["theme"] = '';
$user["language"] = 'english';
$user["reg_timestamp"] = '1078181302';
$user["reg_hashcode"] = '';
$user["loggedin"] = 'Y';
$user["sessiontime"] = '1079713574';
$user["contactmethod"] = 'messaging2';
$users["username"] = $user;
?>