Hello
i have a Problem with this Plugin. I cant activate it. I dont know why.
I get an error Message.
Here:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/1/000/025/760/64387/htdocs/portfolio/wp-content/plugins/ilastfm/ilastfm.php on line 315
Can anybody help me pls.
http://wordpress.org/extend/plugins/ilastfm/
leandrow
Member
Posted 1 year ago #
try this:
1. Found these lines on ilastfm.php:
private $apikey;
private $username;
private $method;
private $mode;
private $number;
private $period;
private $coverwidth;
private $cache;
private $imagecache;
private $jump;
private $nocover;
2. And replace it by:
var $apikey;
var $username;
var $method;
var $mode;
var $number;
var $period;
var $coverwidth;
var $cache;
var $imagecache;
var $jump;
var $nocover;
3. Activate plugin
Ps.: The plugin needs PHP5, check it.
leandrow
Member
Posted 1 year ago #
Try this:
1. Found these lines on ilastfm.php:
private $apikey;
private $username;
private $method;
private $mode;
private $number;
private $period;
private $coverwidth;
private $cache;
private $imagecache;
private $jump;
private $nocover;
2. And replace it by:
var $apikey;
var $username;
var $method;
var $mode;
var $number;
var $period;
var $coverwidth;
var $cache;
var $imagecache;
var $jump;
var $nocover;
3. Activate plugin
Ps.: The plugin needs PHP5, check it.
jamisonfitz
Member
Posted 1 year ago #
glamhaus
Member
Posted 11 months ago #
hey leandrow thanks i had the same problem and this allowed me to activate the plug-in but i am now having a problem with something in line 301. can anyone help??
www.skiddysmith.com/blog
thanx!
aar0on
Member
Posted 11 months ago #
Works just fine with PHP4.