Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#617 closed defect (fixed)

Warning notice when bb_table_prefix is set to ''

Reported by: Marianov Owned by: mdawaffe
Milestone: 0.8.2 Priority: normal
Severity: minor Version: 0.8.1
Component: Front-end Keywords:


If you don't use a table prefix a warning appears on the default installation saying:
Warning: strpos() [function.strpos]: Empty delimiter. in /var/www/bbpress/bb-includes/functions.php on line 664

Warning: strpos() [function.strpos]: Empty delimiter. in /var/www/bbpress/bb-includes/functions.php on line 664

Just add an @ to fix it, patch included ;-)

Attachments (1)

functions.php.patch (645 bytes) - added by Marianov 8 years ago.
Small patch to functions.php

Download all attachments as: .zip

Change History (6)

@Marianov8 years ago

Small patch to functions.php

comment:1 @Marianov8 years ago

Line 654 should have an @ too

comment:2 @mdawaffe8 years ago

  • Milestone set to 1.0
  • Owner set to mdawaffe
  • Status changed from new to assigned
  • Version set to 0.8.1

bbPress is hardwired in several places to require a non-empty table prefix.

We should actually just completly die if no table prefix is specified.

comment:3 @Marianov8 years ago

Ok, then this is fixed by adding a comment in config-sample.php

comment:4 @mdawaffe8 years ago

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

Fixed in [796]

comment:5 @mdawaffe8 years ago

  • Milestone changed from 1.0 to 0.8.2
Note: See TracTickets for help on using tickets.