Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#617 closed defect (fixed)

Warning notice when bb_table_prefix is set to ''

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

Description

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 6 years ago.
Small patch to functions.php

Download all attachments as: .zip

Change History (6)

Small patch to functions.php

Line 654 should have an @ too

  • 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.

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

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

Fixed in [796]

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