Home Forums General Discussions Open Topic Parse error: parse error, unexpected T_STRING in

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46660

    Anthony
    Participant

    Parse error: parse error, unexpected T_STRING in D:websitesmp3.freesofree.netrateconfig.inc.php on line 29

    is what i get.

    i moved the site from linux to windows last night, all works great except the fine rating system.

    config.inc.php
    <DB_USR>

    now when I had this system on linux, the paths were like:
    home/public_html/website/mp3/rate/
    i just changed them to match the windows directory structure but i guess that is not it.
    ive tried d:websitesmp3.freesofree.net
    and ive tried d:/websites/mp3.freesofree.net :P
    line 29: $RATE_PATH = "D:/websites/mp3.freesofree.net/rate/";
    i dunno

    #98586

    Anthony
    Participant

    and i just tried d:websitesmp3_freesofree_net thinking it was a period issue, but no

    #98587

    jeremiah
    Keymaster

    anthony – log in to your IM and I’ll see what we can do!

    #98588

    Anthony
    Participant

    ok i got rid of the parse error by using:
    "D:websitesmp3_freesofree_netrate";

    that seems to be ok.

    now there is another issue.

    the rating system stores the url in the database.
    for the mp3’s it stores:
    /albumdetail.php?AlbumID=XXXX

    for some reason, now it is storing:
    ?AlbumID=XXXX and throwing off everything.

    …getting close though

    #98589

    jeremiah
    Keymaster

    it looks like you need the trailing slash you had before

    #98590

    Anthony
    Participant

    sorry,
    trailing slash is in there

    here is the file as we know it now:

    config.inc.php:

    <DB_USR>

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.