23376 Posts in 18214 Topics by 2867 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
17 June 2009 at 11:42am Last edited: 18 June 2009 9:17am
We have a SS site running on a live server, and I am in the process of migrating it to another server.
I have taken the base code from the current live site, and copied the database. I have set these both up on the new server.
When I open the site on the new server, in Dev mode, I am getting a few dozen warnings, this being the first:
Warning: Warning: there are two 'BulkLoader' files both containing the same class: '/home/xxxx/public_html/sapphire/dev/BulkLoader.php' and '/home/xxxx/public_html/cms/code/BulkLoader.php'. This might mean that the wrong code is being used. in /home/xxxx/public_html/sapphire/core/ManifestBuilder.php on line 276
Then a fatal error output of the above first warning.
This is all relating to files found in the new 'sapphire/dev' folder.
Any ideas what the fix is for this? I'm sure I've seen it, but a forum search only results in another person talking to himself.
17 June 2009 at 8:01pm Last edited: 17 June 2009 8:01pm
Try just deleting the duplicate files. Looking at the cms code for 2.3 I see no mention of BulkLoader etc so just remove the duplicate files from there.
18 June 2009 at 9:17am
Yes, I found the issue was that there were remnant files left in the cms and sapphire directories from the previous version of silverstripe.
Deleting /cms and /sapphire and re-uploading 2.3.1 versions from scratch fixed the issue.
|Go to Top|