kbking
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Not being able to use international characterMaybe I’ll clarify that I have again added a new contact form, to see if everything is translated into Swedish, which the blog is set to. And yes, everything is nicely translated into Swedish, including the message section at the bottom of the Admin page.
The short code that I’m asked to paste looks like this: [contact-form 1 "Kontaktformulär 1"], which is correct according to the languge settings.
In fact by using exactly this short code it breaks right there and the page shows this:
[contact-form 404 "Not Found"]. From includes / controller.php, I guess.But if I change the said short code into this:
[contact-form 1 "Kontaktformular 1"]then suddenly the contact form appears on the page.By substituting the character ä with the character a, it clearly makes all the difference.
Forum: Fixing WordPress
In reply to: Post and commentsI guess I know now. It seems that this piece of code handles it:
<?php $withcomments = 1; ?>So I simply commented that out.
Forum: Fixing WordPress
In reply to: Post and commentsNo, sorry, I haven’t selected that specific post.
I can put it this way instead, I think it is somewhat clearer as to what I mean:
The first post and its comment is from June 16 2009 and came with the installation.
The second post is one I made myself after I finished the installation Hello World 2 and with one comment “Checking”.
When I browse the archive from June 2009 the first post Says:
Hello World
Welcome to WordPress. This is your first…etc.
Comments (1)
The second post however says:
Hello World 2
Welcome to WordPress. This is your second…etc.
Comments (1)
One comment to “Hello World 2”
admin says:
16 june 2009 at 11:16 (Edit)Checking
Forum: Fixing WordPress
In reply to: Unknown character set in php_error.logHello again!
Now I noticed that without the lines #86 and #87 which reads:
if ( !empty($this->charset) && version_compare(mysql_get_server_info(), '4.1.0', '>=') ) $this->query("SET NAMES '$this->charset'");the error message disappeared!
My question: If I comment out these two lines, will it cause problems elsewhere in the WP-application?
Forum: Fixing WordPress
In reply to: Unknown character set in php_error.logMaybe I should have mentioned that I am a novice when it comes to coding.
I have my wp locally on my development server using WAMP5 v. 1.7.2.
I can see that the error message originates from line #87 in wp-db.php, which reads:
$this->query("SET NAMES '$this->charset'");Since I can´t use the utf-8 encoding because it messes up the special characters that I need for my native language, ie. å,ä,ö, I have changed to ISO-8859-1. I made the change in Admin->Options->Read.
I can see that many if not all of the wp core files have utf-8 encoding, should I change in every instance to the setting I have in Admin->Options->Read, that is to ISO-8859-1?
I really want to get rid of this error message, please advice!