twitterPost.php error message upon activation

By Mikey - January 14, 2015

I'm getting the following error message upon twitterPost.php plugin activation. The directory "twitterPost" I uploaded is 755 writable. Anyone have any suggestions on how to fix this?

Error: Couldn't find ini file '/home/abcdefg/public_html/cmsBuilder/plugins/twitterPost/access_data.dat.php'

Also: I tried the URL (http://dev.twitter.com/login?redirect_after_login=%2Fapps%2Fnew) in the "read.txt" file and it appears to be a dead link. Anyone know what the URL is that I need to go to?

And - I can' find the file (access_data.dat.php) in cmsBuilder... I'm assuming this is created when "twitterPost" successfully activates... is this correct?

Thanks,

Zick

By claire - January 23, 2015

Hi Zicky

Sorry for the wait on this - as far as I can tell, it is a missing file used for storing the OAuth information for Twitter.

Try this: create a file in the plugin directory called access_data.dat.php, and add the following code to it:

<?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
'oauth_access_token' => '',
'oauth_access_token_secret' => '',
'plugin_version' => '2.05',
);
?>

Then activate the plugin and authorize it. The authorization should save the token info into the access_data file.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/