CSVImport Error on Install

Running a clean instance of Omeka S v1.1.1 on a Reclaim Hosting shared host package.

When I attempt to Install CSVImport module for Omeka S it returns HTTP Error 500 and logs the following error and calls to the Admin interface also return HTTP 500.

[15-Jul-2018 14:26:41 UTC] PHP Warning: require_once(/home/kickmale/public_html/modules/CSVImport/vendor/autoload.php): failed to open stream: No such file or directory in /home/kickmale/public_html/modules/CSVImport/Module.php on line 13

The call at line 13 in /home/kickmale/public_html/modules/CSVImport/Module.php is to:

require_once DIR . ‘/vendor/autoload.php’;

which is resolving to:


when in fact it should resolve to:


I then have to rename the module folder to be able to login to the Admin interface again.

Advice appreciated.

PS I use the CSVImport plugin with no issues on Omeka Classic.

Resolved the issue by editing CSVImport/Module.php at line 13 so that:

require_once __DIR__ . '/vendor/autoload.php';



Can the source for Module.php be changed to a defined Constant so that it does not use the Magic Constant dir as the path to /vendor/autoload.php is always going to be constant for any Omeka S instance.