Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка "Warning: fread(): Length parameter must be greater than 0 in ...system/library/progroman/citymanager/driver/sxgeo.php"


В system\library\progroman\citymanager\driver\sypex.php

вместо

$sx_geo = new SxGeo($this->sxgeo_path);
$data = $sx_geo->getCityFull($this->ip);

так:

mb_internal_encoding("8bit");
$sx_geo = new SxGeo($this->sxgeo_path);
$data = $sx_geo->getCityFull($this->ip);
mb_internal_encoding("UTF-8");

 

Или в настройках PHP поставить

mbstring.func_overload = 2

 


Comments

There are no comments to display.

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.