712 résultat(s) trouvé(s)

Exporter en PDF

1 - 35 Communications, London- Royaume-Uni

Suite

2 - Abernathy MacGregor Group, San Francisco- États-Unis

Suite

3 - Abernathy MacGregor Group, Los Angeles- États-Unis

Suite

4 - Abernathy MacGregor Group, New York- États-Unis

Suite

5 - Agatep Associates, Pasig City- Philippines

Suite

6 - All Response Media, London- Royaume-Uni

Suite

7 - All Response Media North, Leeds- Royaume-Uni

Suite

8 - Arad Communications, Tel Aviv- Israël

Suite

9 - archibald ingall stretton, Mexico City- Mexique

Suite

10 - archibald ingall stretton, London- Royaume-Uni

Suite

 TIOException

TIOException

Description

Unable to save to file /home/havas/www/havas-dyn/site/protected/messages/fr/messages.xml, file must be writable.

Source File

/home/havas/www/havas-dyn/classes/prado/I18N/core/MessageSource_XLIFF.php (280)

0269:         $messages = $this->untranslated;
0270:         if(count($messages) <= 0) return false;
0271: 
0272:         $variants = $this->getVariants($catalogue);
0273: 
0274:         if($variants)
0275:             list($variant, $filename) = $variants;
0276:         else
0277:             list($variant, $filename) = $this->createMessageTemplate($catalogue);
0278: 
0279:         if(is_writable($filename) == false)
0280: throw new TIOException("Unable to save to file {$filename}, file must be writable.");
0281: 0282: //create a new dom, import the existing xml 0283: $dom = new DOMDocument(); 0284: $dom->load($filename); 0285: 0286: //find the body element 0287: $xpath = new DomXPath($dom); 0288: $body = $xpath->query('//body')->item(0); 0289: 0290: $lastNodes = $xpath->query('//trans-unit[last()]'); 0291: if(($last=$lastNodes->item(0))!==null) 0292: $count = intval($last->getAttribute('id'));

Stack Trace

#0 /home/havas/www/havas-dyn/classes/prado/I18N/Translation.php(91): MessageSource_XLIFF->save(NULL)
#1 [internal function]: Translation::saveMessages(Object(TApplication), NULL)
#2 /home/havas/www/havas-dyn/classes/prado/TComponent.php(355): call_user_func(Array, Object(TApplication), NULL)
#3 /home/havas/www/havas-dyn/classes/prado/TApplication.php(1044): TComponent->raiseEvent('OnEndRequest', Object(TApplication), NULL)
#4 /home/havas/www/havas-dyn/classes/prado/TApplication.php(358): TApplication->onEndRequest()
#5 /home/havas/www/havas-dyn/site/index.php(21): TApplication->run()
#6 {main}
2012-05-20 15:44 Apache PRADO/3.0.6