Fatal error: Uncaught exception 'Doctrine_Import_Builder_Exception' with message 'Couldn't write file ./application/database/models/generated/BaseDb_Gallery_Photo_Translation.php' in /disk_1/www/cz/muzochveni/www/library/Doctrine/Import/Builder.php:1174 Stack trace: #0 /disk_1/www/cz/muzochveni/www/library/Doctrine/Import/Builder.php(989): Doctrine_Import_Builder->writeDefinition(Array) #1 /disk_1/www/cz/muzochveni/www/library/Doctrine/Record/Generator.php(450): Doctrine_Import_Builder->buildRecord(Array) #2 /disk_1/www/cz/muzochveni/www/library/Doctrine/Record/Generator.php(429): Doctrine_Record_Generator->generateClass(Array) #3 /disk_1/www/cz/muzochveni/www/library/Doctrine/Record/Generator.php(179): Doctrine_Record_Generator->generateClassFromTable(Object(Doctrine_Table)) #4 /disk_1/www/cz/muzochveni/www/library/Doctrine/Template/I18n.php(54): Doctrine_Record_Generator->initialize(Object(Doctrine_Table)) #5 /disk_1/www/cz/muzochveni/www/library/Doctrine/Record/Abstract.php(384): Doctrine_Template_I18n->setUp() #6 /dis in /disk_1/www/cz/muzochveni/www/library/Doctrine/Import/Builder.php on line 1174