PHP Error

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
heyjoe
Registered User
Posts: 2
Joined: Sun Feb 08, 2009 10:09 pm

PHP Error

Post by heyjoe »

When I'm trying to edit the overall_header.html in the ACP, returns the following error:

[phpBB Debug] PHP Notice: in file /includes/utf/utf_tools.php on line 1845: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument

Please, help! :(
oXo
Registered User
Posts: 66
Joined: Mon Feb 02, 2009 2:16 am

Re: PHP Error

Post by oXo »

maybe you delete something like this } the best way is rename the existing one and replace a new 1 and see what happen. Or you have to compare both existing and new 1 before you upload the new one so that you will know what is missing.
User avatar
Lumpy Burgertushie
Registered User
Posts: 1006
Joined: Tue Feb 28, 2006 5:26 pm

Re: PHP Error

Post by Lumpy Burgertushie »

dont edit the files in the ACP. use ftp to download the file to your computer and edit it with a text editor and upload it back.

be sure to always purge the cache after each edit.

robert
heyjoe
Registered User
Posts: 2
Joined: Sun Feb 08, 2009 10:09 pm

Re: PHP Error

Post by heyjoe »

I was never edit / includes / utf / utf_tools.php
I noticed that after installing forum to a new hosting provider. Users write in Cyrillic.
Here is a copy of the 1845 line in the wrong file. I'd be happy if someone help.

Code: Select all

1843 function utf8_htmlspecialchars($value)
1844 {
1845  return htmlspecialchars($value, ENT_COMPAT, 'UTF-8');
1846 }
User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: PHP Error

Post by Brf »

heyjoe wrote:When I'm trying to edit the overall_header.html in the ACP
Lumpy Burgertushie wrote:dont edit the files in the ACP.
Locked