简体   繁体   English

MAMP上的ExpressionEngine

[英]ExpressionEngine on MAMP

I am trying to run a legacy 1.6.8 EE install on MAMP. 我正在尝试在MAMP上运行旧版1.6.8 EE安装。 I can see the index page but the expression engine tags are rendered to the browser rather than being parsed and running DB queries. 我可以看到索引页面,但是表达式引擎标记是呈现给浏览器的,而不是被解析并运行数据库查询的。 I'm also not seeing any styling (images, css etc) on the front end or in the control panel. 我也没有在前端或控制面板中看到任何样式(图像,css等)。

In addition, I cannot install a fresh version of 1.6.8 as I get the error: 另外,由于出现错误,我无法安装1.6.8的新版本:

Error: Unable to perform the SQL queries needed to install this program. 错误:无法执行安装此程序所需的SQL查询。 Please make sure your MySQL account has the proper GRANT privileges: CREATE, DROP, ALTER, INSERT, and DELETE 请确保您的MySQL帐户具有适当的GRANT特权:CREATE,DROP,ALTER,INSERT和DELETE

I do this as root which has the relevant privileges. 我以具有相关特权的root用户身份执行此操作。 I have tried switching off MYSQL STRICT mode (both in my.cnf and by running SET @@global.sql_mode= ''; 我试图关闭MYSQL STRICT模式(在my.cnf中并通过运行SET @@ global.sql_mode ='';

Does anyone know what might be causing either of these problems? 有谁知道是什么原因导致这些问题? I have already tried official EE support 我已经尝试过官方的EE支持

Installing ExpressionEngine 1.x on any version of MAMP 1.9.5 or later is a known-issue , and causes the following error during the EE installation process: 在任何版本的MAMP 1.9.5或更高版本上安装ExpressionEngine 1.x已知问题 ,并且在EE安装过程中导致以下错误:

Error: Unable to perform the SQL queries needed to install this program. 错误:无法执行安装此程序所需的SQL查询。 Please make sure your MySQL account has the proper GRANT privileges: CREATE, DROP, ALTER, INSERT, and DELETE 请确保您的MySQL帐户具有适当的GRANT特权:CREATE,DROP,ALTER,INSERT和DELETE

Unfortunately, the error message isn't indicative of the actual problem, as 'root@localhost' has full MySQL privileges. 不幸的是,错误消息并不表示实际问题,因为'root@localhost'具有完整的MySQL特权。

The solution is to downgrade to MAMP v1.9.4 ( 162 MB Download ). 解决方案是降级到MAMP v1.9.4162 MB下载 )。

MAMP v1.9.5 (released 2011-03-11) upgraded MySQL from v5.1.44 to v5.5.9, which according to EllisLab is problematic with EE 1.x — all versions of EE 2.x do not have this problem. MAMP v1.9.5 (发布于2011-03-11)将MySQL从v5.1.44升级到了v5.5.9,根据EllisLab的说法,EE 1.x出现了问题-EE 2.x的所有版本都没有此问题。

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

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