Welcome! Log In Create A New Profile

Advanced

Odd Sphider-Plus ConvertCharset.class.php bug

Posted by Ranbir 
Odd Sphider-Plus ConvertCharset.class.php bug
November 07, 2008 03:56AM
I had one HTML file with
<META http-equiv=Content-Type content=text/html;>
in the header.

While converting the text ConvertCharset.class.php threw the strange error:

Size of page: 3.00kb. Error, can NOT read file: /home/*****/public_html/sphider-plus/converter/charsets/content-type content.txt

When I replaced
<META http-equiv=Content-Type content=text/html;>
with
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

everything went fine
Tec
Re: Odd Sphider-Plus ConvertCharset.class.php bug
November 07, 2008 04:41PM
Bug???
If the charset is undefined (what a silly header) how Sphider-plus could define the required translation into UTF-8 ???

Tec



Edited 1 time(s). Last edit at 11/07/2008 04:43PM by Tec.
Re: Odd Sphider-Plus ConvertCharset.class.php bug
November 10, 2008 02:29AM
I'd just have liked a better error message. It took me a while to find out while the whole indexing stopped at this page.

1500 MB of disk space - 100 GB of data transfer - all free here: http://www.000webhost.com/91892.html
Sorry, only registered users may post in this forum.

Click here to login