Can't Add Element to Item Type


Trying to add an element to Item Types results in a java script error box stating “Unable to get a new element”. I have checked the error log and am not seeing any server error. Can someone please help.


I have searched every forum and have not found a solution to my issue. Does anyone have any suggestions? Thanks.


Solved the issue. Played around with the .htaccess file and got it working.


What kind of change did you end up making? I don’t think we’ve really seen your specific error before much.


I can not recall what the origninal .htaccess looked like, but here is what I ended up with.
.# ------------- #
.# Rewrite Rules #
.# ------------- #

RewriteEngine on

.# If you know mod_rewrite is enabled, but you are still getting mod_rewrite
.# errors, uncomment the line below and replace “/” with your base directory.
RewriteBase /omeka/

.# Allow direct access to files (except PHP files)
.#RewriteCond %{REQUEST_FILENAME} !-f
.#RewriteCond %{REQUEST_FILENAME} !-d

.#RewriteRule ^(.).htm$ $1.php [NC]
.#RewriteRule ^admin/.
$ /var/www/html/omeka/admin/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/ - [C]
RewriteRule .* admin/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php

the “.#” is to bypass the css of the forum.


If you want to post “code” like this in the future, you can paste it in, select it and click the </> button in the post toolbar.