mzehrer / tweetlyupdater

Automatically exported from code.google.com/p/tweetlyupdater
0 stars 0 forks source link

Parse error in plugin install #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install plugin
2. activate plugin
3.

What is the expected output? What do you see instead?
Plugin successfully activated is the expected outcome.
Error message: Parse error: syntax error, unexpected T_STRING, expecting 
T_OLD_FUNCTION or T_FUNCTION or T_VAR or 
'}' in 
/nfs/c04/h03/mnt/85584/domains/*mydomain*/html/wp-content/plugins/tweetly-update
r/tweetly_updater_api.inc 
on line 5

What version of the product are you using? What version of Wordpress are you 
using? On what operating system?
Latest TweetlyUpdater plugin, latest wordpress, osx 10.4.11

Please provide any additional information below.

Original issue reported on code.google.com by hodgson....@gmail.com on 31 May 2010 at 11:31

GoogleCodeExporter commented 9 years ago
What is your PHP version?

Original comment by mizeh...@gmail.com on 1 Jun 2010 at 5:59

GoogleCodeExporter commented 9 years ago
I've getting the same error with v1.2.1 with WP 2.9.2:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in
/hermes/web07/b799/blu.bdweb304434/blog/wp-content/plugins/tweetly-updater/tweet
ly_updater_api.inc
on line 5

Original comment by steevit...@gmail.com on 1 Jun 2010 at 6:56

GoogleCodeExporter commented 9 years ago
I've used Tweetly Updater on other Word Press installs with no problem, so I 
checked
the PHP version on this server. I think that's the problem. It's version 4.4.9. 

Unfortunately, I don't have any control over what PHP version this ISP uses on 
the
server. Is there's anything in the plugin that really *needs* php 5.2? I've 
found in
the past, it's often pretty easy to rewrite a few lines of code and make a PHP 
app
compatible with a much wider range of PHP versions. Any idea what part of the 
code is
the problem in this case that's forcing the php 5.2 requirement?

Original comment by steevit...@gmail.com on 1 Jun 2010 at 7:12

GoogleCodeExporter commented 9 years ago
PHP 5 >= 5.2.0 is an explicit requirement, this is a personal project and I 
will not invest my fee time in making it php 4 compatible. But please feel free 
to send in  patches.

Original comment by mizeh...@gmail.com on 22 Aug 2010 at 11:45