Just installed phpBB3, started editing the theme to get the colours the way I want them, and suddenly when I try to access the ACP I get:
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_merge() [function.array-merge]: Argument #2 is not an array
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2408: vsprintf() [function.vsprintf]: Too few arguments
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
I've searched some of these terms on here, found suggestions to re-upload various files in the includes directory and clean out the cache. So ... I've re-uploaded everything in the includes directory and deleted everything in the cache directory except index.html but I still get the errors. Any help, anyone?
Thanks in advance.
Newbie in distress, can't access ACP
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
- COD3M4ST3R-X
- Registered User
- Posts: 228
- Joined: Wed Nov 05, 2008 7:52 am
- Location: Lahore,Pakistan
- Contact:
Re: Newbie in distress, can't access ACP
Which files have you edited?and which editor u used?guysnape wrote:Just installed phpBB3, started editing the theme to get the colours the way I want them, and suddenly when I try to access the ACP I get:
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_merge() [function.array-merge]: Argument #2 is not an array
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2408: vsprintf() [function.vsprintf]: Too few arguments
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3137)
I've searched some of these terms on here, found suggestions to re-upload various files in the includes directory and clean out the cache. So ... I've re-uploaded everything in the includes directory and deleted everything in the cache directory except index.html but I still get the errors. Any help, anyone?
Thanks in advance.
Long Live PhpBB!
Re: Newbie in distress, can't access ACP
Er, not *entirely* sure which files I've edited - but it was only theme CSS type stuff using the editor that comes in the ACP. I guess if I temporarily remove the theme I was editing I might just get somewhere. Will give that a go.
Re: Newbie in distress, can't access ACP
OK, done that. Now I get "General Error Template path could not be found". Still can't get to the ACP. Presumably I can edit something and upload by FTP to change back to the default theme?guysnape wrote:Er, not *entirely* sure which files I've edited - but it was only theme CSS type stuff using the editor that comes in the ACP. I guess if I temporarily remove the theme I was editing I might just get somewhere. Will give that a go.
Re: Newbie in distress, can't access ACP
Or, obviously, I can rename the old default theme folder. Done that, can get to board index but still get the same error with the ACP. (I'll try to stop replying to myself for a while!)guysnape wrote:OK, done that. Now I get "General Error Template path could not be found". Still can't get to the ACP. Presumably I can edit something and upload by FTP to change back to the default theme?guysnape wrote:Er, not *entirely* sure which files I've edited - but it was only theme CSS type stuff using the editor that comes in the ACP. I guess if I temporarily remove the theme I was editing I might just get somewhere. Will give that a go.
- stickerboy
- Registered User
- Posts: 94
- Joined: Fri Jun 04, 2004 3:05 pm
- Location: Scotland
- Contact:
Re: Newbie in distress, can't access ACP
That was a bug introduced into 3.0.3 if I remember correctly.
If you update to 3.0.4 the bug is fixed
If you update to 3.0.4 the bug is fixed
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Re: Newbie in distress, can't access ACP
Nope, still getting the same errorcherokee red wrote:That was a bug introduced into 3.0.3 if I remember correctly.
If you update to 3.0.4 the bug is fixed
Re: Newbie in distress, can't access ACP
The original bug fix was:
Open includes/functions_admin.php
Find:
Replace with:
Open includes/functions_admin.php
Find:
Code: Select all
if (substr_count($log[$i]['action'], '%') - sizeof($log_data_ary))
Code: Select all
if ((substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) > 0)
Re: Newbie in distress, can't access ACP
OK, thanks - I gave up and reinstalled from scratch, all working now (just banging my head against the wall trying to get my colour scheme to work).The Bad Toad wrote:The original bug fix was:
Open includes/functions_admin.php
Find:Replace with:Code: Select all
if (substr_count($log[$i]['action'], '%') - sizeof($log_data_ary))
Code: Select all
if ((substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) > 0)