Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Uncaught Fatal Error / CSRF Token Invalid When Uploading Media

edited July 2019 in Troubleshooting

Hello all! New to Collective Access and to the forum. We've recently installed version 1.7.8 and have been running into some concerning issues. When trying to add media to objects or trying to update the status of an object to "accessible to the public", both of which I have posted below. Either we are brought to a page with a "uncaught fatal error" or it will say that the CSRF token is invalid at the top. The logs do not contain even a trace that the record was attempted to be modified. I understand this may have been an issue with previous versions but was supposed to have a fix for 1.7.8. Any help would be greatly appreciated!


  • Try setting CA_STACKTRACE_ON_EXCEPTION in your setup.php file to true and you'll get more information on the problem. Alternatively, look at the current day's log in app/log. It'll also have information about the exception.

  • I'm still encountering the error lately, although less frequently. Unfortunately, our institution has strict sanctions on what I can do/view as an archivist and are working through a setup that is incredibly limited (e.g. no access to the command line) so it has had implementing CA harder than it has to be. Below is the error received when trying to upload media. Seems to be a timeout error in SQL?

  • You have some other process locking the database. It's really hard to say what the issue is just based on these screen shots.

  • joshc, I have exactly the same problem as you do. (csfr token/uploading image/fatal error/database locked) Did you figure out a fix or workaround?

Sign In or Register to comment.