Captcha Bug free.fr - Can't send mail using Contact in 1.6.8
Moderator: Thorsten
Captcha Bug free.fr - Can't send mail using Contact in 1.6.8
Hi,
Warning: mail() [function.mail]: Nombre de parametres incorrects in /mnt/...mypath../eproust/phpmyfaq/sendmail.php on line 56
Let me translate for non french speaking people :
Warning: mail() [function.mail]: Incorrect parameters number in /mnt/...mypath../eproust/phpmyfaq/sendmail.php on line 56
I use free.fr as free hosting, everything works well except the ability to send mail (Contact).
I also use several other famous php scripts in the hosting space, all of them have no problem to send mail using the mail() function of free.fr hosting...
Could you help me ?
Warning: mail() [function.mail]: Nombre de parametres incorrects in /mnt/...mypath../eproust/phpmyfaq/sendmail.php on line 56
Let me translate for non french speaking people :
Warning: mail() [function.mail]: Incorrect parameters number in /mnt/...mypath../eproust/phpmyfaq/sendmail.php on line 56
I use free.fr as free hosting, everything works well except the ability to send mail (Contact).
I also use several other famous php scripts in the hosting space, all of them have no problem to send mail using the mail() function of free.fr hosting...
Could you help me ?
Last edited by eproust on Mon Nov 19, 2007 9:28 am, edited 1 time in total.
Re: Can't send mail using Contact in 1.6.8...
Hi,
Ciao,
Matteo
I'm looking at your issue.eproust wrote:Could you help me ?
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Re: Can't send mail using Contact in 1.6.8...
Hi,
to:
Ciao,
Matteo
please, locate, backup and open the [PATH_TO_PMFINSTALL]/sendmail.php file and change this line from:eproust wrote:Warning: mail() [function.mail]: Incorrect parameters number in /mnt/...mypath../eproust/phpmyfaq/sendmail.php on line 56
Code: Select all
...
mail($IDN->encode($PMF_CONF['adminmail']), $subject, $question, implode("\r\n", $additional_header), '-f'.$sender);
...
Code: Select all
...
if (ini_get('safe_mode')) {
mail($IDN->encode($PMF_CONF['adminmail']), $subject, $question, implode("\r\n", $additional_header));
} else {
mail($IDN->encode($PMF_CONF['adminmail']), $subject, $question, implode("\r\n", $additional_header), '-f'.$sender);
}
...
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Thanks it works ! [FIXED]
Hi,
Your solution is working fine. Thanks
---
One other thing (useless for me) is not working, it is the chapka nothing is displayed so I disable this function.
Could you investigate on this ?
Best regards.
Your solution is working fine. Thanks
---
One other thing (useless for me) is not working, it is the chapka nothing is displayed so I disable this function.
Could you investigate on this ?
Best regards.
Re: Thanks it works ! [FIXED]
Hi,
Ciao,
Matteo
my pleasure: thank you for choosing PMF as your faq service!eproust wrote:Your solution is working fine. Thanks
if you STF (Search The Forum) you'll find many users claiming that captcha doesn't work: in any of those cases it was a server issue due e.g. to the missing of the GD extension. Could you check if that extension is enabled using phpinfo()?eproust wrote:One other thing (useless for me) is not working, it is the chapka nothing is displayed so I disable this function.
Could you investigate on this ?
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Captcha not displayed even so GD is enabled at my hosting...
This is a pasted part of the phpinfo...
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Hi,
what's happening when you activate the captchas and try to see the images only by a right click on the image?
bye
Thorsten
what's happening when you activate the captchas and try to see the images only by a right click on the image?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Nothing anywhere !
I suppose that the captcha would be at the right side of the form...
But there is nothing, and if right-click anywhere on the right side of the form, no image is detected and could be displayed.
I could make a printscreen or give you the url so that you could check it by yourself, but obviously off this forum.
But there is nothing, and if right-click anywhere on the right side of the form, no image is detected and could be displayed.
I could make a printscreen or give you the url so that you could check it by yourself, but obviously off this forum.
Hi,
can you post the URL of your FAQ?
bye
Thorsten
can you post the URL of your FAQ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
My captcha still not working, I use the last snapshot 2.0
Could you have a look at my site : http://eproust.free.fr/phpmyfaq/
Hi,
please enable the debug mode and check the image once again.
bye
Thorsten
please enable the debug mode and check the image once again.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
How to enable the debug mode !
Sorry, I don't know about the debug mode.
Please explain how to enable it.
Please explain how to enable it.
Hi,
please edit inc/Init.php.
bye
Thorsten
please edit inc/Init.php.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Debug information...
Is it what you asked ?
DEBUG INFORMATION:
PMF_Configuration->getAll() in line 87:
SELECT
config_name, config_value
FROM
mfaq_faqconfig
PMF_Session->checkSessionId() in line 177:
SELECT
sid
FROM
mfaq_faqsessions
WHERE
sid = 1248
AND
ip = '81.56.206.93'
AND
time > 1194024322
PMF_Session->checkSessionId() in line 177:
UPDATE
mfaq_faqsessions
SET
time = 1194110722,
user_id = -1
WHERE
sid = 1248
AND ip = '81.56.206.93'
PMF_Category->getOrderedCategories() in line 150:
SELECT
fc.id AS id,
fc.lang AS lang,
fc.parent_id AS parent_id,
fc.name AS name,
fc.description AS description,
fc.user_id AS user_id
FROM
mfaq_faqcategories fc
LEFT JOIN
mfaq_faqcategory_group fg
ON
fc.id = fg.category_id
LEFT JOIN
mfaq_faqcategory_user fu
ON
fc.id = fu.category_id
WHERE
( fg.group_id IN (-1)
OR
(fu.user_id = -1 AND fg.group_id IN (-1)))
AND
fc.lang = 'fr'
GROUP BY
fc.id, fc.lang, fc.parent_id, fc.name, fc.description, fc.user_id
ORDER BY
fc.id
PMF_Tags->existTagRelations() in line 322:
SELECT
COUNT(record_id) AS n
FROM
mfaq_faqdata_tags
COOKIES:
pmf_lang: fr
pmf_sid: 1248
pmf_auth_169bf0e5940c92be634afd3ae636f186: 28a5c29dd95d491094cbc8005aa0800e
DEBUG INFORMATION:
PMF_Configuration->getAll() in line 87:
SELECT
config_name, config_value
FROM
mfaq_faqconfig
PMF_Session->checkSessionId() in line 177:
SELECT
sid
FROM
mfaq_faqsessions
WHERE
sid = 1248
AND
ip = '81.56.206.93'
AND
time > 1194024322
PMF_Session->checkSessionId() in line 177:
UPDATE
mfaq_faqsessions
SET
time = 1194110722,
user_id = -1
WHERE
sid = 1248
AND ip = '81.56.206.93'
PMF_Category->getOrderedCategories() in line 150:
SELECT
fc.id AS id,
fc.lang AS lang,
fc.parent_id AS parent_id,
fc.name AS name,
fc.description AS description,
fc.user_id AS user_id
FROM
mfaq_faqcategories fc
LEFT JOIN
mfaq_faqcategory_group fg
ON
fc.id = fg.category_id
LEFT JOIN
mfaq_faqcategory_user fu
ON
fc.id = fu.category_id
WHERE
( fg.group_id IN (-1)
OR
(fu.user_id = -1 AND fg.group_id IN (-1)))
AND
fc.lang = 'fr'
GROUP BY
fc.id, fc.lang, fc.parent_id, fc.name, fc.description, fc.user_id
ORDER BY
fc.id
PMF_Tags->existTagRelations() in line 322:
SELECT
COUNT(record_id) AS n
FROM
mfaq_faqdata_tags
COOKIES:
pmf_lang: fr
pmf_sid: 1248
pmf_auth_169bf0e5940c92be634afd3ae636f186: 28a5c29dd95d491094cbc8005aa0800e
Hi,
that's the problem:
I have to investigate what's causing this. Do you changed the TTF files in the folder /fonts?
bye
Thorsten
that's the problem:
Code: Select all
Warning: imagettftext() [function.imagettftext]: Unable to access in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 325
Warning: imagettftext() [function.imagettftext]: Invalid font filename in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 325
Warning: imagettftext() [function.imagettftext]: Unable to access in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 326
Warning: imagettftext() [function.imagettftext]: Invalid font filename in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 326
Warning: imagettftext() [function.imagettftext]: Unable to access in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 327
Warning: imagettftext() [function.imagettftext]: Invalid font filename in /mnt/155/sda/a/e/eproust/phpmyfaq/inc/Captcha.php on line 327
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist