Trying Out the Viewer from the "Pre-modern Japan-Asia Relations Digital Archive"

Overview The “Pre-modern Japan-Asia Relations Digital Archive” was released on July 25, 2025. https://asia-da.lit.kyushu-u.ac.jp/ The viewer is also available at: https://github.com/localmedialabs/tei_comparative_viewer In this article, I share my experience trying out this viewer. As a result, I was able to self-host it as shown below: https://tei-comparative-viewer.aws.ldas.jp/ It loads the following XML file of “Kaitoshokokki” (Record of Countries and Peoples in the Eastern Sea): https://asia-da.lit.kyushu-u.ac.jp/viewer/300 Running Locally Detailed instructions are provided at the following link, which I followed to get it running: ...

July 29, 2025 · 33 min · Nakamura

Handling the CSRF: Value is required and can't be empty Error in Omeka S

Overview In Omeka S, I encountered an issue where the error message “CSRF: Value is required and can’t be empty” was displayed when trying to save an item associated with many media, and saving would not complete. This article explains how to address this error. Related Articles This is mentioned in articles such as the following. It appears to be a known error, and it is stated that php.ini needs to be modified. ...

October 2, 2024 · 2 min · Nakamura

'session.name' is not a valid sessions-related ini setting

Overview The following error occurred during Omeka S operation. ' s e s s i o n . n a m e ' i s n o t a v a l i d s e s s i o n s - r e l a t e d i n i s e t t i n g This same issue was reported in the following forum. ...

July 1, 2024 · 1 min · Nakamura

File Upload (Python) and Download (PHP)

I had an opportunity to upload files to a server, so this is a memo of the process. The image receiving program running on the server was created in PHP. Please be careful about security. upload.php < ? ? > p $ $ $ i } m h r p d f o p o a i v o t r ( e t h n ! m _ a f k u = = m i d p e l i l " $ e r o . _ = _ ( a / P e $ d " O d x d e ; S i i i d T r s r _ [ n t n f " a s a i p m ( m l C a e $ e e h t ( d , ( a h $ i $ n " p r 0 _ g ] a n 7 F e ; t a 5 I h m 5 L a ) e , E s ; ) S ) t [ a r ' p { u m p e e r ) d o ; i p a r ' i ] a [ t ' e t . m p _ n a m e ' ] , $ r o o t . $ p a t h ) ; The program to upload files via POST was created in Python. It posts the local image file and the output destination path. ...

June 3, 2022 · 3 min · Nakamura