RebeccaChen - Japan-Digital-Archives/Japan-Digital-Archive GitHub Wiki

Solr heatmap

Error: ParameterNotFoundException: You have requested a non-existent parameter "solrheatmap_url" Solution: Add the following line to app/config/parameters.ini: solrHeatmap_url = http://dev.jdarchive.org:8080/solr/zeega/select (If issue persists, ask Steve.)

Dev database

Javier's is at dev.jdarchive.org/javier2/web/admin/zeega/data/item/list

October 2015 Google Maps API change

See https://github.com/Japan-Digital-Archives/Japan-Digital-Archive/issues/1017. Creating a LatLng object with null values used to be fine but now causes an error.

Updating Japanese team page

I clone the repo into my VM, open the page with gedit, and paste the Japanese text.

Byte order marks (500 internal server error)

Some text editors insert a byte order mark at the start of a file. If this happens to a twig template, the parser may complain, which is a 500 internal server error on prod. On dev the following error message appears: "A template that extends another one cannot have a body but a byte order mark (BOM) has been detected; it must be removed in [file] at line [x]." Dumping the file with less can be used to check whether there really is a <U+FEFF> at the start of the file. A fix is to open the file in Emacs, type M-x set-buffer-file-coding-system and at the prompt set the encoding to utf-8, then delete and retype the first line.

Importing data

TODO

⚠️ **GitHub.com Fallback** ⚠️