Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2010-03-09 17:19:30

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

I have arc_twitter running in a multisite setup now and it produces errors in the front- and backend:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /my/www/site/textpattern/lib/txplib_misc.php(594) : eval()‘d code on line 432
This error was brought to you by:arc_twitter

Is this due to some hard-coded paths or something? At first glance I didn’t find anything suspicious in the code, so the question is, has the plugin been successfully tested in a multisite environment yet?


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#42 2010-03-09 19:01:46

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi Stephan, I may be misunderstanding which line the error is occurring on but there don’t seem to be any issues in the code at that point. However, it appears to be the line that sets the cache directory. I’ve no experience of using Textpattern in a multisite environment so am unsure of how it handles these things. How does your setup handle image and file directories?

trailgirl, ummm this annoying little problem seems persistent. I’ve not heard anything from decoderltd as to whether or not the problem they were having was sorted out or not. Perhaps I need to look into this again. I will attempt to investigate this further some time this week.

Offline

#43 2010-03-09 19:14:38

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks, monkeyninja. I’m also going to do a new install of textpattern on another site this week, will let you know if I get the same error.

Offline

#44 2010-03-09 19:33:16

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Again, I failed miserably. When I moved my site to the new host (and multisite config) I forgot to adjust the paths according to the new server structure. arc_twitter works just fine, thanks for the great work!


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#45 2010-03-14 02:37:05

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 372
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Sorry if this has been covered elsewhere – can’t seem to find out: Is it possible to to have ‘Update Twitter’ set to ‘No’ by default?


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#46 2010-03-14 20:51:40

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

whaleen wrote:

Sorry if this has been covered elsewhere – can’t seem to find out: Is it possible to to have ‘Update Twitter’ set to ‘No’ by default?

You can now. I’ve just released arc_twitter version 0.2.3 that includes this option (plugin preference screen). I was also needing this feature so decided it was about time it got put in there.

This release also has what I really hope will fix that non-object error that a couple of you have been finding. trailgirl, I’d appreciate it if you could try the latest release on the site you were having problems with and let me know how you get on. Thanks.

Offline

#47 2010-03-14 21:11:18

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks, monkeyninja, I still get the error, different line# this time: eval()’d code on line 379 But it does work fine, sends out to twitter.

I have another site to check, as soon as I go live with it (on localhost right now), then I might know if it has something to do with my txp upgrade.

Offline

#48 2010-03-14 22:14:06

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 372
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

You can now. I’ve just released arc_twitter version 0.2.3 that includes this option (plugin preference screen). I was also needing this feature so decided it was about time it got put in there.

Thanks Andy. Great plugin.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#49 2010-03-19 15:37:36

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

I’m getting an error message when posting:

Warning: file_get_contents(http://tinyurl.com/api-create.php?url=http%3A%2F%2Fwww.childadvocacy.com%2Fnews%2F7983%2F) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 503 Service Not Available in [....]textpattern/lib/txplib_misc.php(594) : eval()'d code on line 413

The title of the post gets tweeted okay, but does not add the tinyurl link. This has happened on two posts this morning. I deleted the tweets from Twitter.

Edit: I’m using arc_twitter version 0.2.3

Last edited by trailgirl (2010-03-19 15:38:14)

Offline

#50 2010-03-20 18:27:18

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

arc_twitter started working again this morning. I’m guessing there was a temporary problem with the tinyurl service.

Offline

Board footer

Powered by FluxBB