Hi,
I have problem with translations - I can't save translated content. When I press "save" button, I get this error: "Error saving content".
- I put "i18n::enable();" in mysite/config
- I have done db/build...
Here is error description from debug:
Error: DATABASE ERROR: Couldn't run query: INSERT INTO SiteTree_lang SET Created = NOW(), Lang = 'lt' | Unknown column 'Created' in 'field list'
At line 431 in /var/www/html/www.domainname.lt/public_html/site/sapphire/core/model/Database.php
user_error(DATABASE ERROR: Couldn't run query: INSERT INTO SiteTree_lang SET Created = NOW(), Lang = 'lt' | Unknown column 'Created' in 'field list',256) line 431 of Database.php Database->databaseError(Couldn't run query: INSERT INTO SiteTree_lang SET Created = NOW(), Lang = 'lt' | Unknown column 'Created' in 'field list',256) line 108 of MySQLDatabase.php MySQLDatabase->query(INSERT INTO SiteTree_lang SET Created = NOW(), Lang = 'lt',256) line 81 of DB.php DB::query(INSERT INTO SiteTree_lang SET Created = NOW(), Lang = 'lt') line 523 of Translatable.php Translatable->augmentWrite(Array) line 395 of Object.php Object->extend(augmentWrite,Array) line 595 of DataObject.php DataObject->write() line 645 of DataObject.php DataObject->writeWithoutVersion() line 499 of LeftAndMain.php LeftAndMain->save(Array,Form) line 238 of Controller.php Controller->run(Array) line 104 of Director.php Director::direct(/admin/) line 158 of main.php
Where can be my mistake? Can be that it's depend from server configuration?
Server: Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
X-Powered-By: PHP/5.2.5
Silverstripe: 2.2.2