Bug #21

PHP 4 error when searching templates in ACP

Added by Ryan Gordon over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:11/16/2008
Priority:Normal Due date:
Assignee:Ryan Gordon % Done:

100%

Category:Admin Control Panel
Target version:1.4.4
Reproducibility: Database Type:
Reported In MyBB Version: Database Version:
PHP Version: SQA assignments:
Browser:

Description

admin cp->templates->search template

try to find agreement_1 leaving blank the replace input and you will have:

Warning [2] Missing argument 2 for build_str_ireplace() - Line: 99 - File: inc/functions_compat.php PHP 4.4.7 (Linux)
File Line Function
[PHP] errorhandler->error
/inc/functions_compat.php 99 build_str_ireplace
/inc/functions_compat.php 112 build_str_ireplace
/admin/modules/style/templates.php 577 str_ireplace
/admin/index.php 378 require
Warning [2] Missing argument 2 for build_str_ireplace() - Line: 99 - File: inc/functions_compat.php PHP 4.4.7 (Linux)
File Line Function
[PHP] errorhandler->error
/inc/functions_compat.php 99 build_str_ireplace
/inc/functions_compat.php 112 build_str_ireplace
/admin/modules/style/templates.php 577 str_ireplace
/admin/index.php 378 require

mybb version: 1.4.3
php version: 5.2.4
os: ubuntu 5.3

Associated revisions

Revision 4273
Added by Ryan Gordon over 3 years ago

Fixes PHP 4 error when searching templates in ACP (fixes:21)
Fixes WOL "Viewing an attachment" link should open a new window (fixes:20)
Fixes Disallowed username ajax verification error (fixes:4)
Fixes The User with no name (ajax validation) (fixes:3)

History

#1 Updated by Ryan Gordon over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4273.

#2 Updated by Michael Schlechtinger over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF