46
Feedback & Suggestions / Re: 4images 1.7.3 - Feedback
« on: July 22, 2006, 04:25:33 PM »
jan : very thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
jan
My php version: 4.3.10-14.25 on suse 9.3 and apache 2.0.53-9.10
in my rss page "type" area blank pls help.
It seems that there is a bug in the PHP function mime_content_type(). Try the following:
Open includes/functions.php and replace everything between and includingCode: [Select]if (!function_exists('mime_content_type')) {
and the lastCode: [Select]}
with the contents of the text file attached to this post.
Then open rss.php and replaceCode: [Select]mime_content_type
withCode: [Select]get_mime_content_type
Try the fix i attached to this post. Just replace the files in the zip-file.
Well, I fixed the problem by changing the line (in functions.php):Code: [Select]$trans = get_html_translation_table(HTML_ENTITIES);
into:Code: [Select]$trans = get_html_translation_table(HTML_SPECIALCHARS);
I think the original code doesn't work because HTML_ENTITIES table does not support the ISO-8859-2 character set which I use.
Hello!
Attached, you can find a diff against the 1.7.1 files. This diff can easily applied by running:Code: [Select]patch -p1 < mod-dynamic-page-title_4images-1.7.1.patch.txt
You can find the patch also on my homepage at http://alexander.skwar.name/4images-patches/mod-dynamic-page-title_4images-1.7.1.patch
For me, that's a lot easier to read than those plain text commands and also a lot less error prone...