[Bb-trac] [bbPress] #892: Setting up bbPress: Secret Key escapes string delimiter

bbPress bb-trac at lists.bbpress.org
Wed Jul 9 15:43:26 GMT 2008


#892: Setting up bbPress: Secret Key escapes string delimiter
----------------------------------+-----------------------------------------
 Reporter:  fel64                 |       Owner:         
     Type:  defect                |      Status:  new    
 Priority:  high                  |   Milestone:         
Component:  Installation/Upgrade  |     Version:  0.9.0.2
 Severity:  blocker               |    Keywords:         
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/892>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list