[ticket/11660] Fix bugs from bugs in #11651 (missing vars, db->sql_connect)

PHPBB3-11660
[ticket/11662] Typos: occured -> occurred

PHPBB3-11662
Merge remote-tracking branch 'remotes/bantu/ticket/11662' into develop-olympus

# By Andreas Fischer
# Via Andreas Fischer
* remotes/bantu/ticket/11662:
  [ticket/11662] Typos: occured -> occurred
Merge branch 'develop-olympus' into develop

# By Andreas Fischer
# Via Andreas Fischer (1) and Nathaniel Guse (1)
* develop-olympus:
  [ticket/11662] Typos: occured -> occurred

Conflicts:
	tests/template/template_test.php
[ticket/11662] Typos: occured -> occurred

PHPBB3-11662
Merge remote-tracking branch 'EXreaction/ticket/11660' into develop

* EXreaction/ticket/11660:
  [ticket/11660] Fix bugs from bugs in #11651 (missing vars, db->sql_connect)
Merge pull request #1526 from bantu/ticket/11662-develop

[ticket/11662] Typos: occured -> occurred
[ticket/11665] Can't change file names already sent to set_filenames

PHPBB3-11665
[ticket/11664] Stop creating php.html file in root path in tests

Also includephp_absolute.html

PHPBB3-11664
Merge remote-tracking branch 'EXreaction/ticket/11664' into develop

* EXreaction/ticket/11664:
  [ticket/11664] Stop creating php.html file in root path in tests
[ticket/11665] Fix test class name

PHPBB3-11665
Merge remote-tracking branch 'EXreaction/ticket/11665' into develop

* EXreaction/ticket/11665:
  [ticket/11665] Fix test class name
  [ticket/11665] Can't change file names already sent to set_filenames
[ticket/11548] Fix incorrect usage of array_map on acp groups page

The array_map was only ran on small parts of the actual error array instead
of the whole one. This resulted in the output of the language variables' names
rather than their actual value.

PHPBB3-11548
Merge remote-tracking branch 'marc1706/ticket/11548-develop-olympus' into develop-olympus

* marc1706/ticket/11548-develop-olympus:
  [ticket/11548] Fix incorrect usage of array_map on acp groups page
Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/11548] Fix incorrect usage of array_map on acp groups page

Conflicts:
	tests/functional/common_groups_test.php
	tests/functional/ucp_groups_test.php
[ticket/11548] Check upload avatar URL the same way as in phpBB 3.0

The upload avatar URL was checked for its length in phpBB 3.0. Additionally,
starting with the new avatar system in phpBB 3.1, the URL was checked to
prevent improper URLs being submitted. This minor change is needed for proper
testing of the ucp and acp groups pages.

PHPBB3-11548
[ticket/11548] Fix test errors in groups test on develop

This will fix the errors that appeared in the functional groups test due to
the changes in the new avatar system. The patch will make them work again.

PHPBB3-11548
[ticket/11668] Run lint test at the end of the test suite

The lint test is very slow. Running it at the end should speed up the development cycle.

PHPBB3-11668
[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)

PHPBB3-11669
Merge remote-tracking branch 'EXreaction/ticket/11669' into develop

* EXreaction/ticket/11669:
  [ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)