Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Product Portfolio


Go to End
Reply


12 Posts   3850 Views

Avatar
iammow

Community Member, 2 Posts

30 January 2011 at 1:59pm

I am very new to silverstripe and CMS in general and am trying to implement something similar to this I've installed dataobject_manager module and swfupload, on using your portfolio codes above, I have flushed the database but now my admin page will no longer load, wondered if anybody could help?

Here is what my flush says:

PortfolioItem
Table PortfolioItem: created
Field PortfolioItem.ID: created as int(11) not null auto_increment
Field PortfolioItem.ClassName: created as enum('PortfolioItem') character set utf8 collate utf8_general_ci default 'PortfolioItem'
Field PortfolioItem.Created: created as datetime
Field PortfolioItem.LastEdited: created as datetime
Field PortfolioItem.Title: created as mediumtext character set utf8 collate utf8_general_ci
Field PortfolioItem.Caption: created as mediumtext character set utf8 collate utf8_general_ci
Field PortfolioItem.PortfolioPageID: created as int(11) not null default 0
Field PortfolioItem.ThumbnailID: created as int(11) not null default 0
Field PortfolioItem.FullSizeID: created as int(11) not null default 0
Index PortfolioItem.PortfolioPageID: created as (PortfolioPageID)
Index PortfolioItem.ThumbnailID: created as (ThumbnailID)
Index PortfolioItem.FullSizeID: created as (FullSizeID)
Index PortfolioItem.ClassName: created as (ClassName)
PageComment
SiteConfig
SiteTree
Field SiteTree.ClassName: changed to enum('SiteTree','Page','PortfolioPage','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree' (from enum('SiteTree','Page','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree')
Field SiteTree_Live.ClassName: changed to enum('SiteTree','Page','PortfolioPage','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree' (from enum('SiteTree','Page','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree')
Field SiteTree_versions.ClassName: changed to enum('SiteTree','Page','PortfolioPage','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree' (from enum('SiteTree','Page','ErrorPage','RedirectorPage','VirtualPage') character set utf8 collate utf8_general_ci default 'SiteTree')
Email_BounceRecord
QueuedEmail
File
Group
LoginAttempt
Member
MemberPassword
Permission
PermissionRole
PermissionRoleCode
Widget
WidgetArea
Page

Any help would be appreciated, extreme n00b here!

Avatar
UncleCheese

Forum Moderator, 4096 Posts

30 January 2011 at 5:28pm

Edited: 30/01/2011 5:29pm

What do you mean by "admin page will no longer load"?

Avatar
iammow

Community Member, 2 Posts

30 January 2011 at 9:52pm

get this error, after trying to login:

the website encountered an error while retrieving http://localhost:8888/silverstripe/admin/. It may be down for maintenance or configured incorrectly.

Avatar
Deej

Community Member, 3 Posts

23 May 2012 at 2:48pm

Hi

Did anyone get anywhere with the write issue mentioned by Alfalfa Anne:

Call to a member function write() on a non-object in /home/content/g/o/u/gourmetsquare/html/chocolachocola.com/silverstripe/sapphire/forms/FileIFrameField.php on line 209

I'm running into the same issue.

It only happens when creating a new record.

I've noticed in other back ends sometimes uploading the image is blocked when uploading other data with a message saying something like "You can only add these images once you have saved" . Can I do this somehow?

Thanks
Daniel.

Go to Top