Page Generator Install

Page Generator Install

Ten Easy Steps to get Page Generator CMS up and running! You will need to read though all 10 steps before you start the install. This CMS requires your hosting server to be a *nix based operating system that has Apache, PHP and MySQL install.

1. index.php and .htaccess information.
index.php: If you are uploading the files from the Page Generator CMS ZIP file to the root directory of you hosting account you much be careful that you don't overwrite your current index.php file if you have one. index.php is the controller file for the Page Generator CMS system. That means all the pages of the CMS are displayed through the index.php file with the slug URL. If you create a page and the page slug URL is "page-generator-install.html", then that page would be displayed by "index.php?keyphrasetabs=page-generator-install.html".
The root folder on the server is usually named "public_html" or "httpdocs".
Here is a example of how this page can be displayed:
seocompany.ca/page-generator/page-generator-install.html

.htaccess: Check to see if you have a .htaccess file in the root directory of your hosting account. If you have a .htaccess file delete the new .htaccess file that came with the Page Generator CMS install after you unzip the files. Access the htaccess.txt file that came with the Page Generator CMS files and add the contents from the htaccess.txt file to the .htaccess file that is in your root directory file on the hosting computer. Follow the instructions in the htaccess.txt file for editing the line number 11 (instructions can be found on the line number 9 and 10). After you have dealt with the .htaccess file, go ahead and use a FTP program to upload the following files to your root directory or to a directory with in your root directory that you want the CMS to be in.

2. Find out your cPanel login username and password and login.

3. Select the MySQL Databases icon.

4. In the Db: field add "pg" and click on the "Add Db" button.

5. Under the Users heading add a user name to the "UserName" field and a password to the "Passwords" field and click on the "Add user" button. Record you password in a log book.

6. Under the Databases heading click on the "Add Users to Db" button. From the Databases heading record the username and datebase name in the "User" and the "Db" fields in a log book.

7. Give "chmod 777" (read-write-execute) permission to the directory "images".

8. Edit the vars.php file and fill out the first 3 values with your recorded values (replace "new-value-here" with the username, password and database name you recorded in your log book). "localhost" is usually "localhost" on almost all hosting servers; however, please check with your hosting company to make sure that you have the correct value there. Next three consecutive lines contains the DB table names. If you are installing PG on an existing database, you may choose table names of your choice. The final two lines contain URLs for the images directory and the website directory respectively. Save the file "vars.php", and upload the changed copy to the directory on your hosting account where you uploaded the CMS files via an FTP program.

seocomp1_test = "new-value-here";
test1234 = "new-value-here";
seocomp1_newtest = "new-value-here";
localhost = "localhost";
pagegenpg1 = 'pagegen';
userspg1 = 'users';
slugurlpg1 = 'slugurl';
http://www.seocompany.ca/pg/images/ = 'http://www.your-domain.ext/directory/images/';
http://www.seocompany.ca/pg/ = 'http://www.your-domain.ext/directory'; // No forward slash at the end please.
?>

9. In your web browser access the test.php file from the location you uploaded your files to. This will verify that you are able to access your created database. You should get a "If there is no errors shown the host, user, password and db name are setup correctly!" message.

Here is a sample of the test file for the install on seocompany.ca. The install is in "public_html/page-generator" directory.
http://www.seocompany.ca/page-generator/test.php

10. In your web browser go to the following file http://www.your-domain.ext/directory/createdb.php. Add a new Username and Password at the "Create the default user for the publishing system" prompt and click on the "Create" button. You will get a message stating "Installation complete".

The database system is now set up. You can go to http://www.your-domain.ext/directory/backend.php and start adding pages. Please make sure that you delete the file "createdb.php" after you finish the installation.

Page Generator Errors

If you have added a page and when you click on the link under the article list you get a 404 error then there may be a problem with the .htaccess file. You can test to make sure the Page Generator CMS system is working by adding a page and displaying it with /index.php?keyphrasetabs=value-of-slug-url.
For example, here is this page with the .htaccess working and the keywords in the URL
seocompany.ca/page-generator/page-generator-install.html
Here is the same page which will display whether the .htaccess mod_rewrite is working or not.
seocompany.ca/page-generator/index.php?keyphrasetabs=page-generator-install.html
Just edit the URL that is not working and change the "page-generator-install.html" to "index.php?keyphrasetabs=page-generator-install.html" and it will work.

 

Page Generator Install

Page Generator Install

 
All Rights Reserved | Copyright © 2004 - 2007 SWS | XHTML 1.0 Strict Validated