Wordpress Get Ready Forums

StatPress Community Forum => Installation/Upgrading/Migration => Topic started by: RDawson-Goodey on August 15, 2012, 07:50:24 AM

Title: Spy Option
Post by: RDawson-Goodey on August 15, 2012, 07:50:24 AM
Hi all, Apologies if this is explained somewhere else, but clicking on the spy category on the plugin it says that maxmind database is not installed.

When I try and download it in the advanced section I get this message:

(http://i1072.photobucket.com/albums/w379/RDawson-Goodey/8d1f9887.png)

Any help would be great

Cheers
Title: Re: Spy Option
Post by: forumadmin on August 15, 2012, 01:05:02 PM
Hi RDawson-Goodey,

Thanks for your comments.

It seems that the plugin can retrieve the file from the server , but the file can't be saved.
Statcomm saves the file(s) on the [plugin-folder-installation]/def so it needs write permission there.
Please check the permissions.

Title: Re: Spy Option
Post by: RDawson-Goodey on August 17, 2012, 07:15:59 AM
Hi Fernando, Thanks for that! It worked however on the main overview and the spay page, i get a fatal error message

"Fatal error: Call to undefined function mb_internal_encoding() in /home/blogchil/public_html/wp-content/plugins/statpress-community-formerly-statcomm/classes/geoipcity.php on line 142"

Any help greatly appreciated

Rob
Title: Re: Spy Option
Post by: forumadmin on August 18, 2012, 06:23:15 AM
Hi RDawson-Goodey,

I'll dig into that, I received two similar reports with this issue.
Best regards
Fernando
Title: Re: Spy Option
Post by: forumadmin on August 20, 2012, 11:02:14 AM
Hi RDawson-Goodey,

-Some classes on Statcomm are based on classes provided for Maxmind site. Among those, the geoipcity.php and geoip.php files which have the classes GeoIp_Ctrl  and GeoIpCity_Ctrl respectively.

Those classes are using the mb_internal_encoding function, which is defined in the multibyte string extension (mbstring).
This extension provides support to other functions as mb_substr although Wordpress already provides an alternative for this specific function.  See more of mbstring extension on  PHP documentation for multibyte string extension (http://ca2.php.net/manual/en/book.mbstring.php)

Chances are the extension mbstring is missing on the Apache server (this extension is not installed by default). Another possibility is the server has PHP 4.0.5 or less and you are not using PHP 5 although this possibility seems to be remote.

We'll going to make changes to detect this situation, even though we recommend to enable multi byte string extension or ask to the administrator to enable it.

Best Regards

System Analyst / Analista de Sistemas
Fernando Zorrilla de San Martín
Statcomm Plugin Leader Developer


(http://wpgetready.com/wp-content/uploads/QR-scdemo.png) (http://statcomm-demo.wpgetready.com)
Test Statcomm plugin without installing!
Go to Statcomm demo plugin (http://statcomm-demo.wpgetready.com) / Go to the Main site (http://wpgetready.com/)

Title: Re: Spy Option
Post by: RDawson-Goodey on September 07, 2012, 07:28:33 AM
Hi Fernando

Thank you for the support, I am still unsure where I would go  enable or change this.

Regards

Rob
Title: Re: Spy Option
Post by: forumadmin on September 16, 2012, 05:57:18 AM
Hi RDawson-Goodey,
you have to make the proper changes on Apache to make it work.