Public Media Manager 1.0
NewsCMS Installation Instructions
- Extract
compressed pmm-cms package and upload to directory of your choice in your
web server.
- Install
the file /pmm-cms/NewsCMS/sql/newsdb.sql in your database. You can use a
tool such as PHPMyAdmin to do this. Alternatively, if you have shell
access to your web server, you can use MySQL’s command-line client to do
this step.
- Edit
the file, /pmm-cms/NewsCMS/newsdb/dbvars.php to reflect your database
connection information, editing the user, password and database variables.
- Edit
line 2 of the file /pmm-cms/NewsCMS/newsdb/config.php as necessary to
reflect the installation directory that the NewsCMS folder was placed in
on your web server. As an example, if you have placed the /pmm-cms
directory in a directory called /projects in your web root, the value of
$install_directory would be "/projects/pmm-cms/NewsCMS".
- Edit
lines 3-18 of this same file to reflect your specific station
information. Use the examples and the config file comments to determine
what values to place in these variables.
Notes:
- $pi_station_identification is your
Public Interactive ID used for PI’s JavaScript modules, if you are a PI user.
- $npr_station_identification is
similar, but for use with NPR modules
- If you use NPR’s localization
features when sending visitor’s to NPR’s website, use $npr_localization as a
switch to turn this feature on or off for NewsCMS.
- Use $npr_newscast_on to display
NPR’s newscast module on your news page.
- Set
the permissions (chmod) of the /pmm-cms/NewsCMS/news/audio and
/pmm-cms/NewsCMS/news/images directories to 0777 (R/W/X for
Owner/Group/Others). This is an important step--if these directories are
not writable by the web server and by PHP, it will be impossible to upload
audio and image files.
- At
this point, NewsCMS is installed. You can access the Admin panel by
visiting the "newsdb" directory at the path where you installed NewsCMS.
- The
default admin user/password is admin/admin. You should change these values
by editing the database fields as a security measure as soon as possible.
Note that the password field in the "newsusers" table is PASSWORD()
encrypted, so when storing a new password, be sure to encrypt it as such.