Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » [Solved] 2.3.1 - Warning: Warning: there are two 'XXXXX' files both containing the same class
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: [Solved] 2.3.1 - Warning: Warning: there are two 'XXXXX' files both containing the same class | 150 Views |
-
[Solved] 2.3.1 - Warning: Warning: there are two 'XXXXX' files both containing the same class

17 June 2009 at 11:42am Last edited: 18 June 2009 9:17am
Hi all,
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.
Cheers
Aaron -
Re: 2.3.1 - Warning: Warning: there are two 'XXXXX' files both containing the same class

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.
-
Re: 2.3.1 - Warning: Warning: there are two 'XXXXX' files both containing the same class

18 June 2009 at 9:17am
Hi Will,
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.
Cheers
Aaron
| 150 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Cristian, Achilles Interactive
Welcome to our latest member: J2-Paul


