Skip to:
Content

Opened 7 years ago

Closed 7 years ago

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

Download all attachments as: .zip

Change History (6)

Marianov7 years ago

Small patch to functions.php

comment:1 Marianov7 years ago

Line 654 should have an @ too

comment:2 mdawaffe7 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 Marianov7 years ago

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

comment:4 mdawaffe7 years ago

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

Fixed in [796]

comment:5 mdawaffe7 years ago

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