I have a fresh install of smf 2.1 and I have this error
Type of error: General
htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]:
Invalid multibyte sequence in argument
File: /home/quebecp/public_html/calculmapensionpointca/smf/Sources/Load.php
Line: 91
I have missing something?
I've seen this error before, and usually it's due to an ISO/UTF-8 conflict. However, I don't believe that a particular cause for it has been discovered yet.
Since installing, what exactly have you added/modified? Have you installed any languages? Made any modifications via FTP?
It's a fresh install.
Just unzip by server and start installing and after install, I login and error appear 2 time for each page loaded.
Are you using the same server to host a SMF 2.0 install, and is it getting the same errors? I'm trying to see if this is due to a server misconfiguration, or just bad files.
I use ftp to upload smf_2-1_beta2_install.zip to the web server. I use Cpanel to unzip it directly to smf folder on web server.
I don't know if can be usefull for you, but I will PM you info for login as admin to my smf.
You might want to try using ftp to upload the files, or at least to compare them to see if there are differences between the zip and the ones there :). Perhaps the zip didn't extract right or something?
Quote from: Jade Elizabeth on August 20, 2015, 06:38:24 AM
You might want to try using ftp to upload the files, or at least to compare them to see if there are differences between the zip and the ones there :). Perhaps the zip didn't extract right or something?
I will check it tonight
Ok I unzip smf_2-1_beta2_install.zip in a new folder on my laptop.
I upload the load.php (windows 1252) to the web server by ftp: no change, same error.
I upload the load.php (UTF8) to the web server by ftp: no change, same error.
strange -- I just loaded the build from last night onto my test site and can not cause this to happen for me.
Looking at the code, it has to do with a utf8mb4 fix. Although, I don't see where exactly or how this error can be reproduced.
I'll have to comb through it tonight as I'm still re-learning my way through the 2.1 codebase.
Seems like he is using the release from this site which doesn't have the utf8mb4 fix.
I download it from here
http://download.simplemachines.org/
Quote from: live627 on August 20, 2015, 07:25:29 PM
Seems like he is using the release from this site which doesn't have the utf8mb4 fix.
Quote from: yfleury on August 20, 2015, 07:27:45 PM
I download it from here
http://download.simplemachines.org/
That would make sense then.
May I have a link to your site?
http://calculmapension.ca/smf/
Do you need more.... admin access?
Aha, line 91 of the site release is
'htmlspecialchars' => function ($string, $quote_style = ENT_COMPAT, $charset = 'ISO-8859-1') use ($ent_check, $utf8)
{
return $ent_check(htmlspecialchars($string, $quote_style, $utf8 ? 'UTF-8' : $charset));
},
This mine
'htmlspecialchars' => function ($string, $quote_style = ENT_COMPAT, $charset = 'ISO-8859-1') use ($ent_check, $utf8)
{
return $ent_check(htmlspecialchars($string, $quote_style, $utf8 ? 'UTF-8' : $charset));
},
where can I find utf8mb4 fix
download a new copy of the nightly build from GitHub
do you have a link?
Why does no one read the sticky posts?
http://www.simplemachines.org/community/index.php?topic=530252.0
Quote from: Kindred on August 21, 2015, 12:24:22 PM
Why does no one read the sticky posts?
Why do you have to be such a grumpy old git? :P
HEY! that was not grumpy... :P that was snarky...:D and only a little bit, because I did also give him the infornation
I just put load.php from the github to my web server and same problem. Just the line number was change
2: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument
File: /home/quebecp/public_html/calculmapensionpointca/smf/Sources/Load.php
Line: 117
no... you can't just load ONE file... you need to overwrite everything with the entire set of files from GitHub..
I change only the load.PHP nothing else
Quote from: Kindred on August 21, 2015, 01:20:32 PM
no... you can't just load ONE file... you need to overwrite everything with the entire set of files from GitHub..