Installation/Upgrade 2.0

From SubjectsPlus
Revision as of 15:32, 8 August 2015 by Agdarby (Talk | contribs) (Created page with " == Upgrade to Version 3.x == * [http://www.subjectsplus.com/wiki/index.php?title=Installation/Upgrade_3.0 Upgrade to Version 3.x] == Upgrade to 2.x instead == Version 2.x...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Upgrade to Version 3.x

Upgrade to 2.x instead

Version 2.x has a new installer/updater/configurator feature that means that you no longer have to mess with the config.php file. The process is similar for installing or updating SP 2.x.

Install

  • Download the files and extract to your webserver.
  • Create a blank database with a user for SubjectsPlus. This user should have SELECT, INSERT,

UPDATE, ALTER and DELETE privileges. Note the name of your db, user, and password.

  • Point your browser to the control folder, i.e., www.yoursite.edu/sp/control/
  • Follow the instructions

Upgrade

  • Backup your data! Perhaps work with a copy of your database.
  • Download the files and extract to your webserver
  • Check your MySQL user permissions--you will need SELECT, INSERT,

UPDATE, ALTER, DELETE, CREATE and DROP privileges

  • Point your browser to the control folder, i.e., www.yoursite.edu/sp/control/
  • Follow the instructions
  • If you have custom pluslets, copy them over to your new version

Additional Configuration

After either installing or upgrading, you should go to admin > site config and look at the options.

Drag'n'drop catalog search box (used in guides) will need to be localized. Go to control/includes/classes/sp_Pluslet_5.php and put in your own search form. The default example is from a Voyager catalog (circa 2011) WITHOUT the form action being set.

Folder Permissions

For everything to work smoothly, some folders need special permissions which they might not have by default. (The first two probably were OK or else the installer would have conked out.)

/control/includes/config-default.php --- readable by php to make config.php

/control/includes/ --- writable by php to write config.php

/subjects/.htaccess --- writable by php to write .htaccess

/api/.htaccess --- writable by php to write .htaccess

/assests/users/ --- writable by php to make new user folders

/assets/images/video_thumbs --- writable by php to add new video thumbnails