WordPress.org

Ready to get started?Download WordPress

Forums

Social Links
Long URL Errors (2 posts)

  1. kyleboddy
    Member
    Posted 3 years ago #

    The errors people are having with their Facebook (and other) social sites getting cut off is due to a bug in the code at line 370:

    user_info VARCHAR(55) NOT NULL;

    When the plugin is activated, it creates a field with a maximum of 55 characters for site URLs. This is obviously insufficient for many sites, specifically Facebook. The correct line (with respect to memory considerations) should read:

    user_info VARCHAR(255) NOT NULL;

    What users can do to resolve this issue with already installed plugins are:

    1) Log into PHPmyAdmin and change this field to accept a maximum of 255 characters, then re-add each site that was faulty.
    2) Log into the MySQL database as admin using Toad or another MySQL editor and issuing the following command:

    alter table wp_social_links
    modify user_info VARCHAR(255);

    wp_social_links is what my plugin database table is named, but yours may not be.

    Contact your webhosting technical support to have them walk you through either step. Hopefully the author will patch this plugin soon.

    -Kyle

    http://wordpress.org/extend/plugins/social-links/

  2. piccioli
    Member
    Posted 3 years ago #

    great! why not changing the plugin ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic