繁体   English   中英

迁移到https://时的Tectite Formmail PHP脚本错误

[英]Tectite formmail php script error when migrating to https://

Tectite Formmail迁移到https://时出现错误

提交表单后,浏览器将转到:

https://test.harrieboerhof.nl/templates/HB-home/forms/fmbadhandler.php?insession=1&vuyk=790dg132pl9sm33qcla6ho7dn5

并给出带有此消息的白页:

"insession specified, but no data found in session "

我收到一封主题为“ FormMail脚本错误”的邮件,并显示以下消息:

mail_failed **********错误=发送电子邮件失败

加上主题为“ FormMail脚本错误”的邮件和以下消息:

套接字错误0 ::

在浏览器中使用https://www.harrieboerhof/templates/HB-home/forms/formmail-aanvraag-tuinontwerpgesprek.php?testalert = 1进行测试时,出现以下消息:

测试消息已发送。 查看你的邮件。

并收到以下邮件:

这是一条测试警报消息,已加载语言为英语(内置)PHP版本为7.0.22-0ubuntu0.16.04.1 FormMail版本为8.24服务器类型:非Windows

DOCUMENT_ROOT:/ var / www / testhtml脚本文件名:/var/www/testhtml/templates/HB-home/forms/formmail-zend-uw-bericht-test.php PATH_TRANSLATED:-未设置-REAL_DOCUMENT_ROOT:/ var / www

SERVER_NAME是本地主机REQUEST_URI是/templates/HB-home/forms/formmail-zend-uw-bericht-test.php?testalert=1

用户IP地址为81.206.125.28用户代理为Mozilla / 5.0(Windows NT 6.1; WOW64; rv:55.0)Gecko / 20100101 Firefox / 55.0

表单的html:

 <form action="https://test.harrieboerhof.nl/templates/HB-home/forms/formmail-zend-uw-bericht-test.php" enctype="multipart/form-data" method="post"> <input name="recipients" type="hidden" value="harrie" > <input type="hidden" name="bcc" value="mail@domain.nl" /> <input name="conditions" type="hidden" value="conditions" > <input name="subject" type="hidden" value="Contactformulier van website" > <input name="mail_options" type="hidden" value="HTMLTemplate=https://test.harrieboerhof.nl/templates/HB-home/forms/zend-ons-uw-bericht.htm, NoPlain, FromAddr=noreply@harrieboerhof.nl,TemplateMissing=-, CharSet=utf-8 " > <input name="good_url" type="hidden" value="https://test.harrieboerhof.nl/nl/zend-ons-uw-bericht-bedankt/" > <input name="bad_url" type="hidden" value="https://test.harrieboerhof.nl/templates/HB-home/forms/fmbadhandler.php" > <input name="this_form" type="hidden" value="https://test.harrieboerhof.nl/nl/contact-met-uw-tuinman-hovenier-uit-drenthe/contactformulier/" /> <input name="bad_template" type="hidden" value="https://test.harrieboerhof.nl/nl/onvolledige-contactaanvraag/" /> 

当我使用测试站点的http://版本时,一切正常。 我在Google上搜索了这种情况,但这似乎是第一次出现这种情况,希望有人知道这可能是什么错误?

编辑:接受的答案不是完全的答案,请看下面的评论。

我怀疑问题在于PHP会话无法正常运行,而应该与您的https:// test站点一起使用。

“ vuyk”似乎是会话名称。

那你有

$SESSION_NAME = "vuyk";

在FormMail和FMBadHandler中?

如果是这样,则可能是https:// test站点的会话配置存在问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM