Key words not being substituted

Found a bug? Tell us!!
Post Reply
jeffburton
Posts: 2
Joined: Mon Nov 06, 2006 3:50 pm

Key words not being substituted

Post by jeffburton »

About two weeks ago, my 1.0 install began to display programming keywords instead of the proper text (e.g. DATE_FORMAT_ENTRY, EDIT_ENTRY, ADMIN_FRONTPAGE, etc. ) Also, after each sentence in every post, it showed a Â.

I reinstalled all the files for serendipity and that fixed it for a couple of days. Now this morning I see it is broken again - and I haven't touched anything! Not even a blog post. My blog is here.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Key words not being substituted

Post by garvinhicking »

Hi!

If that happens, serendipity cannot load your language file.

This can only either be caused by missing or corrupted files in the "lang/" directory, or if you switched your blogs language to a language that does not / no longer exist?

Do you have files lang/serendipity_lang_en.inc.php and lang/UTF-8/serendipity_lang_en.inc.php, and are those files both readable and about 60kb in size?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jeffburton
Posts: 2
Joined: Mon Nov 06, 2006 3:50 pm

That was it!

Post by jeffburton »

Several of the files in files in UTF-8 were empty (0 bytes). I uploaded the correct copies and everything was fine. Thanks.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: That was it!

Post by garvinhicking »

Hi!

Okay, but this leaves the question how those files became 0 bytes. There is no serendipity function that touches those files, so there are only situations like:

- Your server crashed and your provider imported a backup
- Your provider might have run a script that touched/changed your files
- You or someone other used FTP access to touch/change those files

Did you ever experience issues like this, files getting removed/modified on your server?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply