问题标签 [chronoforms]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
joomla - 如何在joomla的自定义代码事件中检索新添加行的id?
我是 joomla 的新手,我正在尝试通过自定义代码事件获取 URL 中新插入记录的 ID。
php - 用于 IQAndreas PHP 垃圾邮件过滤器的带有两个大写字母且没有空格的 Reg 表达式名称
我想向黑名单之一添加一个 reg 表达式条目,该条目将过滤任何有两个大写但没有空格的人的名字,因为我看到很多垃圾邮件发送者的名字像 MarcelBoilt、RobertGef、ZichardMed、IngaOxina。
我应该如何编写 Reg 表达式来阻止这些名称?这些单字名称必须至少包含 3 个字母。
黑名单要求: - 此处可以使用任何正则表达式语法(不带分隔符)。- 正则表达式始终不区分大小写。- 正则表达式不得超过一行。- '#' 字符之后直到行尾的任何内容都将被忽略,因此将其用于注释。- 如果您只想写出关键字,请记住转义在正则表达式中有意义的特殊字符。
apache - 如何修复 Chronoforms5 中的“fopen():不支持远程主机文件访问”错误?
在新的 CentOS 7 服务器中,Joomla 3.9.x CMS 上的 Chronoforms5 组件的 TCPDF 插件存在问题,而在我的旧服务器 Debian 8 上则没有。两台服务器中的 Joomla 安装相同。
旧服务器(运行良好):Debian 8 / Apache 2.4.10 / PHP 7.1.30 / Joomla 3.9.10;
新服务器(有错误):CentOS 7.6.1810 / Apache 2.4.6 / PHP 7.3.7 / Joomla 3.9.10。
当我提交应在“缓存”之类的文件夹上创建 PDF 的表单时(因此 url 将是http://www.example.com/cache/filexxx.pdf和路径 /var/www/html/cache/ filexxx.pdf),在 Debian 上创建文件并在调试时 $form->files['cf_pdf_file']['link'] 值为 'cache/filexxx.pdf',这是正确的行为。
在 CentOS 上使用相同表单的问题是,当我提交表单时,我收到此错误:
Warning: fopen(): remote host file access not supported, file://cache/tcpdf_20190712104304.pdf in /usr/share/php/tcpdf/include/tcpdf_static.php on line 1821
Warning: fopen(file://cache/tcpdf_20190712104304.pdf): failed to open stream: no suitable wrapper could be found in /usr/share/php/tcpdf/include/tcpdf_static.php on line 1821
TCPDF ERROR: Unable to create output file: cache/pdf/tcpdf_20190712124222.pdf