>>>>> I have a customer of mine complaining that when he connects to
>>>>> the SquirrelMail interface, he gets an error message like this
>>>>> when reading email:
>>>>>
>>>>>
>>>>>
>>>>> "Warning: charset_decode(../functions/decode/iso8859-1.php):
>>>>> failed to open stream: No such file or directory in
>>>>> /var/www/squirrelmail/functions/i18n.php on line 42
>>>>>
>>>>>
>> ...
>>
>>>>> Fatal error: Call to undefined function:
>>>>> charset_decode_iso8859_1() in
>>>>> /var/www/squirrelmail/functions/i18n.php on line 43"
>>>>>
>>>>>
>>>>>
>>>>
>>>> Used squirrelmail version?
>>>> If it is 1.4.3 - why files in functions/decode directory are
>>>> deleted?
>>>
>>> Using version 1.4.4.
>>>
>>>
>>
>> SquirrelMail 1.4.4 contains functions/i18n.php file with version number
>>  1.129.2.33. You can see this version in $Id:$ string in file header.
>> It does not load functions/decode/iso8859-1.php file. All decoding
>> functions are loaded and used only after checking that file exists.
>>
>> You have functions/i18n.php file from SquirrelMail 1.4.3. Your
>> SquirrelMail installation is corrupted or there are some problems with
>> PHP caching.
>>
> Yes I see the code in functions/i18n.php:
>
>
> $decode=fixcharset($charset);
> $decodefile=SM_PATH . 'functions/decode/' . $decode . '.php';
> if (file_exists($decodefile)) {
>   include_once($decodefile);
>   $ret = call_user_func('charset_decode_'.$decode, $string);
> } else {
>   $ret = $string;
> }
>
>
> Obviously, if the file does not exist, it should not go to the
> include_once function, however, it appears to be doing so.
>
> At a loss here..  I also note there is a file called iso_8859_1.php,
> which appears most likely to be the one it is looking for.
>

PHP cache/optimizer or you are looking at wrong squirrelmail installation.

If you have upgraded SquirrelMail and use some php cache (Zend, Turck MM
Cache, PHP Accelerator, EAccelerator, php-apc or some other), force
restart of all web services.

Please don't top post and keep squirrelmail support questions on mailing
list.

-- 
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to