jijopaulose / ezstats

Automatically exported from code.google.com/p/ezstats
0 stars 0 forks source link

Function mb_eregi ... DISABLED! #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please describe the bug: Cannot upgrade to a newer version, Function mb_eregi   
... DISABLED!

Your version of ezStats: v. 1.01

The URL to your website: http://www.nbfc.no/ezStats2

Please see: http://www.php.net/manual/en/function.eregi.php

"Warning
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is 
highly discouraged."

What to do?

Tommy.

Original issue reported on code.google.com by tmil...@gmail.com on 23 Sep 2013 at 12:34

GoogleCodeExporter commented 9 years ago
Btw, Needed PHP-Version: 5.2.0 - Your PHP-Version: 5.4.19

Original comment by tmil...@gmail.com on 23 Sep 2013 at 12:53

GoogleCodeExporter commented 9 years ago
Hi!

A PHP-plugin which I use in ezStats2 requires "mb_eregi" for a function. 
Unfortunately, the latest version is from 2009. For ezStats3, I use another 
plugin to avoid the problem.

Please edit the file "install/index.php". In the line 18, you'll find the Array 
"disable_test". Just delete the last entry "mb_eregi". It must look like this:

$config['disable_test'] = Array("curl_init", "curl_setopt", "curl_exec", 
"curl_getinfo", "curl_close", "json_decode", "file_get_contents");

This disables only the check for the function during the installation. But in 
most cases (and on my test servers too), ezStats requires not the "mb_eregi" 
function. Just try it.

Regards, Steff

Original comment by ezzem...@googlemail.com on 23 Sep 2013 at 3:56

GoogleCodeExporter commented 9 years ago
Hello,

ahh, i see, removed the mb_eregi, and all is well now. Thanks!

Tommy

Original comment by tmil...@gmail.com on 24 Sep 2013 at 3:59

GoogleCodeExporter commented 9 years ago
Great :)

Original comment by ezzem...@googlemail.com on 24 Sep 2013 at 4:03

GoogleCodeExporter commented 9 years ago
hi
i have same problem

 Fatal error: Call to undefined function mb_eregi() in /home/X/public_html/Leaderboard/plugins/phpQuery.php on line 1421

what i do?

Original comment by Sajjad.M...@gmail.com on 25 Sep 2013 at 9:21

GoogleCodeExporter commented 9 years ago
Hi!

If the error occur, I can nothing do unfortunately. To get ezStats work, either 
you have to activate the "Multibyte String Functions" in PHP, or you have to 
change a specific preset of your server, which causes that those mb-functions 
are needed. But, I have no idea which setting this could be.

Original comment by ezzem...@googlemail.com on 25 Sep 2013 at 10:05