Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hm, from looking at your blog, in your case it seems everything is fine.

    When you’re in the admin panel, editing options for the Flattr plugin, is the domain still “pixellibre.net”? Because that’s the URL that is used for the callback.

    If the callback domain is not the problem, then I don’t know, sorry.
    Fixing the domain solved the issue for me, but maybe in your case it’s a different issue.

    Did you use the correct callback domain as described n my post?

    Solved this.

    Had to register a new app with flattr using the correct full domain “jan.varwig.org”.

    I have the same problem.
    I sniffed the traffic going to api.flattr.com and this is the result:

    Request from my blog:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    Response from api.flattr.com

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Callback Invalid. What could that mean?

    My blog is installed at jan.varwig.org.
    The flattr plugins callback domain is just “varwig.org”
    Could that be the problem?

    Thread Starter Jan

    (@jan)

    Well, I’m running PHP 5.0.4,I just did a clean install of Mysql 5.0.17 and WP2 RC3.
    After installing I clicked on “Write” and tried to upload an image. This was the result:

    WordPress database error: [Field ‘pinged’ doesn’t have a default value]
    INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (‘1’, ‘2005-12-22 14:23:37’, ‘2005-12-22 13:23:37’, ‘PicDesc’, ‘PicTitle’, ”, ‘attachment’, ‘open’, ‘open’, ”, ‘pictitle’, ”, ‘2005-12-22 14:23:37’, ‘2005-12-22 13:23:37’, ‘-1135257799’, ‘0’, ‘image/jpeg’, ‘http://flowhp./wp-content/uploads/2005/12/Bild(23).jpg’)

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 3]
    SELECT category_id FROM wp_post2cat WHERE post_id =

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ 1)’ at line 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 1)

    WordPress database error: [Out of range value adjusted for column ‘post_id’ at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_wp_attached_file’,’D:\Jan\HTML\pages\kackreiz.net/wp-content/uploads/2005/12/Bild(23).jpg’)

    WordPress database error: [Out of range value adjusted for column ‘post_id’ at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_wp_attachment_metadata’,’a:4:{s:5:\”width\”;i:640;s:6:\”height\”;i:480;s:14:\”hwstring_small\”;s:23:\”height=\’96\’ width=\’128\’\”;s:4:\”file\”;s:70:\”D:\\Jan\\HTML\\pages\\kackreiz.net/wp-content/uploads/2005/12/Bild(23).jpg\”;}’)

    Warning: Cannot modify header information – headers already sent by (output started at D:\Jan\HTML\pages\kackreiz.net\wp-includes\wp-db.php:102) in D:\Jan\HTML\pages\kackreiz.net\wp-admin\inline-uploading.php on line 99

    The SQL-Mode for this connection was:
    STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION (Default for fresh MySQL Installations).
    All tables are MyISAM

    Thread Starter Jan

    (@jan)

    Taking a look at the Tracker and the Repository this hasn’t been dealt with yet.

    I have written a small hack/plugin for those who want to test RC3 under MySQL5 right now:

    <?php
    /*
    Plugin Name: MySQL5 compatibility
    Plugin URI:
    Description: Activates MySQL5 compatibility for WP2.0 RC3 by disabling strict mode in MySQL.
    Author: Jan
    Version: 1
    Author URI:
    */
    function mysql_5_compat_on () {
    global $wpdb;
    $sVersion = $wpdb->get_var("select @@version");
    if ( $sVersion{0} == 5 ) $wpdb->query('set sql_mode="";');
    }

    add_action('init', 'mysql_5_compat_on');
    ?>

    Thread Starter Jan

    (@jan)

    Do you mean “fixed just now“, or “fixed before and your setup is probably broken” ?

    Thread Starter Jan

    (@jan)

    Well, I could, but most people don’t have a clue about databases. And strict mode is the default for MySQL 5.

    Also, disabling strict mode would only suppress the symptom, not the cause of the error.

    I created a ticket for this: http://trac.ww.wp.xz.cn/ticket/2115

    I’m amazed this problem is known at least since beginning of November and hasn’t even been recognized since: http://trac.ww.wp.xz.cn/ticket/1808

    Forum: Fixing WordPress
    In reply to: Geman Umlaute
    Jan

    (@jan)

    Ok
    For this and the 2 other bugs I discovered yesterday, I’ve put up a page with details and fixes which can be reached here:
    http://www.kackreiz.net/wordpress.php
    There you can download the Latin-2-UTF plugin

    Thread Starter Jan

    (@jan)

    Ok
    For this and the 2 other bugs I discovered yesterday, I’ve put up a page with details and fixes which can be reached here:
    http://www.kackreiz.net/wordpress.php

    Forum: Fixing WordPress
    In reply to: Geman Umlaute
    Jan

    (@jan)

    I fixed it:
    The reason for all this hassle was WP1.2 using UTF-8 for everything. My old entries from 0.72 were still Latin-1, so was my text-encoding index.php. I changed it to UTF-8. The new entries looked fine old but the old ones did not.
    I wrote a little plugin to convert entries (Umlauts) from Latin1 to UTF-8, that fixed it for me.

    Forum: Fixing WordPress
    In reply to: Geman Umlaute
    Jan

    (@jan)

    I’m getting the same Problem.
    It seems the stuff I put into the Post-Field gets converted to UTF8 before inserting it into the DB. I can’t find the position where this takes place. I’d really like to diable this, since it makes my texts really ugly, even in up-to-date Browsers.
    Any hints?

Viewing 12 replies - 1 through 12 (of 12 total)