-
- Aldo

-
Total Posts: 46
Joined: 2008-02-19
|
Hi all,
After installation of Magento I get the following Error in the Frontend:
Notice: iconv_substr() [function.iconv-substr]: Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE is not allowed in /web/shop/app/code/core/Mage/Log/Model/Mysql4/Visitor.php on line 54
Does anybody have a solution for this?
Thanks!
Aldo
|
| |
-
- Posted: February 25 2008
-
| top
-
|
 |
 |
 |
|
|
-
- Aldo

-
Total Posts: 46
Joined: 2008-02-19
|
We install PHP5 as a CGI binary, as the provider does not have installed the pdo_mysq extension.
So we get this error only in a PHP5 as a CGI binary installation.
Would appreciate any help!
|
| |
-
- Posted: February 27 2008
-
| top
| # 1
-
|
 |
 |
 |
|
|
-
- Aldo

-
Total Posts: 46
Joined: 2008-02-19
|
Nobody an idea here?
|
| |
-
- Posted: February 28 2008
-
| top
| # 2
-
|
 |
 |
 |
|
|
-
- Brightside

-
Total Posts: 3
Joined: 2008-05-08
|
Anything new on this one?
I did a fresh install with php5-cgi and ran into same problem.
Anything I might miss in my server?
|
| |
-
- Posted: May 8 2008
-
| top
| # 3
-
|
 |
 |
 |
|
|
-
- Juxecl

-
Total Posts: 33
Joined: 2007-12-08
|
You could try changing the AddDefaultCharset directive in .htaccess
# AddDefaultCharset Off AddDefaultCharset UTF-8
|
| |
-
- Posted: May 9 2008
-
| top
| # 4
-
|
 |
 |
 |
|
|
-
- Brightside

-
Total Posts: 3
Joined: 2008-05-08
|
Rowd - 09 May 2008 03:23 AM You could try changing the AddDefaultCharset directive in .htaccess
# AddDefaultCharset Off AddDefaultCharset UTF-8
Tested it already, no luck.
|
| |
-
- Posted: May 9 2008
-
| top
| # 5
-
|
 |
 |
 |
|
|
-
- Juxecl

-
Total Posts: 33
Joined: 2007-12-08
|
I guess that was a pretty optimistic suggestion
There’s no character set given in the iconv_substr() function so it should use iconv.internal_encoding for the conversion. You could try changing the value of iconv.internal_encoding to ‘UTF-8’.
|
| |
-
- Posted: May 9 2008
-
| top
| # 6
-
|
 |
 |
 |
|
|
-
- Brightside

-
Total Posts: 3
Joined: 2008-05-08
|
Rowd - 09 May 2008 11:47 AM
There’s no character set given in the iconv_substr() function so it should use iconv.internal_encoding for the conversion. You could try changing the value of iconv.internal_encoding to ‘UTF-8’.
Can be done in php.ini? Not sure how to change php settings for cgi version.
|
| |
-
- Posted: May 13 2008
-
| top
| # 7
-
|
 |
 |
 |
|
|
-
- VimS

-
Total Posts: 13
Joined: 2008-04-27
|
Hi!
I’ve got the same Problem.
Any solutions or suggestions?!
|
| |
-
- Posted: May 23 2008
-
| top
| # 8
-
|
 |
 |
 |
|
|
|
|
-
- Core

-
Total Posts: 68
Joined: 2008-03-09
|
Put these lines at the top of the main index.php file.
iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1");
|
| |
-
- Posted: August 14 2008
-
| top
| # 10
-
|
 |
 |
 |
|
|