• Resolved jchatelain

    (@jchatelain)


    Hi,
    Thanks for your great plugin!
    I have an issue with the plugin and can’t post messages anymore. Could it be a problem with the version of PHP?

    I created a WP for testing purpose and it was working fine on it. Today, I moved from hosting and reinstalled a fresh WP with the same plugins and the same configuration and the guestbook stopped working. The only difference I see when going to the debug tab is the PHP version (from 5.4.45 to 5.6.21) and MYSQL (from mysql to mysqli). I don’t see any errors in the console.

    Thank you.

    https://ww.wp.xz.cn/plugins/gwolle-gb/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcel Pol

    (@mpol)

    What exactly do you mean with “can’t post messages”.
    You can submit the form, but the entry doesn’t get saved?

    It might have to do with upgrading the database tables. What you can do is go to the database in phpmyadmin. In the wp_options table should be a gwolle_gb_ver field, where you can change the version number for a lower one.
    Then when you login to wp-admin, it should run the upgrade function, and probably will convert the database tables.

    You could even confirm this by looking in phpmyadmin. The collation of gwolle_gb_entries will first probably be utf8_general_ci and will after the upgrade be utf8mb4_general_ci.

    If it still doesn’t work after this, could you go to Guestbook > Settings > Debug, and try the test button. Please tell me the result and post the extra info as well.

    Thread Starter jchatelain

    (@jchatelain)

    Hi,

    What I mean is that the form is submitted but there’s always an error message displayed. The entry is saved in the database though. When I go to wp-admin and click to delete a message nothing happens and the message is still there.

    I changed the version number for a lower one but it’s still the 1.7.4 that is shown. I went to phpmyadmin and changed the collation of gwolle_gb_entries for utf8mb4_general_ci. This doesn’t work.

    Here is the result for the test:

    Test standard : 👎 Échec
    Test Emoji 👎 Échec
    Version de WordPress : 4.5.3 (db: 36686)
    Thème WordPress Unite
    Extensions actives : Array ( [0] => cpt-bootstrap-carousel/cpt-bootstrap-carousel.php [1] => gallery-one/init.php [2] => gwolle-gb/gwolle-gb.php [3] => qtranslate-x/qtranslate.php [4] => smart-countdown-fx/smartcountdownfx.php )
    Version PHP : 5.6.21
    Version de MySQL : 5.5.49-0+deb7u1-log
    MySQL Charset: MySQL Charset: utf8
    MySQL Column Charset: utf8mb4
    MySQL / MySQLi : mysqli
    Variables MySQL : Array ( [character_set_client] => utf8 [character_set_connection] => utf8 [character_set_database] => utf8 [character_set_filesystem] => binary [character_set_results] => utf8 [character_set_server] => utf8 [character_set_system] => utf8 [character_sets_dir] => /usr/share/mysql/charsets/ )

    Thanks for your time

    Thread Starter jchatelain

    (@jchatelain)

    Hey,

    Just a quick update on my case. It was my entire fault 🙁
    I dropped the gwolle_gb_entries table yesterday but when I recreated a new one I forgot to auto increment and set the id as primary key.
    Everything’s working fine now.
    Sorry for the noise and thanks for your time.

    Plugin Author Marcel Pol

    (@mpol)

    Ah, good to hear :).
    I was very confused by the info in your second post.

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

The topic ‘Guestbook stopped working with PHP 5.6.21’ is closed to new replies.