You are not logged in.
Well, first It would be nice to have the option to display the date but not as an anchor. Then maybe have another attribute like a tweet’s permlink. So:
displaydate=“1” displaypermlink=“1” permlinktext=“View Tweet”
You would still need to have a way to add a separator.
Art Rogue – Fine Art Photography
Offline
hey kimili,
I’m trying to install this, and as soon as I put the <txp:kml_twitter/> tag in there, I get the following error:
Fatal error: Call to undefined function: get_headers() in /home/.jacobina/linea/disenorama.com/textpattern/lib/txplib_misc.php(574) : eval()‘d code on line 130
and nothing gets displayed
any clues as to what the problem can be?
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
@kemie – get_headers() is a PHP5 function. I suspect your server is running PHP4. Unfortunately, Kimili Twitter Timeline is written for PHP5. I may look into getting it working in PHP4 as time permits, though.
@mattmikulla – I’m cleaning up an update that should handle what you’re looking to do which will be available soon.
Offline
I look forward to it kimli. You rock.
Art Rogue – Fine Art Photography
Offline
thanks kimili. I’ll check that. I believe i have the option to upgrade to php5 for that domain.
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
kimili,
I was hoping to use your plugin, but i get an error. After a google search I’ve found that it’s probably caused by settings on my hosting’s server. I use GoDaddy and unfortunately I don’t have a choice as to hosting on the site I want to use the plugin. Any ideas how I might fix this? I’ve also emailed godaddy, but i doubt that will go anywhere.
Tag error: <txp:kml_twitter user=“kimili” /> -> Warning: fopen(): URL file-access is disabled in the server configuration on line 158
Tag error: <txp:kml_twitter user=“kimili” /> -> Warning: fopen(http://twitter.com/statuses/user_timeline/kimili.json?count=1): failed to open stream: no suitable wrapper could be found on line 158
Fatal error: Call to undefined function: file_put_contents() in /home/content/j/h/i/blah/html/miketest/textpattern/textpattern/lib/txplib_misc.php(574) : eval()‘d code on line 209
EDIT: I found this, don’t know if it’s applicable to your plugin though…http://pomocnik.com/users/dan/2005/10/warning-fopen-functionfopen-url-file-access-is-disabled-in-the-server-configuration/
Last edited by MikeTheVike (2009-01-09 15:23:53)
Offline
Hi Mike –
Thanks for bringing up this error. The page you found is indeed applicable to the plugin, as the plugin requests a file from twitter.com using fopen. I can work around this restriction. I also see one other problem in your error:
Fatal error: Call to undefined function: file_put_contents() in /home/content/j/h/i/blah/html/miketest/textpattern/textpattern/lib/txplib_misc.php(574) : eval()‘d code on line 209
file_put_contents() is a PHP5 function. If you’re getting an undefined error, that means you must be running PHP4. Do you have any way to upgrade to PHP5 on godaddy?
Cheers,
Michael
Offline
kimili,
thanks for the quick response! Can the first errors regarding fopen in the plugin be corrected by me changing some plugin code?
As far as the other error related to php4, I’m going to contact godaddy to see if I can have it switched. Fortunately this is just a test site, so when I start up another hosting account for the site I’m working on, I can request PHP 5 from the start.
Offline