Username
Forgot password?
Welcome to our site!
Or Join with FTTF

Exception on main page when moving from Windows dev machine to linux production server

0

617 views

Error: [ERROR 3070] local complex type: The content model is not determinist. (in in_memory_buffer - line 2056, column 0)
[ERROR 3070] local complex type: The content model is not determinist. (in in_memory_buffer - line 2065, column 0)

Exception Class: Lampcms\DevException

Error code: 1

File: /some/directory/lib/Lampcms/I18n/XliffCatalog.php

Line: 147

Trace:
#0 /some/directory/lib/Lampcms/I18n/XliffCatalog.php(106): parseFile('/some/directory/config/translations/messages.en_US.xlf')
#1 /some/directory/lib/Lampcms/Cache/Cache.php(726): __construct('/some/directory/config/translations/messages.en_US.xlf', 'en_US')
#2 (): xliff('en_US')
#3 /some/directory/lib/Lampcms/Cache/Cache.php(321): call_user_func(Array, 'en_US')
#4 /some/directory/lib/Lampcms/Cache/Cache.php(199): getKeyValue('xliff_en_US', NULL)
#5 /some/directory/lib/Lampcms/I18n/Translator.php(148): get('xliff_en_US')
#6 /some/directory/lib/Lampcms/Cache/Cache.php(744): factory(Lampcms\Cache\Cache, 'en_US')
#7 (): tr('en_US')
#8 /some/directory/lib/Lampcms/Cache/Cache.php(321): call_user_func(Array, 'en_US')
#9 /some/directory/lib/Lampcms/Cache/Cache.php(199): getKeyValue('tr_en_US', NULL)
#10 /some/directory/lib/Lampcms/Cache/Cache.php(387): get('tr_en_US')
#11 /some/directory/lib/Lampcms/Registry.php(211): __get('tr_en_US')
#12 /some/directory/lib/Lampcms/Registry.php(506): Lampcms\{closure}(Lampcms\Registry)
#13 /some/directory/lib/Lampcms/Registry.php(483): Lampcms\{closure}(Lampcms\Registry)
#14 /some/directory/www/index.php(71): __get('Tr')


 
asked March 22, 2013 at 3:58 PM

 lv

1 Answer

1
Best answer
 
I've never seen this type of error, so I Googled it.

It looks like someone was having the same error with Symfony2 project, and I know Symfony2 uses XLIFF for translation, just like Lampcms.

Here is the discussion on StackOverflow

http://stackoverflow.com/questio...not-determinist

Basically they say to upgrade or downgrade your libxml2

flag
answered March 22, 2013 at 6:16 PM
That was exactly my problem. Thanks!
flag
Mar 23, 2013 01:28 AM

Your answer

Join with account you already have

FTTF

Preview

Alert