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.

All other Modules /

Discuss all other Modules here.

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

Problem with translatable


Go to End


3 Posts   1295 Views

Avatar
wachupe

Community Member, 15 Posts

14 July 2011 at 8:33am

By placing the module in the SilverStripe open up the Web and then sent me this ERROR

Warning: There are two files both containing the same class: '/home1/geyceing/public_html/prueba/sapphire/tasks/MigrateTranslatableTask.php' and '/home1/geyceing/public_html/prueba/silverstripe-silverstripe-translatable-515b028/code/tasks/MigrateTranslatableTask.php'. This might mean that the wrong code is being used. in /home1/geyceing/public_html/prueba/sapphire/core/ManifestBuilder.php on line 487

Fatal error: Class 'DataExtension' not found in /home1/geyceing/public_html/prueba/silverstripe-silverstripe-translatable-515b028/code/model/Translatable.php on line 163

use silverstripe 2.4.5

Avatar
Invader_Zim

Community Member, 141 Posts

14 July 2011 at 9:12am

Hi wachupe,

don't use the Translatable module with SS.2.4.5. It's meant for SS.3.0...
If you delete it, the error will be gone.

Good news is, SS.2.4.5 has Translatable already built in.
Read more about enabling it here: http://doc.silverstripe.org/sapphire/en/topics/translation,
and I recommend to read this amazingly fine article from SSBits:
http://www.ssbits.com/tutorials/2011/using-translatable-to-create-a-simple-multilingual-site/ :-)

Cheers
Christian

Avatar
wachupe

Community Member, 15 Posts

14 July 2011 at 9:57am

thx for you help Invader_Zim (: