![]() ![]() |
May 7 2012, 08:20 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
My system is joomla 2.5.4 PHP Version 5.2.17 Configure Command './configure' '--with-apxs2' '--with-curl=/usr/local/lib' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring' Цитат Safe Mode Off Open basedir /home/myweb/:/tmp:/var/tmp:/usr/local/lib/php/ Display Errors On Short Open Tags On File Uploads On Magic Quotes On Register Globals Off Output Buffering Off Session Save Path None Session Auto Start 0 XML Enabled Yes Zlib Enabled Yes Native ZIP Enabled Yes Disabled Functions None Mbstring Enabled Yes Iconv Available Yes I cant use this extension well I need some help. can you suggest me to pass this problem when i config email to post extension. it can import email to article in Joomla but wrong subject. example this show in article manager ![]() =?UTF-8?B?4Lir4Lix4Lin4LiC4LmJ4Lit4LmD4Lir4Lih4LmIOiDguKrguK3guJrguJbguLLguKHguJzguLnguYng uKPguLnguYkg4Lic4Lih4LiI4Liw4LiX4LizQXBwIOC5geC4muC4muC4meC4teC5ieC5g+C4mSBGYWNl Y m9vayDguKHguLXguKfguLTguJjguLXguKLguLHguIfguYTguIfguITguLHguJogKOC4oeC4teC4o+C4u e C4m+C4leC4seC4p+C4reC4ouC5iOC4suC4h+C4hOC4seC4mik=?From: "xxx.com" ![]() this is my email detail my email subject is "หัวข้อใหม่: สอบถามผู้รู้ ผมจะทำApp แบบนี้ใน Facebook มีวิธียังไงคับ (มีรูปตัวอย่างคับ)" my email source is" Subject: =?UTF-8?B?4Lir4Lix4Lin4LiC4LmJ4Lit4LmD4Lir4Lih4LmIOiDguKrguK3guJrguJbguLLguKHguJzguLnguYng uKPguLnguYkg4Lic4Lih4LiI4Liw4LiX4LizQXBwIOC5geC4muC4muC4meC4teC5ieC5g+C4mSBGYWNl Y m9vayDguKHguLXguKfguLTguJjguLXguKLguLHguIfguYTguIfguITguLHguJogKOC4oeC4teC4o+C4u e C4m+C4leC4seC4p+C4reC4ouC5iOC4suC4h+C4hOC4seC4mik=?= From: "xxx.com" <admin@xxx.com>" this component can import email but cannot display correct topic Can you advise me how to solve this problem . Thank you in advance.PHP Settings |
|
|
|
May 7 2012, 08:51 AM
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
1. What extension you use?
2. What version? 3. Read link in my signature how to receive support and make all of this step by step. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
May 7 2012, 09:28 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
1. What extension you use? 2. What version? 3. Read link in my signature how to receive support and make all of this step by step. 1. What extension you use? the extension name is "Post by Email " 2. What version? i not sure about version in file name it said "post_by_email_pro_j17_1.5.0.zip" but in XML file details is " Код <name>COM_POST_BY_EMAIL</name> <author>3D Web Design</author> <creationDate>22 April 2012</creationDate> <license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license> <authorEmail>admin@3dwebdesign.org</authorEmail> <authorUrl>www.3dwebdesign.org</authorUrl> <version>1.5.1</version>" 3. Read link in my signature how to receive support and make all of this step by step. 3.1. Please, first try to use Advanced search to find decision of Your problem. -I not found any answer that can solve my problem from your forum 3.2. Switch on Error reporting in Global configuration of Joomla: -I set Error reporting to "maximum" 3.3 After this, try to use extension again, if some error appear, save text from error. If You have some error log on your server, find error from this component and save text. -I use "IMPORT" link again everything work fine but topic still cannot read ![]() 3.4Than POST new topic here: https://3dwebdesign.org/forum/index.php?showforum=24. Post in created from You topic error (if present) and more info about your problem: version of your joomla and version of extension, your host and server configuration. -this is thelink for question I just post everything above. 3.5Create one temporary admin account for us to see problem in your site and send login data to our email or send us from here PM with login data. -i sent PM subject "user name and password for support" to you. thank you for support me. This post has been edited by Web Design Seo: May 7 2012, 09:45 AM |
|
|
|
May 7 2012, 09:47 AM
Post
#4
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
This is post by email pro - version for joomla 1.7/2.5.
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
May 7 2012, 10:00 AM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
|
|
|
|
May 7 2012, 02:05 PM
Post
#6
|
|
|
Advanced User ![]() ![]() ![]() ![]() Group: Advanced Member Posts: 218 Joined: 15-April 11 Member No.: 761 |
Hello.
The problem seems to be that the iconv-mime-decode PHP function is unavailbale on your server, which is very strange as your PHP version is 5.2.17... Please try the following: 1. Open the controller.php in /administrator/components/post_by_email/ 2. Find the following code (line 595): Код $subject = function_exists('iconv_mime_decode') ? iconv_mime_decode($subject, 2, 'UTF-8') : wp_iso_descrambler($subject); Replace it with: Код if (function_exists('iconv_mime_decode')) $subject = iconv_mime_decode($subject, 2, 'UTF-8'); else { $res = imap_mime_header_decode($subject); $subject = empty($res[0]->text) ? $subject : $res[0]->text; } It will try to use the imap_mime_header_decode function if iconv_mime_decode is missing. Best regards, Ivan |
|
|
|
May 8 2012, 03:02 AM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
... thank for help but this cannot solve my problem. i fix that code as your advise ![]() but text in subject still cannot read ![]() and i can confirm my server has well config with iconv_mime_decode function this is a code from my server <?php echo iconv_mime_decode("Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=",0, "ISO-8859-1"); echo "<br/>"; $subject = " =?TIS-620?B?UmU6IKLN47rgyrnNw9Kk0iCk6NIgZA==?= =?TIS-620?B?ZWRpY2F0ZWQgc2VydmVyICsgpOjS4Kro0iDD0sLgtNc=?= =?TIS-620?B?zbk=?="; if (function_exists('iconv_mime_decode')){ echo "CONFIRM function iconv_mime_decode exists<br/>"; $subject = iconv_mime_decode($subject, 2, 'UTF-8'); }else{ echo "CONFIRM function iconv_mime_decode <FONT COLOR=#FF0000>notexists</FONT><br/>"; $res = imap_mime_header_decode($subject); $subject = empty($res[0]->text) ? $subject : $res[0]->text; } $subject = explode('::', $subject); $subject = $subject[0]; $subject = empty($subject) ? $default_subject : trim($subject); $subject = mb_ereg_replace("[[:blank:]]+",' ',$subject); echo $subject; ?> result is correct i cant read email header ![]() can you help us find the way to solve this problem. you can try this script from my server **link PM to you. |
|
|
|
May 8 2012, 07:40 AM
Post
#8
|
|
|
Advanced User ![]() ![]() ![]() ![]() Group: Advanced Member Posts: 218 Joined: 15-April 11 Member No.: 761 |
I did the same on one of the our servers - it worked... Please send us a test e-mail (subject in Thai) at test_test@3dwebdesign.org . I will examine what is happening. I will keep you informed.
Best regards, Ivan |
|
|
|
May 8 2012, 07:59 AM
Post
#9
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
|
|
|
|
May 8 2012, 09:06 AM
Post
#10
|
|
|
Advanced User ![]() ![]() ![]() ![]() Group: Advanced Member Posts: 218 Joined: 15-April 11 Member No.: 761 |
the email was send. thank for help. Okay... My bad The mime-encoded message subject gets broken because of the quoted-printable soft line breaks when unfolding the message. Here is a quick fix: 1. Open the same file: /administrator/components/post_by_email/controller.php 2. Find the following lines (rows 582-583): Код //soft line breaks - quoted-printable encoded messages $message = str_replace("=\r\n", '', $message); Replace it with: Код //preserve the ?= pairs $message = str_replace("?=\r\n", 'pbm?=pbm', $message); //soft line breaks - quoted-printable encoded messages $message = str_replace("=\r\n", '', $message); //restore the ?= pairs $message = str_replace('pbm?=pbm', "?=\r\n", $message); 3. A few lines bellow find the following code block: Код if ( FALSE !== ($start = stripos($header, "\nSubject:")) ) { ....... } Replace it with: Код if ( FALSE !== ($start = stripos($header, "\nSubject:")) ) { $endline = strpos($header, "\n", $start+9); $line = FALSE !== $endline ? trim(substr($header, $start, $endline-$start), "\r\n\t ") : trim(substr($header, $start), "\r\n\t "); $subject = mb_ereg_replace("[[:blank:]]+",' ', trim(substr($line, 8),"\r\n\t ")); if (function_exists('iconv_mime_decode')) $subject = iconv_mime_decode($subject, 2, 'UTF-8'); else if (function_exists('imap_mime_header_decode')) { $res = ''; foreach(imap_mime_header_decode($subject) as $chunk) $res .= $chunk->text; $subject = $res; } $subject = empty($subject) ? $default_subject : trim($subject); if ('com_content' == $target && '1' == $check_content_duplicate) { $db->setQuery("SELECT COUNT(id) FROM `#__content` WHERE title = ".$db->quote($subject)); if ((int)$db->loadResult()) continue; } } Please give it a try. Best regards, Ivan |
|
|
|
May 8 2012, 10:14 AM
Post
#11
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 7-May 12 Member No.: 1,183 |
|
|
|
|
May 8 2012, 12:35 PM
Post
#12
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
If you like our extension and our work, please, write review in JED: http://extensions.joomla.org/extensions/au...oblogging/12215
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 1st June 2026 - 09:39 PM |