• Resolved charkins

    (@charkins)


    I’m unable to either add a new site, nor edit the ones I have. I get this error: WordPress database error: [Unknown column ‘displaylink’ in ‘field list’]
    The plugin reports “Website details successfully added.” but there’s nothing on the portfolio page.

    I’ve tried:
    deactivating and re-activating
    deleting and re-installing
    forcing the table upgrade on the settings page

    I’m using Version 1.31.
    Thanks for your help!!

    https://www.ads-software.com/extend/plugins/wp-portfolio/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello

    Thanks for your message. Only just spotted this support request.

    That’s really odd that you’re having the issue, as the plugin should create the table, even when forced. The code is correct, so there appears to be a niggle preventing it from working. You did the right thing by trying to force the table upgrade.

    Here’s the SQL you can execute to add the missing column. wp_WPPortfolio_websites must be the name of your websites database table.

    ALTER TABLE wp_WPPortfolio_websites ADD displaylink VARCHAR( 10 ) NOT NULL DEFAULT 'show_link';

    Kind Regards
    Dan

    Thread Starter charkins

    (@charkins)

    Oh boy, out of the frying pan and into the fire?

    I run the SQL line above, and the new site was added. But now I get a message “Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in D:\Inetpub\mysitename\wp-content\plugins\wp-portfolio\lib\thumbnailer.inc.php on line 575”

    It won’t go away when I refresh either!! It just sits there for all my guests to see ??

    Thanks for your continued assistance,
    Carol

    Hi Carol

    That’s a security issue with your host.

    If you’re happy enough to edit files, edit thumbnailer.inc.php and change on line 575:

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    to
    //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

    (or just remove that line completely.

    See if that helps.

    Dan

    Thread Starter charkins

    (@charkins)

    I’ll try that – but it never was an issue before with my host.

    Also, I just uploaded my own thumbnail and the error message is gone. So is this message only associated with the thumbnails from Shrink the Web?

    Hi Carol

    Hosting companies tweak and change settings all the time, so things do change.

    You’ll get the error each time it tries to fetch a thumbnail (usually externally from the host but not always). If you change the thumbnail caching setting period to unlimited, then new thumbnails will only show when you refresh them.

    Kind Regards
    Dan

    Thread Starter charkins

    (@charkins)

    Hi Dan,
    OK, I get that. Fair enough!

    I commented out the code, so now that error is no longer showing. But I am getting a new error from Shrink the Web – “other_error – Data from STW was empty.” and the thumbnail placeholder says “Error Showing Thumbnail”. Is this something I should be contacting Shrink the Web about?

    I’m also seeing a wp-portfolio folder in the root of the wp-content folder, in addition to the wp-portfolio folder inside the plugins folder. The one in the root has a subfolder called cache, but nothing else is in there. Should that folder be there? Can/should I delete it?

    Thanks again for your direction,
    Carol

    Hi Carol

    Could you drop me an email please (via wpdoctors.co.uk) with your WP admin login details? Might be easier if I just take a peek at what’s going on!

    Dan

    Thread Starter charkins

    (@charkins)

    dan@ ?

    dan.harrison@ ?? or wpdoctors.co.uk/contact

    Dan

    This was due to a problem with your STW account, having verified with the STW team.

    To help others, if you get this error: “other_error – Data from STW was empty.” – then check your STW Account by logging in. If there are problems with your STW account, it will show up in your dashboard.

    The FAQ will be updated to cover this on the next update.

    Thanks!
    Dan

    Thread Starter charkins

    (@charkins)

    Thanks for your help Dan! Much appreciated!

    HI Mr. Dan:

    In the same group, can i have the thumbnail image of id 1 into left and that of id 2 in the right side…alternating in this pattern.

    Thanks in advance,
    hirajan

    Hi hirajan

    This really should be in a different thread. WP Portfolio does not natively support this, but it could be added. We’re not looking to add any new features currently, unless they are sponsored. If you are interested in this, please let me know.

    Thanks
    Dan

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WordPress Portfolio Plugin (WP Portfolio)’ is closed to new replies.