问题标签 [cmsmadesimple]
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.
php - php phar nginx 没有指定输入文件
要升级 cms,我有一个 php 文件,它是一个 phar 文件
(https://www.cmsmadesimple.org/downloads/cmsms/)
我把它放在我网站的根目录
访问该文件时,会在 url 的末尾添加一个 index.php 像这样:
https://xx.domain.be/cmsms-2.2.12-install.php
变得
https://xx.domain.be/cmsms-2.2.12-install.php/index.php
但是 nginx 给我发了一个错误:没有指定输入文件。
我必须为此网址添加配置,但我不知道是什么
配置 nginx:
谢谢
php - 未检索到 CMSMS 元标记
我用 CMSMS 建立了一个网站。我在检索元标记时遇到问题。我认为这需要在 header.inc.php 文件中完成。截至目前,内容的元标记为空。
根据我在网上找到的一些文件,我需要把
但这只是在标记中按字面意思输出。什么是正确的方法?
{keywords} 呢?
这些都不起作用。
smarty - 我在 CMS Made Simple 上运行的网站遇到致命错误,现在无法正常工作
我的网站不再工作了。我收到以下错误:
第 8 行模板“tpl_head:tpl_head:16”中的语法错误“!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function() {n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};" - 意外的“.”,应为以下之一:“”、“”、“)”
我一直在努力寻找解决问题的方法。但我一直在死胡同。
堆栈跟踪如下:
0 /lib/smarty/sysplugins/smarty_internal_templateparser.php(2727): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
1 /lib/smarty/sysplugins/smarty_internal_templateparser.php(2786): Smarty_Internal_Templateparser->yy_syntax_error(45, '.')
2 /lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(114): Smarty_Internal_Templateparser->doParse(45, '.')
3 /lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(404): Smarty_Internal_SmartyTemplateCompiler->doCompile('\r\n...', true)
4 /lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(336):Smarty_Internal_TemplateCompilerBase->compileTemplateSource(对象(Smarty_Internal_Template),假,空)
5 /lib/smarty/sysplugins/smarty_template_compiled.php(204): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
6 /lib/smarty/sysplugins/smarty_template_compiled.php(100): Smarty_Template_Compiled->compileTemplateSource(Object(Smarty_Internal_Template))
7 /lib/smarty/sysplugins/smarty_template_compiled.php(163):Smarty_Template_Compiled->进程(对象(Smarty_Internal_Template))
8 /lib/smarty/sysplugins/smarty_internal_template.php(206): Smarty_Template_Compiled->render(对象(Smarty_Internal_Template))
9 /lib/smarty/sysplugins/smarty_internal_templatebase.php(216):Smarty_Internal_Template->渲染(假,0)
10 /lib/smarty/sysplugins/smarty_internal_templatebase.php(107):Smarty_Internal_TemplateBase->_execute(对象(Smarty_Internal_Template),NULL,NULL,NULL,0)
11 index.php(161): Smarty_Internal_TemplateBase->fetch()
12 {主要}
如果有人可以帮助我了解可能是什么问题,我将不胜感激。请帮忙。
php - 检查您正在使用的 MariaDB 版本的文档,以了解第 1 行的“DESC LIMIT 1) LIMIT 0, 50”周围的正确语法
为什么这个请求不正确?
MySQL 答案:文档