Skip to content

collectiveaccess/pawtucket2

Repository files navigation

README: Pawtucket2 version 1.7.16

About CollectiveAccess

CollectiveAccess is a web-based suite of applications providing a framework for management, description, and discovery of complex digital and physical collections in museum, archival, and research contexts. It is comprised of two applications. Providence is the “back-end” cataloging component of CollectiveAccess. It is highly configurable and supports a variety of metadata standards, data types, and media formats. (You can learn more about it at https://github.com/collectiveaccess/providence). Pawtucket2 is CollectiveAccess' general purpose public-access publishing tool. It provides an easy way to create web sites around data managed with Providence. You must have a working Providence installation to use Pawtucket2.

About Pawtucket2

Pawtucket2 provides many features for finding, presenting and interacting with collections information, including:

  • Full text search
  • Configurable faceted browse
  • Ability to browse within search results
  • Configurable detail displays for collection objects and all authorities- you can show as much or as little information from your Providence back-end catalogue as you want
  • Support for "galleries" - simple online exhibitions using curator-defined sets.
  • Support for user-created tags, comments and lightboxes.
  • Not object-centric. While objects are usually the focus of a collections front-end, with Pawtucket2 they don't have to be. You can search and browse in any authority in addition to collection objects. This makes Pawtucket2 useful for specialized applications such as biographical catalogues (focussed on people rather than objects) and collection-level archival finding aids (focussed on collections rather than objects).

Pawtucket2 is meant to be customized. The download package includes a neutral default theme that supports all functionality. You can edit the CSS stylesheets and view templates to make Pawtucket fit into most any design scheme.

All CollectiveAccess components are freely available under the open source GNU Public License version 3.

About CollectiveAccess 1.7.16

Version 1.7.16 is a maintenance release with these bug fixes and minor improvements:

  • Fix for issue preventing correct display of relationship types for non-self-relationships (Eg. object-entity relationships)
  • Update vendor libraries to incorporate security fixes
  • Fix issue where detection of PDFs using Zend_PDF library option would throw a fatal error

Note that this version supports 7.3 and 7.4. It is not yet compatible with PHP 8.

Updating from a previous version

NOTE: The update process is relatively safe and rarely, if ever, causes data loss. That said BACKUP YOUR EXISTING DATABASE AND CONFIGURATION prior to updating. You almost certainly will not need it, but if you do you'll be glad it's there.

Updating from version 1.7 or later

Before attempting to upgrade your Pawtucket2 installation to version 1.7.16 make sure your Providence installation has been updated to 1.7.16. While it is often possible to run an older version of Pawtucket2 with a newer version of Providence, it is not guaranteed. It is usually not possible to run an older version of Providence with a newer version of Pawtucket2.

To update from a version 1.7.x installation decompress the CollectiveAccess Pawtucket 1.7.16 tar.gz or zip file, and replace the files in your existing installation with those in the update. Take care to preserve your media directory, custom theme (in themes/your_theme_name_here) and your setup.php file.

Once the updated files are in place navigate in your web browser to the home page of your Pawtucket2 installation. If you see the home page you're done. If you see this message:

"Your database is out-of-date. Please install all schema migrations starting with migration #xxx."

you have not updated your Providence installation to version 1.7.16.

Updating from version 1.6 or earlier

To update from a version 1.6.x or older installation decompress the CollectiveAccess Providence 1.7.16 tar.gz or zip file, and replace the files in your existing installation with those in the update. Take care to preserve your media directory and custom theme (in themes/your_theme_name_here).

Next rename your existing setup.php to something else (Eg. setup.php-old). Then copy the version 1.7.16 template in setup.php-dist to setup.php. Edit this file with your database login information, system name and other basic settings. You can reuse the settings in your old setup.php file as-is. Only the format of the setup.php file has changed.

Once the updated files are in place navigate in your web browser to the home page of your Pawtucket2 installation. If you see the home page you're done. If you see this message:

"Your database is out-of-date. Please install all schema migrations starting with migration #xxx. Click here to automatically apply the required updates, or see the update HOW-TO for instructions on applying database updates manually."

you have not updated your Providence installation to version 1.7.16.

Version 1.7 introduced zoomable media versions for multipage documents such as PDFs, Microsoft Word or Powerpoint. Systems migrated from pre-1.7 versions of CollectiveAccess will not have these media versions available causing the built-in document viewer to fail. If your system includes multipage documents you should regenerate the media in Providence using the command-line caUtils utility in support/bin. See the Providence README for details.

The latest development version is always available in the develop branch (https://github.com/collectiveaccess/pawtucket2/tree/develop). Other feature-specific development versions are in branches prefixed with dev/. To install a development branch follow these steps:

  1. clone this repository into the location where you wish it to run using git clone https://github.com/collectiveaccess/pawtucket2.
  2. by default, the newly cloned repository will use the main branch, which contains code for the current release. Choose the develop branch by running from within the cloned repository git checkout develop.
  3. install the PHP package manager Composer if you do not already have it installed on your server.
  4. run composer from the root of the cloned repository with composer.phar install. This will download and install all required 3rd party software libraries.
  5. follow the release version installation

Useful Links

To report issues please use GitHub Issues.

Other modules

Providence: https://github.com/collectiveaccess/providence (Back-end cataloguing application)