Reading ini settings returns "????"

Author Message

Gabriel Finkelstein

Thursday 13 September 2007 8:55:21 am

I'm trying to read de HostMatchMapItems array from site.ini, with the following code:

$siteINI =& eZINI::instance( 'site.ini', $base_path. "settings/" );
$siteINI->BlockValues['SiteAccessSettings']['HostMatchMapItems'];

(Where $base_path is the path to ez)

And it returns:

Array
(
    [0] => nvh.amos.dvh2.ez.no;admin
    [1] => user.bf.ez.no;user
    [2] => demo.bf.ez.no;demo
    [3] => admin.bf.ez.no;admin
    [4] => ezno.bf.ez.no;ezno
    [5] => eznoadmin.bf.ez.no;eznoadmin
    [6] => ??????????????????????????????????????
    [7] => ?????????????????????????????????????????????
    [8] => ?????????????????????????????????????????????????
    [9] => ????????????????????????????????????????????????????????
    [10] => ?????????????????????????????????????????????????
    [11] => ??????????????????????????????????????????
    [12] => ??????????????????????????????????????????????
    [13] => ?????????????????????????????????????????????????
    [14] => ????????????????????????????????????????????????????????
    [15] => ???????????????????????????????????????????????????
    [16] => ??????????????????????????????????????????????????????????
    [17] => ????????????????????????????????????????????????????????????????????
    [18] => ??????????????????????????????????????????????????????????
    [19] => ???????????????????????????????????????????????????????????????????????????
    [20] => ?????????????????????????????????????????????????????????????
    [21] => ?????????????????????????????????????????????????????
    [22] => ?????????????????????????????????????????????????????????
    [23] => ????????????????????????????????????????????????????????????
    [24] => ???????????????????????????????????????????????????
    [25] => ??????????????????????????????????????????????????????????
    [26] => ??????????????????????????????????
    [27] => ?????????????????????????????????????????
    [28] => ??????????????????????????????????????????????
    [29] => ?????????????????????????????????????????????????????
)

So, all items that are located in the site.ini override come back as "?????".

Already tried changing charsets in the site.ini.append header (#?ini charset=).

The same happens with every setting in any override ini.

This happens in an ez 3.9 installation. Tried in a 3.8 and it worked fine.

Could anyone help me?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.