ankurpiyush26 / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
1 stars 0 forks source link

Plugin not activated: Unexpected t_string #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the plugin
2. Activate the plugin

I expect the plugin to be activated.

Instead, the plugin is not activated, with the following explanation:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /homez.19/decamps/regis/blog/wp-
content/plugins/pubsubhubbub/publisher.php on line 10

Pubsubhub version 1.2

Wordpress version 2.8.4

PHP version 4.4.9
'./configure' '--enable-discard-path' '--with-config-file-
path=/usr/local/lib' '--enable-sigchild' '--with-pcre-regex' '--enable-
magic-quotes' '--enable-short-tags' '--with-exec-dir=/home/' '--with-
openssl=/usr' '--disable-rpath' '--enable-libgcc' '--disable-pic' '--with-
zlib=/usr' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr' '--
with-gdbm=/usr' '--with-db3=/usr' '--enable-dbase' '--enable-xslt=/usr' '--
with-xslt-sablot=/usr' '--with-dom=/usr' '--with-dom-xslt=/usr' '--with-
kerberos' '--with-dom-exslt=/usr' '--enable-exif' '--enable-mbstring' '--
enable-mbregex' '--enable-filepro' '--enable-ftp' '--with-ming=/usr/local' 
'--with-gd' '--with-expat-dir=/usr' '--enable-gd-native-tt=/usr' '--with-
jpeg-dir=/usr' '--with-png-dir=/usr' '--with-ttf=/usr' '--with-freetype-
dir=/usr' '--with-t1lib=/usr' '--with-gettext=/usr' '--with-
imap=/var/log/ovh/imap-2004g/' '--with-imap-ssl=/var/log/ovh/imap-2004g/' 
'--with-mcrypt=/usr' '--with-mhash=/usr' '--with-mysql=/usr' '--with-
mysqli=/usr/bin/mysql_config' '--with-pdflib=/usr/local/' '--with-jpeg-
dir=/usr' '--with-png-dir' '--with-tiff-dir' '--enable-trans-sid' '--with-
regex=system' '--enable-sysvsem' '--enable-sysvshm' '--with-xpm-dir=/usr' 
'--with-zziplib=/usr' '--enable-wddx' '--with-zip=/usr/lib' '--with-
sablot=/usr' '--enable-inline-optimization' '--with-gnu-ld' '--enable-soap' 
'--with-pspell' '--with-pgsql=/usr' '--with-gmp'
all php info: http://regis.decamps.info/phpinfo.php

Original issue reported on code.google.com by regis.de...@gmail.com on 11 Sep 2009 at 5:54

GoogleCodeExporter commented 9 years ago
The corresponding line is 
    protected $hub_url;

As such, I suppose the plugin requires PHP 5, but I think this was not 
mentioned on 
http://wordpress.org/extend/plugins/pubsubhubbub/installation/

Original comment by regis.de...@gmail.com on 11 Sep 2009 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by bslatkin on 15 Sep 2009 at 5:48

GoogleCodeExporter commented 9 years ago
This is an issue with the PHP library using OO code that isn't supported in PHP 
4.  I
have added a note to the installation page on WordPress mentioning this 
dependency. 
While backwards compatibility would be a good thing to add at some point in the
future, it's not a high priority at this time.

Original comment by joshfraz on 21 Sep 2009 at 11:12

GoogleCodeExporter commented 9 years ago
This is an issue for me as well. It would be nice to see a work around soon.

Original comment by kyleaba...@gmail.com on 23 Feb 2010 at 3:59

GoogleCodeExporter commented 9 years ago
There's an easy work around that would probably be good for you to do anyway... 
 upgrade to PHP 5.  :)

Original comment by joshfraz on 24 Feb 2010 at 7:34

GoogleCodeExporter commented 9 years ago
That's not an option for some of us. ;)

Original comment by kyleaba...@gmail.com on 24 Feb 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Closing, please reopen on https://wordpress.org/support/plugin/pubsubhubbub if 
you still need help with this. 

Original comment by the...@google.com on 26 Mar 2015 at 5:03