Locale is unable to rebuild lost Javascript translation files

[title-raw]

If you get on your site an error like this:

warning: file_get_contents(sites/default/files/languages/ar_bb3f64e1d3c493008e8d5eee5511c741.js) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/html/uberdrupal/includes/common.inc on line 2359.

or you found a lot of "Page not found" errors in dblog related to JavaScript translation files, probably is a Drupal Bug (if files permissions are all ok).

Indeed Locale is unable to rebuild lost js translation files, if one of these gets accidentally corrupted or lost there is no way to tell Drupal to rebuild it. This is true in all versions of Drupal 6.x, the last too.

To rebuild these files you HAVE TO use an ad hoc module (Local Rebuild Javascript), created by plach, until the patch would be applied or when you'll update your site to Drupal 7.

Reference: Drupal.org Issue.

Drupal Association Membership!

[title-raw]

Eventually i've purchased the Drupal Association Membership for €22 (approx $30).

Supporting the Drupal Project!

PS. You can found me at http://association.drupal.org/user/7410

WebGL: i Browser supporteranno presto la terza dimensione

Qbox - Slideshow con HTML5 e WebGL

Che io abbia usato la parola "Browser" con la prima lettera maiuscola non è un caso; Infatti con l'ingresso del tag <canvas> inserito dalle specifiche HTML 5, Gecko e Webkit si apprestano a supportare le funzionalità 3D introdotte da WebGL.

WebGL è uno standard che consiste in librerie con le quali è possibile accedere all'intero set di istruzioni OpenGL 2.0 or OpenGL ES 2.0; librerie ultimamente utilizzatissime grazie all'esplosione di giochi per iPhone OS (iPod Touch, iPhone e ovviamente anche l'ultimo nato iPad).

Per poter provare le prime demo realizzate con WebGL (in sostanza HTML 5 + Javascript) è necessario munirsi di un browser compatibile e aprire le pagine html contenenti le demo ufficiali.

Per iniziare c'è Learning WebGL (lezioni ispirate da quelle del grande NeHe) oppure uno dei tanti framework già disponibili, ad esempio SceneJS.

Neanche a dirsi Internet Explorer, browser con la b minuscola, non li supporta (magari dopo aver completato le specifiche css2?).

Sito ufficiale per WebGL: Khronos Group.

Recent comments

Social Me

DA Member

Drupal Association Badge