Hi!
We might need to do it the hard way then.
Please edit your serendipity_plugin_twitter/twitteroauth/OAuth.php file and replace this:
Code: Select all
class OAuthException extends Exception {
// pass
}
with:
Code: Select all
$GLOBALS['oauthcount']++;
$fp = fopen('/tmp/oauth.log', 'a');
fwrite($fp, date('d.m.Y H:i.s') . ' - ' . $_SERVER['REQUEST_URI'] . ' - ' . dirname(__FILE__) . ': OAuth lib included for the ' . $GLOBALS['oauthcount'] . '. time' . "\n");
fclose($fp);
if (!class_exists('OAuthException')) {
class OAuthException extends Exception {
// pass
}
}
This adds a debugging output whenever the file is iinncluded, and writes that to /tmp/oauth.log (adapt the path if you cannot access that file).
The other if() check actually prevents the dual declaration of the classname so you might not get the PHP error anymore. Do check the logfile though, at some point you should see a "OAuth lib included for the 2. time" statement?
Regards,
Garvin