Skip to:
Content
Pages
Categories
Search
Top
Bottom

Parse error: syntax error, unexpected T_STRING upon Installation

  • Hi all!

    I run wordpress 2.6 at phonereport.info. I tried installing bbPress 1.0 Alpha so that it could integrate with WordPress, but just as I concluded the installation successfully, I get the following error:

    ‘Parse error: syntax error, unexpected T_STRING in /home/nokisat7/public_html/phonereport.info/test/bbpress/bb-config.php on line 20’

    Line 20 is the following:

    ‘// the value of their equivalent keys in the WordPress file wp-config.php’

    Here is the installation log, I changed the password:

    ‘Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Modifying database: nokisat7_bbpress (localhost)

    >>>>>> Table: bb_forums

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_meta

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_posts

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_terms

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_relationships

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_taxonomy

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_topics

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    Step 2 – WordPress integration (optional)

    >>> WordPress address (URL): http://phonereport.info/

    >>> Blog address (URL): http://phonereport.info/

    >>> WordPress cookie keys set.

    >>> WordPress “auth” cookie salt set from input.

    >>> WordPress “logged in” cookie salt set from input.

    >>> Fetching missing WordPress cookie salts.

    >>>>>> WordPress “secure auth” cookie salt not set.

    >>> User database table prefix: wp_

    >>> User database name: nokisat7_wrdp9

    >>> User database user: nokisat7_forum

    >>> User database password: something

    >>> User database host: localhost

    >>> User database character set: utf8

    Step 3 – Site settings

    >>> Site name: PhoneReport test forum

    >>> Site address (URL): http://phonereport.info/test/bbpress/

    >>> From email address: only.meraj@merajnet.com

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: only.meraj@merajnet.com

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum name: PhoneReport test forum

    >>>>>> Topic: Your first topic

    >>>>>>>>> Post: First Post! w00t.

    >>> Key master email sent

    Installation complete!’

    Please let me know what else you wish to have.

    There are two different databases: one for the wordpress installation, the other for bbpress.

    Thank you in advance, and keep up the good work!

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

  • chrishajer
    Participant

    @chrishajer

    I am guessing there is a problem in bb-config.php right before line 20, which would be the secure auth key. My guess is something there is not escaped properly. Can you check that? A file editor that has syntax highlighting will show it right away since the string will no longer be color coded as “quoted” if a character is not escaped properly. vim is a good command line editor for this if you have a shell. Notepad++ is good too. Doesn’t matter which editor you use so long as it can do syntax highlighting for a php file.

    Thanks for the reply. I use the one found in cPanel. Is it safe to post the contents of bb-config here? I don’t know pretty much anything about PHP, hoping that someone can help me get there.


    chrishajer
    Participant

    @chrishajer

    No, do not post it here. If you like, you can email it to me as an attachment and I can check the syntax for you. You will find a way to contact me by clicking my profile, or just google chrishajer. I’m easy to find.

    It’s important to not edit the file to hide passwords or keys because you could destroy valuable evidence.

    Sent it to your service sheet email.

    Thanks

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