Forums

Standalone Error (2 posts)

  1. Kevan
    Member
    Posted 4 years ago #

    Hey has anyone been using the standalone script? I tried it tonight and I keep getting an error on line 26 of the "last.fm.class.php" file - regardless of what I enter into that field.

    I have: public $username = 'kevantt';

    Apparently that won't work...

    Ideas?

  2. Jeroen Smeets
    Member
    Posted 4 years ago #

    Kevan, the standalone code is for PHP5. If your site is running on PHP4, you have to change the 'public' in the variable declarations on lines 26-32 to 'var'.

    -- Jeroen

Topic Closed

This topic has been closed to new replies.

About this Topic