kinkistyle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Disappearing punctuation!Try changing your character encoding and see what happens. Like from utf-8 to Western ISO.
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1I fixed teh Exhibit bug by simply delving into the exhibit10.php plugin file and adding this line right before the get_currentuserinfo() call:
$incfile = 'wp-includes/pluggable-functions.php';
$c=0;
while(!is_file($incfile))
{
$incfile = '../' . $incfile;
$c++;
if($c==30) {
echo "Could not find pluggable-functions.php.";
exit;
}
}
require_once($incfile);
So dirty. So hacky. Whatcha gonna do right?
There is a similar piece of code directly above the get_currentuserinfo() call that does the same thing when looking for wp_config.php. Apparently the creator of Exhibit used a lot of dirty hacks too ;D
I am only keeping Exhibit around for old “legacy” posts that used it as I call most of my new photos from Flickr Gallery now.
Forum: Plugins
In reply to: Exhibit install error: Call to undefined function: get_currentuserinfo()I got the same problem. Here’s what I did to fix it:
Right before the call to get_currentuserinfo() in the exhibit10.php plugin file I added this:
$incfile = 'wp-includes/pluggable-functions.php';
$c=0;
while(!is_file($incfile))
{
$incfile = '../' . $incfile;
$c++;
if($c==30) {
echo "Could not find pluggable-functions.php.";
exit;
}
}
require_once($incfile);
Now it works. Yep, its dirty and its hacky but I am too busy to deal with clean fixeds ??
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1The Exhibit gallery is not working with 1.5.1. Apparently it is calling a function called get_currentuserinfo() that has been moved over to the new pluggable_functions.php file and is not finding it. Disable that plug-in before upgrading!