A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
cannot yet handle MBCS in html_entity_decode()
Aug 28, 2010
10:54 am
Rookie
Forum Posts: 3
Member Since:
Aug 23, 2010
Offline

I've searched and searched, and can't quite find what the problem may be.  I just installed Simple:Press 4.3.3 on a WP3.01 installation.  Everything seemed fine, all was green.  When i created my first group, I get the following error through simple-press (multiple entries upon creation of the group, and then they fade away):

Warning: cannot yet handle MBCS in html_entity_decode()! in <domain_reference>/wp-content/plugins/simple-forum/library/sf-filters.php on line 172

I did find another older post on the forum about having PHP4, but my host is running PHP5:

 

[~]# php -v
PHP 5.2.13 (cgi-fcgi) (built: May 12 2010 15:50:50)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
[~]#

 

Not being a technical wizard, I'm really not sure where to begin other than google and this site.  So far, I haven't found anything… can anyone provide some direction, help, or suggestions?  I would assume that this probably occurs quite often, as it has happened after installing Simple:Press on two different WP installations.  I'm using BlueHost.com as my domain hosting provider.  I'm hoping this is something simple that I just overlooked, but I can't find any reference on any site.

 

Thank you for any insight/assistance,

David

Aug 28, 2010
11:22 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

its a php issue, as you have surmised…  though I thought it only affected php 4… and you say you have php 5…  I cannot find any reference on the net to this occurring in php 5…  I would also do a phpinfo() on your server (instead of php -v) to make sure you are actually using php 5 on the server as other things (such as .htaccess) can override the php version used…

and it does not occur often…  we have had only a couple reports, both on php 4 installs…

but not sure why you are showing php warnings like that on your server… for production sites, shouldnt be doing that…

Aug 28, 2010
11:50 am
Rookie
Forum Posts: 3
Member Since:
Aug 23, 2010
Offline

Thanks for the suggestion.  I'm not sure I'm doing this right, but I typed in php info>php-info.txt at the command line via ssh, and I received this output.  it just looks like CSS stuff, but I can't really make sense of it– it does say phpinfo() in the <title> tags.  Does this provide any useful information?  I'm quite clueless on this and don't know where to begin.

 

Thank you so much for the help.

 

X-Powered-By: PHP/5.2.13^M
Content-type: text/html^M
^M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html><head>
<style type="text/css">
body {background-color: #ffffff; color: #000000;}
body, td, th, h1, h2 {font-family: sans-serif;}
pre {margin: 0px; font-family: monospace;}
a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
a:hover {text-decoration: underline;}
table {border-collapse: collapse;}
.center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align: left;}
.center th { text-align: center !important; }
td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
h1 {font-size: 150%;}
h2 {font-size: 125%;}
.p {text-align: left;}
.e {background-color: #ccccff; font-weight: bold; color: #000000;}
.h {background-color: #9999cc; font-weight: bold; color: #000000;}
.v {background-color: #cccccc; color: #000000;}
.vr {background-color: #cccccc; text-align: right; color: #000000;}
img {float: right; border: 0px;}
hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
</style>
<title>phpinfo()</title><meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" /></head>
<body><div class="center">
<table border="0" cellpadding="3" width="600">
<tr class="h"><td>
<a href="http://www.php.net/"><img border="0" src="?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP Logo" /></a><h1 class="p">PHP Version 5.2.13</h1>
</td></tr>
</table><br />
<table border="0" cellpadding="3" width="600">
<tr><td class="e">System </td><td class="v">Linux boxXXX.bluehost.com 2.6.28-10.40.intel.E1000E.BHsmp #1 SMP Thu May 20 14:03:42 MDT 2010 x86_64 </td></tr>
<tr><td class="e">Build Date </td><td class="v">May 12 2010 15:49:48 </td></tr>


Aug 28, 2010
11:54 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

my point was dont due it via the command line… you can get different results vs doing it from the actual web server…

create a small file that has this in it

<?php
phpinfo();
?>

then upload it to your server and point your browser to the file…  dont leave the file laying around on the server…

Sep 1, 2010
2:46 pm
Rookie
Forum Posts: 3
Member Since:
Aug 23, 2010
Offline

Sorry Mr. Papa.  Obviously, I'm not famliar with PHP and it's characteristics.  I'll do so as soon as I can budget the time. 

 

Thank you again very much for your kind assistance,

David

Sep 1, 2010
4:55 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

You can also go to forum admin > Toolbox > Environment.

But Steve is correct – this is not an error associated wth php 5 in out experience but it IS a genuine php error.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: jawaulk, BlueDagger, irlandes1
67 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10897

Posts: 79582

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22240), Mr Papa (23688)