I'm working on a new blog and so far everything is working as expected, except one strange thing: I can't create a new category if its name contains unicode characters (I'm interested only in the following ones: ă, ț, ș, Ă, Ț, Ș). If one of these are in the category name, the following error message appears: "403 Forbiddden - Access to this resource on the server is denied!" Every text entry in the database has collation set to "utf8_unicode_ci", and any other accepts all possible characters. Can't figure it out why just "category_name" behaves like this...
So far I managed to find a workaround: creating a new category without unicode characters and then editing the corresponding "category_name" from "seredipity_category" table using phpMyAdmin. It works (see category "Prăjituri" here: http://manupropria.ro/), but it would be too much trouble for my client. Is there a simpler way to add a category with unicode characters in its name?
Unicode characters in Categories
Re: Unicode characters in Categories
Please add them as and array vars to you lang files in /lang/* and lang/utf-8/*. See examples here: https://github.com/s9y/Serendipity/blob ... nc.php#L17 and https://github.com/s9y/Serendipity/blob ... nc.php#L17
This should do. See http://board.s9y.org/viewtopic.php?f=11&t=20525
Edit: No sorry, the category name should do with those characters in the backend - in frontend they would just be /<category-id>-unknown, if called by category, eg "/categories/4-unknown" in the URL (and thats what we are talking about). But maybe the above helps here ..?
(I strongly assume this is another issue of your LiteSpeed Server...)
Code: Select all
$i18n_filename_from[...]
Code: Select all
$i18n_filename_to[...]
This should do. See http://board.s9y.org/viewtopic.php?f=11&t=20525
Edit: No sorry, the category name should do with those characters in the backend - in frontend they would just be /<category-id>-unknown, if called by category, eg "/categories/4-unknown" in the URL (and thats what we are talking about). But maybe the above helps here ..?
(I strongly assume this is another issue of your LiteSpeed Server...)
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Unicode characters in Categories
I contacted the hosting company about this issue and they deactivated a server-side mod_security filter.
Now I can insert any character I like in the Category name field. Problem solved!
Now I can insert any character I like in the Category name field. Problem solved!
Re: Unicode characters in Categories
BTW, that strange behaviour didn't affect just the unicode characters, in the New Category form I could use just the following characters: "a...z", "A..Z", "0...9" and "_". Any other character triggered that error message.