Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-07-06 14:24:03

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_twitter

Pat64 wrote:

Michael,

I’ve got this error after activation of your plugin:

@Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/xx/xxxxxxxxxx/htdocs/textpattern/lib/txplib_misc.php(574) : eval()’d code on line 116
Error on loading mem_twitter plugin
——

I’m assuming you have the latest version of the plugin. What is your txp version?

Offline

#26 2009-07-06 18:41:58

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,643
GitHub Twitter

Re: mem_twitter

Tested with your latest version on a TXP 4.0.6.

I’d tried it on a TXP 4.2.0 (svn) without any warning error but nothing send to Twitter…

Could you give me some advices.

Best regards Michael,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#27 2009-07-08 20:07:45

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: mem_twitter

Hello,
I’ve the same problem like Pat64, pieman and woof with textpattern 4.08 and mem_twitter 0.3.1.
Nothing is updated on twitter.com and there are no error messages or error_logs.

phpinfo(); says:

allow_url_fopen	On	On
cURL support 	enabled
cURL Information 	libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5 

textpattern/administration/diagnostic says:

PHP-Version: 5.2.0-8+etch15
PHP Server API: apache2handler

I reentered several times the username and changed the password to a less difficult one, no change.

Any hint?

Andreas

Offline

#28 2009-07-09 21:10:48

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,643
GitHub Twitter

Re: mem_twitter

@Andreas

This works for me :

YToxMDp7czo0OiJuYW1lIjtzOjExOiJtZW1fdHdpdHRlciI7czo2OiJhdXRob3IiO3M6MTQ6Ik1pY2hhZWwgTWFuZnJlIj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ZiAoaXNzZXQoJGNhY2hlRmlsZSkpIHsNCgkJCWZpbGVfcHV0X2NvbnRlbnRzKCRjYWNoZUZpbGUsICRyZXN1bHQpOw0KCQl9DQoNCgkJcmV0dXJuIG5ldyBTaW1wbGVYTUxFbGVtZW50KCRyZXN1bHQpOw0KCX0NCg0KfQ0KDQp9IjtzOjQ6InR5cGUiO3M6MToiMSI7czo1OiJvcmRlciI7czoxOiI1IjtzOjM6Im1kNSI7czozMjoiOTg0MmI3NTI0YjI4OWFiNmRjOTUxZDY2ZTE1ZjRjZmEiO30=

Now for an another website (without PHP 5.x) I would like to include the Twitter class from an external server (with PHP 5.x) but I don’t know if it’s possible and how to achieve that.

Any ideas?

Last edited by Pat64 (2009-07-09 21:14:00)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#29 2009-07-09 22:56:28

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: mem_twitter

@Pat64
the plugincode doesn’t work textpattern says, don’t know, couldn’t try it.

I actually changed to txp_twitter.
With a small edit, as mentioned in the comment —> http://textpattern.org/plugins/804/txp_twitter, I got it to run …

Andreas

Offline

#30 2009-07-10 05:55:54

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: mem_twitter

Pat64 wrote:

Now for an another website (without PHP 5.x) I would like to include the Twitter class from an external server (with PHP 5.x) but I don’t know if it’s possible and how to achieve that.

Won’t work like that.

Offline

#31 2009-07-10 07:03:24

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,643
GitHub Twitter

Re: mem_twitter

Jukka

Tks for your answer. And sorry for my question : obviously, it was stupid. PHP is a server side language for the current server where scripts run.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#32 2009-08-10 04:04:41

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_twitter

v3.2 is posted and adds some extra error logging when not in live mode. This does present an interesting problem since the write tab does not ping when not in live mode. You’ll need to comment out lines 1171-1172 in include/txp_article.php to troubleshoot.

Offline

#33 2009-08-10 05:45:24

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: mem_twitter

Does not ping Twitter for me using 4.2.0rc1 – neither the v3.2 nor the previous one. Works fine on 4.08. Any ideas..?!

Offline

#34 2009-08-10 13:45:44

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_twitter

jstubbs wrote:

Does not ping Twitter for me using 4.2.0rc1 – neither the v3.2 nor the previous one. Works fine on 4.08. Any ideas..?!

“You’ll need to comment out lines 1171-1172 in include/txp_article.php to troubleshoot.”

Offline

#35 2009-08-10 19:44:33

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: mem_twitter

I did that before posting here, but saw nothing untoward, and the two latest TXP Tips have not been sent to Twitter. Commenting out the two lines did fix the other problem I saw with RSS/Feedburner feeds – a recognised bug

Offline

#36 2009-08-24 18:19:15

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: mem_twitter

I’ve had sporadic outages with this plugin, even before the 4.2.0rc1 update, but it is now working on my site jQuery Style and I didn’t even comment out those lines. At least my latest two posts worked fine… just FYI


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

Board footer

Powered by FluxBB