Skip to:
Content

bbPress.org

Opened 18 years ago

Closed 18 years ago

Last modified 2 years ago

#892 closed defect (bug) (fixed)

Setting up bbPress: Secret Key escapes string delimiter

Reported by: fel64's profile fel64 Owned by: sambauers's profile sambauers
Milestone: 1.0 Priority: high
Severity: blocker Version: 0.9.0.2
Component: API - Installation/Upgrade Keywords:
Cc: fel64@…

Description

In setting up bbPress, I entered my Wordpress secret key to integrate with Wordpress. Installation completes successfully, but in going to the forums it informs me of an "unpected T_STRING" on line 22 of bb-config.php. This is because the bbPress secret key is slightly different to the wordpress one and ends with a backslash \, escaping the ' that is supposed to end the string. The rest of the file was therefore read as part of the secret key, until line 22 where we had another ' followed by (what looked to PHP like) non-code.

I fixed this by adding a second \ to the end of my secret key. I am still able to log in. The installer has to check if modifying the secret key not to end it with a backslash.

Change History (4)

#1 @sambauers
18 years ago

  • Milestone set to 1.0-beta & XML-RPC
  • Owner set to sambauers
  • Status changed from new to assigned

Fixing this now whilst adding the three new cookie key settings.

#2 @sambauers
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1592]) Add new keys to installer process. Also fixes #892

#3 @(none)
17 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

#4 @sambauers
17 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.