Path probs. trying to setup phpwebsite


#1

Hi, I’m trying to install phpWebsite (http://phpwebsite.appstate.edu) to my new site/account. Apparently, this should be pretty easy, but I am stumbling over step 4 of the clear-seeming install directions (I tried to include the entire install.txt, but the bb software keeps rejecting my post, so it may be too long).

My guess is that I am not getting the full path name right and/or I may have misconfigured my web site/domains thru the control panel (searching the Web on phpwebsite install doesn’t seem to turn up any posts w/ similar probs).

Step 1 (untar) went OK. Step 2, running a security script under a non-root option, seemed to work. Step 3, for Windows install, I skipped, since DH runs Linux. Step 4 says: “Open you browser to www.yourdomain.edu/setup/. Once this page has loaded, you will be prompted to create a configuration file.”…

OK, my domain is valchain.com, but haven’t changed the DNS entry at my registrar (I won’t do this until the new site is up and works). So, I want the “indirect” path to my domain. It looks like this should be:

http://www.dreamhost.com/home/valchain/valchain.com/setup/ or maybe http://www.dreamhost.com/home/valchain/valchain.com/phpwebsite-0.9.3-full/setup/ since this is the subdir that phpws installed itself in.

But, neither of these seem to work (w/ or w/o the www), so I also set up a subdomain at valchain.dreamhost.com to mirror my DH “valchain.com” account. Then i tried:

http://www.valchain.dreamhost.com/home/valchain/valchain.com/setup/ and http://www.valchain.dreamhost.com/home/valchain/valchain.com/phpwebsite-0.9.3-full/setup/ (both w/ and w/o the www).

So… I am getting a little stumped. Anyone see what I might be doing wrong? Thanks, Rick

Installation of phpWebSite

  1. Open you browser to www.yourdomain.edu/setup/. Once this page has loaded,
    you will be prompted to create a configuration file. The information you
    will need to enter here is as follows:

Database type - The type of database you are connecting to.
(mysql, postgre, etc.)

Database host: The database host you are connecting to, usually localhost.
(localhost, sql.myhost.edu, etc.)

Database username: The username you want to connect to your database as. This
user must have full access to the phpWebSite database.
(root, joe, etc.)

Database password: The password for the username you specified.
(youwish, youhad, mypassword, etc.)

Database name: The name of the database to store phpWebSite tables in.
(phpwebsite, mydatabase, yourdatabase, someotherdatabase, etc.)

Table prefix: This is a prefix to append to all tables for this phpWebSite
installation. This is used if you are installing multiple instances of
phpWebSite into the same database. (Leave this blank if you are unsure.)

Web Address: The actual web address to your phpWebSite site. DO NOT add http://
to this variable!!!

File Address: The path on your webserver to the phpWebSite source files.
Note: the command ‘pwd’ will give the path to where you are on a *nix system.
(/var/www/html/phpwebsite/)

Hub Hash: This is used for site security purposes. Make sure it is as random
as possible. A random hash is automagically generated for you each time the
setup script is run. If you do not like the hash that was generated, enter your
own. DO NOT LEAVE THIS BLANK AND DO NOT GIVE THIS HASH TO ANYONE!!

Install Password: The password to be used to access installation, conversion, and
upgrade features within phpWebSite. You will be asked for this password further into
this installation. DO NOT LEAVE THIS BLANK AND DO NOT GIVE THIS PASSWORD TO ANYONE!!

Once this information is entered, select the ‘Create Config File’ button to create your
config file and continue with the installation.


#2

Hi Bob,

Thanks so much for your help - it worked like a charm.

Thanks,

Rick