Bug #310

Multiple Smilies PHP Error

Added by Ryan Gordon about 1 year ago. Updated 12 months ago.

Status:Closed Start:07/05/2009
Priority:Normal Due date:
Assigned to:Ryan Gordon % Done:

100%

Category:Admin Control Panel
Target version:1.4.10
Reproducibility: Browser:
Reported In MyBB Version:1.4.8 Database Type:
PHP Version: Database Version:

Description

When adding multiple smilies, if you enter the wrong path, you get the two following php errors at the top of the page:

Warning [2] readdir(): supplied argument is not a valid Directory resource - Line: 303 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)

Warning [2] closedir(): supplied argument is not a valid Directory resource - Line: 317 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)

Supplying the correct path allows the function to work as expected.

Associated revisions

Revision 4392
Added by Ryan Gordon about 1 year ago

Fixes RSS Feed incorrect formatting (fixes:311)
Fixes Multiple Smilies PHP Error (fixes:310)
Fixes Direct access of some files generates PHP errors (fixes:309)
Fixes PostgreSQL error in Forum Management -> Edit Forum (fixes:308)
Fixes Mysql Backups - keys not quoted (fixes:307)
Improves Attachment with blank/unknown Content-Type displayed without sanitation (improves:294)

History

Updated by Ryan Gordon about 1 year ago

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

Applied in changeset r4392.

Updated by Chris W. B. about 1 year ago

  • Status changed from Resolved to Closed

Updated by Ryan Gordon 12 months ago

  • Target version changed from 1.4.9 to 1.4.10
  • Reported In MyBB Version set to 1.4.8

Also available in: Atom PDF