That file usually will be created on plugin install. Obviously it hasn't, probably because of permission issues. However, you can manually create that file in the gallery root with the following content:
[code]<?php
// define some basic element
define(...
[code]<?php
// define some basic element
define(...