You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
When set name or description in createMedia method with cyrillic(windows-1251) symbols (ыияюъії etc.), function json_encode($post); //line 515 in bc-mapi.php
cut symbols. As result in request name and description = NULL, and response error:
BCMAPIApiError: API error' == Required field name is not set.
My solution :
(line:487 - ..., file:bc-mapi.php )
iconv("windows-1251", "UTF-8", $media['name']);// when it's necessary
The text was updated successfully, but these errors were encountered:
When set name or description in createMedia method with cyrillic(windows-1251) symbols (ыияюъії etc.), function json_encode($post); //line 515 in bc-mapi.php
cut symbols. As result in request name and description = NULL, and response error:
BCMAPIApiError: API error' == Required field name is not set.
My solution :
(line:487 - ..., file:bc-mapi.php )
iconv("windows-1251", "UTF-8", $media['name']);// when it's necessary
The text was updated successfully, but these errors were encountered: