anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

error display/logging? #216

Open NumerousHats opened 1 year ago

NumerousHats commented 1 year ago

Our scalar site has suddenly developed an issue where the "upload media files" form no longer appears. It's similar to #146, but it's not that, as #146 was related to a php issue that was fixed in a scalar 2.5 release AFAIK. Plus I only see the problem with one book (other books behave perfectly fine).

But that's not really my question. When I click "upload media files", I think I see a very brief flash of an error screen before it's replaced by a "blank" scalar page (just gray with the scalar menu bar at the top). How do I view or log the error message?

craigdietrich commented 1 year ago

Hi @NumerousHats ,

Sorry you ran into this problem! Are you able to View > Page Source the page (ie, look at the HTML of the page, not the rendered HTML in the Web Inspector). There might be a PHP error at the very top, which is the ghost you mention seeing when the page first loads.

If not, there's other things we can try,.

NumerousHats commented 1 year ago

Ahhh, I didn't realize that php errors would show up in the raw HTML. Good to know!

Yes, I see a whole slew of errors... Should I open a new issue or continue in this one (even though it has nothing to do with error display)?

craigdietrich commented 1 year ago

Can you email them to me at craigdietrich at gmail? Let's debug that way, we can post the results here for future users.