After upgrading from Drupal 6.15 to 6.16, my site's pages were displaying two "Could not create file" messages (in fact its a Dutch language site, so the message is "Het bestand kon niet aangemaakt worden"). The log says "An error occurred during creation of the JavaScript translation file for the language Dutch".

Log contents:

Type: lokalisatie:
Lokatie: http://www.example.com/admin/reports/event/2229
Doorverwijzer: http://www.example.com/admin/reports/dblog
Bericht: Er is een fout opgetreden bij het aanmaken van het bestand met Javascript-vertalingen voor de taal Nederlands.
Zwaarte: fout

So I restored my backup to get rid of these annoying messages. The remarkable thing is: the offending messages only vanished after restoring the database backup, not after restoring the files backup.

My question is: is this a permissions error on some directory? If so, which directory should I make writable?

Comments

mshepherd’s picture

Just to check:
Did you remember to run the update.php script?

mshepherd’s picture

Check out this thread:
http://drupal.org/node/338630

Post there if it seems to fit with what you're experiencing.

CJ_Dekkers’s picture

Yes, I did execute update.php.
The thread you mentioned contains a similar however different issue: "file not found" as opposed to "could not create file". However, it contains a valuable suggestion: I will retry the upgrade, and clear the cache afterwards. Will take a week because I can't meddle with the live system right now.

CJ_Dekkers’s picture

I have the following workaround: if I set the default language to English, the problem disappears. This workaround is not quite satisfactory because Dutch users get a mixed language interface. Maybe this is a bug in 6.16?