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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Image gallery instllation


Go to End


3 Posts   1430 Views

Avatar
ravik

Community Member, 10 Posts

14 June 2012 at 11:26pm

Edited: 14/06/2012 11:29pm

i have install the silverstripe v2.4.7 in linux, and it is working fine.
but now i want to install image gallery module,
that Dataobjectmanager,imagegallery, swfupload i have downloaded in the www.silverstripe.org

After that i have extracted the Dataobjectmanager,imagegallery,swfupload tar file , and i put it in to root folder,that is
my application folder var/www/silverstripe/.
after this i have logined into admin module and i tryed so many type in the url
a) /dev/build/?flush=1

b) /dev/build?flush=1

c) /dev/build?flush=all

but i am getting error like The action dev/build is not in the class CMSMAIN

Please give me the solution for this as soon as possible

Avatar
Willr

Forum Moderator, 5523 Posts

15 June 2012 at 12:55pm

Avatar
ravik

Community Member, 10 Posts

16 June 2012 at 7:31pm

Thank u very much for giving the solution to my previous problem.

Now the thing is

Step 1: I copied my dataobject_manager folder in to my application root folder
Step 2: I went to browser and typed in the url like http://yoursite.com/dev/build/?flush=1

It gives the below para in the Blue color, and the remaining lines in the black color and green color.

File
Field File.ClassName: changed to enum('File','FLV','MP3','Image','Folder','Image_Cached') character set utf8 collate utf8_general_ci default 'File' (from enum('File','Image','Folder','Image_Cached') character set utf8 collate utf8_general_ci default 'File')
Field File.SortOrder: created as int(11) not null default 0

-------------------------------------------------------------------------------------------------------------------------------------------
Step 3: I copied my swfupload folder in to my application root folder
Step 4: I went to browser and typed in the url like http://yoursite.com/dev/build/?flush=1

It gives every line in the black color.

-------------------------------------------------------------------------------------------------------------------------------------------------
Step 5: I copied my image_gallery folder in to my application root folder
Step 6: I went to browser and typed in the url like http://yoursite.com/dev/build/?flush=1

It gives the below para in the Blue color, and the remaining lines in the black color and green color.

SiteTree
Field SiteTree.ClassName: changed to enum('SiteTree','Page','ImageGalleryPage','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','ImageGalleryPage','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','ImageGalleryPage','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')

File
Field File.ClassName: changed to enum('File','FLV','MP3','Image','Folder','ImageGalleryImage','Image_Cached') character set utf8 collate utf8_general_ci default 'File' (from enum('File','FLV','MP3','Image','Folder','Image_Cached') character set utf8 collate utf8_general_ci default 'File')

at the end it gives Database build completed!
--------------------------------------------------------------------------------------------------------------------------------------------------
After this i login to my admin

step 1: I select the image gallery page in the dropdown list and i clicked on the go button

But it giving error like "error loading page"

Please give me the solution for this problem, i am waiting for your reply.