任何时候有人去注册(我们使用 RSForms),我们都会收到此错误
Warning
Registration failed: SQL=INSERT INTO (,,,,,,,,,,,,,,) VALUES (105,0,0,0,0,0,0,1,0,0,1,0,1,1,0)
然后,我向开发人员提交了错误报告,并在尝试注册时收到了这些错误报告。
Notice: Use of undefined constant DS - assumed 'DS' in /home/content/03/7103303/html/plugins/system/jcktypography/jcktypography.php on line 15
Notice: Use of undefined constant DS - assumed 'DS' in /home/content/03/7103303/html/plugins/system/jcktypography/jcktypography.php on line 15
Strict Standards: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/content/03/7103303/html/templates/hot_designnow/index.php on line 40
Strict Standards: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /home/content/03/7103303/html/libraries/cms/application/site.php on line 250
Strict Standards: Only variables should be assigned by reference in /home/content/03/7103303/html/templates/hot_designnow/index.php on line 40
此外,当打开调试系统和语言时,我将它们显示为红色(我们现在使用默认寄存器)
**Parsing errors in language files**
JROOT/administrator/language/en-GB/en-GB.com_rsform.ini : error(s) in line(s) 546
此外,在查看“扩展管理器”->“管理”时,还有一个新的插件/模块 代码: COM_INSTALLER_TYPE_
希望这对您有所帮助,感谢您花时间提供帮助
最佳答案
据我所知,您遇到了 3 个不同的问题:
您的第一条错误消息
Warning
Registration failed: SQL=INSERT INTO (,,,,,,,,,,,,,,) VALUES (105,0,0,0,0,0,0,1,0,0,1,0,1,1,0)
表示您正在 rsforms 中使用自定义 sql 脚本,该脚本在某种程度上已损坏。也许您已经从 1.5 升级并且这个自定义 sql(可能还有相关的 php)需要重写?
你的第二个问题:
“通知行表明您有一个插件,该插件与 Joomla 3.0 不完全兼容,如果可能的话,我会卸载并获取升级版本。
“严格标准”行可能是 Joomla 代码不符合严格标准,而且您的模板尚未升级以遵守这些
你的第三个问题:
“解析错误表明RSForm的语言文件丢失或尚未正确升级。我将重新安装/升级RsForm。
关于您问题的主要角度,您需要查看自定义 RSForm SQL 脚本并将其发布到此处。
关于php - Joomla 注册 MySQL 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20361752/