Page 1 of 1
Key words not being substituted
Posted: Mon Nov 06, 2006 3:56 pm
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.
Re: Key words not being substituted
Posted: Tue Nov 07, 2006 10:10 am
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
That was it!
Posted: Tue Nov 07, 2006 1:55 pm
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.
Re: That was it!
Posted: Tue Nov 07, 2006 2:06 pm
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