Hello, i have 2 problems. 1. Warning: json_encode() [function.json-encode]: Invalid UTF-8 sequence in argument in /var/www/vhosts/etakom.lt/httpdocs/library/Zend/Json.php on line 146
2. Product sku must be unique value
Maybe someone could help me?
Hello, i have 2 problems. 1. Warning: json_encode() [function.json-encode]: Invalid UTF-8 sequence in argument in /var/www/vhosts/etakom.lt/httpdocs/library/Zend/Json.php on line 146
2. Product sku must be unique value
Maybe someone could help me?
We had some request with similar error and the problem was in enabled php magic_quotes.
Please disable it on your server or use this fix: http://axiscommerce.com/forum/php-magic-quotes#comment-5445
Sorry. It's not the same error. You have invalid multibyte message.
Can you try to uncomment the following line in AXIS_ROOT/.htaccess file ~99?
AddDefaultCharset utf-8Warning: json_encode() [function.json-encode]: Invalid UTF-8 sequence in argument in /var/www/vhosts/etakom.lt/httpdocs/library/Zend/Json.php on line 146
... thanks, but same problem..
#AddDefaultCharset utf-8
this one? What i need to do?
Remove # symbol.
One more possible fix:
Open AXIS_ROOT/index.php and add the following line
Zend_Json::$useBuiltinEncoderDecoder = true;after this line (~77)
$application = new Axis_Application(APPLICATION_ENV, $bootstrapConfig);If this will not help, one more option:
Open library/Zend/Json.php and add the following line
$valueToEncode = utf8_encode($valueToEncode);after (~145)
if (function_exists('json_encode') && self::$useBuiltinEncoderDecoder !== true) {Zend_Json::$useBuiltinEncoderDecoder = true;
This one place into ~26 line? After comment text and before first "if" ?
**
after this line (~77)
$application = new Axis_Application(APPLICATION_ENV, $bootstrapConfig);
**
oh, sorry i didnt see, thank you very much, now its showing configuration folders as well. Thanks
Notice: Uninitialized string offset: 13 in /var/www/vhosts/etakom.lt/httpdocs/library/Zend/Json/Encoder.php on line 479
Now new error..