Forums

[Plugin: iLast.Fm] I cant use it! (5 posts)

  1. seosty
    Member
    Posted 1 year ago #

    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/

  2. 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.

  3. 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.

  4. jamisonfitz
    Member
    Posted 11 months ago #

    Worked for me, thanks!

  5. 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!

  6. aar0on
    Member
    Posted 10 months ago #

    Works just fine with PHP4.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags