1
jdseymour
Problem with XpressME 2.3.7

I have installed this module on a clients site (He previously had the wordpressME module that was causing a 500 server error)

His server specs are:

SERVER::Apache
PHP Version::4.4.9
libxml Version::Can't detect.
MySQL Version::4.1.24-max-log
XOOPS Version::XOOPS 2.3.1
XPressME Version::2.37
WordPress Version::2.9.2
WP DB Version::12329

When attempting to delete a post the post does not delete. I get the following error:

Fatal errorCall to undefined function: mb_strlen() in /home/content/xx/xx/xx/xxxx/xxxx/modules/wordpress/wp-content/plugins/xpressme/include/custom_functions.php on line 481
All errors 
(0queries (5blocks (0extra (0timers (3)
Errors
Queries
SELECT 
FROM xf27_config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC
SELECT sess_data
sess_ip FROM xf27_session WHERE sess_id 'cxxxxxxxxxxx40eeb6b82d9e3f520350'
SELECT FROM xf27_users WHERE uid '146'
SELECT mid FROM xf27_modules WHERE `dirname` = 'wordpress'
SELECT conf_value FROM xf27_config WHERE `conf_modid` = 45 AND `conf_name` = 'memory_limit'
Total5 queries




The offending line block contains:

function xpress_substr($str$start$length$trimmarker '...') {     if (function_exists('mb_substr')){         $str2 mb_substr$str $start $length);         return $str2 . ( mb_strlen($str)!=mb_strlen($str2) ? $trimmarker '' );     } else {         return ( strlen($str) - $start <= $length ) ? substr$str$start$length ) : substr$str$start$length strlen($trimmarker) ) . $trimmarker;     } }


of the above line 481 is:

return $str2 . ( mb_strlen($str)!=mb_strlen($str2) ? $trimmarker '' );


Any idea what the problem here could be?

2
iHackCode
Re: Problem with XpressME 2.3.7

im not sure if you checked this but... phpinfo() is --enable-mbstring in there? mbstring . Multibyte support enabled

http://www.php.net/manual/en/mbstring.installation.php
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
jdseymour
Re: Problem with XpressME 2.3.7

Quote:

iHackCode wrote:
im not sure if you checked this but... phpinfo() is --enable-mbstring in there? mbstring . Multibyte support enabled

http://www.php.net/manual/en/mbstring.installation.php



You are right. This is GoDaddy hosting - so not sure if I can even get this turned on.

I disabled the XpressME plugin in wordpress, and it lets me delete posts now without errors - but wondering what other functionality I will loose with that plugin disabled.

Thanks for your help.

4
toemon
Re: Problem with XpressME 2.3.7
  • 2011/2/24 13:23

  • toemon

  • Just popping in

  • Posts: 10

  • Since: 2010/1/20


Thanks your report.

It's bug fixed with Ver.2.3.8.

You can download update file(XPressME_Integration_Kit_Ver2.3.7to2.3.8.zip) from
http://ja.xpressme.info/download/#update

5
jdseymour
Re: Problem with XpressME 2.3.7

Quote:

toemon wrote:
Thanks your report.

It's bug fixed with Ver.2.3.8.

You can download update file(XPressME_Integration_Kit_Ver2.3.7to2.3.8.zip) from
http://ja.xpressme.info/download/#update



Thanks toemon,

That fixed that problem. I do have one other question though:

If we use the default main menu link:

http://www.deconsilium.net/modules/wordpress/

it shows an unthemed unwrapped version of the wordpress blog with article links. If you click on one of the article links it gets wrapped in the site. It looks like this:

http://www.deconsilium.net/modules/wordpress/?p=63

Is there a way to get modules/wordpress wrapped in the theme?

Thanks,
John

6
toemon
Re: Problem with XpressME 2.3.7
  • 2011/2/27 15:34

  • toemon

  • Just popping in

  • Posts: 10

  • Since: 2010/1/20


I visited your site. And I was able to find the problem.
It seems in very strange behavior.

It behaves by default like a demonstration site.
http://test-xoops.xpressme.info/

And I was not able to reproduce the behavior in my test environment.

Did you customize a permalink of Wordpress?

If there is a htaccess file in the top directory of the XPressME module, please show it.
Moreover, if a htaccess file is in the top directory of a site, please show it.

7
jdseymour
Re: Problem with XpressME 2.3.7

As far as I know all is default from install. There is no .htaccess in either the top of the XpressME module /modules or the root of the site.

I do appreciate your help. I PMed my chat if you would like to trouble shoot more.

Thanks,
JDSeymour

8
toemon
Re: Problem with XpressME 2.3.7
  • 2011/3/1 14:58

  • toemon

  • Just popping in

  • Posts: 10

  • Since: 2010/1/20


D'oh! I found the bug which causes a problem.

The fixes point of the bug is as follows
http://trac.toemon.net/XPressME/changeset/688

This bug is fixed XPressME Integration Kit Ver.2.3.9 or higher.

I'm sorry to have troubled you.
Thank you,

9
jdseymour
Re: Problem with XpressME 2.3.7

Thanks very much for your help. The blog looks great.

Login

Who's Online

452 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 452


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits