After that I installed ImageGallery (modules-image_gallery-r536.tar.gz). I had some issues with this module, decided to deal with them later, and tried to go back to the situation before. So I removed the image_gallery directory from the root of my SilverStripe installation, and did a /dev/build. No errors showed...
But if I go to (mysite)/admin/assets I get this error:
[User Error] Bad RecordClassName '' and $baseClass not set
GET /admin/assets/Line 2762 in /var/www/silverstripe/sapphire/core/model/DataObject.php
What did I do wrong? And more important: how can I get back my admin/assets page?
1 August 2011 at 6:37am
(Last edited: 1 August 2011 6:39am),
The last query of the three:
SELECT * FROM SiteTree_versions WHERE ClassName = '';
gave me 11 rows. I deleted them with
DELETE FROM SiteTree_versions WHERE ClassName = '';
Then I ran /dev/build, that showed: "* Removing orphaned versioned records". So far it looked good...
But now my /admin/assets page still gives me the same error!
I also noticed that my database still has these tables: ImageGalleryAlbum, ImageGalleryItem, ImageGalleryPage, ImageGalleryPage_Live, ImageGalleryPage_versions. Would it be save to "drop" these? It scares me a little to make changes to my database outside the CMS.