Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8351 now.

missing exception in function filelist() (fix completed in vcs)

I recently moved my installation to another server.
I tried editing a template, but only the admin header was displayed and I received the following error messages:

[phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 784: array_diff() [function.array-diff]: Argument #1 is not an array
[phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 844: Invalid argument supplied for foreach()

I set recursively set all files in /styles/ to 755 and the error disappeared.

The function filelist() in functions_admin.php does not return any error if the directory isn't readable. I'd recommend that.

Comments / History

Assigned ticket to user "bantu"

Action performed by bantu (3.0 Release Manager) on Jun 7th 2009, 22:35

Changed ticket status from "New" to "Reviewed"

Action performed by bantu (3.0 Release Manager) on Jun 7th 2009, 22:35

Changed ticket status from "Reviewed" to "Fix in progress"

Action performed by bantu (3.0 Release Manager) on Jun 7th 2009, 23:59

Linked ticket with changeset: r9565

Action performed by bantu (3.0 Release Manager) on Jun 8th 2009, 22:33

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by bantu (3.0 Release Manager) on Jun 8th 2009, 22:34

Marked ticket #48625 as duplicate of this ticket

Action performed by ToonArmy (Development Team Member) on Jul 26th 2009, 09:24

Ticket details

Duplicates of this ticket

Related SVN changesets