Skip to:
Content
Pages
Categories
Search
Top
Bottom

Parse error: syntax error, unexpected T_STRING on line 2

  • I can´t get this work. I´ve done the wp-config file over and over again and still the line 2 has some problem. Please help me!

    <?php// ** MySQL-asetukset ** //

    define(‘DB_NAME’, ‘hereandthere’); // Tietokannan nimi

    define(‘DB_USER’, ‘skiffe’); // MySQL-kannan käyttäjätunnus

    define(‘DB_PASSWORD’, ‘password’); // … ja salasana

Viewing 2 replies - 1 through 2 (of 2 total)

  • _ck_
    Participant

    @_ck_

    first, never post your login info, mysql or otherwise on the web, now you have to change it

    second this is the bbpress support forum, not the wordpress support forum

    (but your problem does seem weird, there should be no error with that)


    chrishajer
    Participant

    @chrishajer

    Actually, I think the problem is that there is no space after the <?php, the comment starts right away.

    You have this:

    <?php// ** MySQL-asetukset ** //

    It should be this:

    <?php // ** MySQL-asetukset ** //

    Or just put the comment on the next line.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar