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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Migrating images?


Reply


3 Posts   984 Views

Avatar
Rawbit

Community Member, 52 Posts

29 September 2009 at 8:47am

I'm trying to mirror/clone a silverstripe website already installed. Right now everything works fine except the images/assets. I'm copying the File, HomePage, SiteTree tables&data from one database into the other so all of the relationships of the images on HomePage and File are exactly the same. However, these images don't show up in either the front or back-end... Am I missing something simple? I've also included the assets folder and all subfolders/files from the old to the new.

Any idea why these images aren't showing up in either the front-end or back end of the cloned site?

Avatar
Rawbit

Community Member, 52 Posts

6 October 2009 at 2:06am

Bump

Avatar
dalesaurus

Community Member, 283 Posts

6 October 2009 at 3:38pm

Have you tried throwing the site into Dev mode and manually doing some DataObject::get on 'File' and 'Image' to see what kind of error are thrown? Initially it seems like you have copied over the right DB tables and files to make this work.