在Windows 8 PC上安装MySQL,Python和Google App Engine PHP SDK。完善!
为WordPress创建了一个应用程序,在localhost上创建了数据库和用户,并相应地编辑了WordPress配置。
在Google App Engine Launcher中启动了该应用。单击“浏览”会导致http://localhost:8080/
嗯...
检查日志,找到
2013-11-26 17:56:18 Running command: "['C:\\Python27\\python.exe',
'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py',
'--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000',
'C:\\Users\\CsillamVilag\\Documents\\development-appengine\\arcfestesmintak']"
INFO 2013-11-26 17:56:19,805 devappserver2.py:660]
Skipping SDK update check.
WARNING 2013-11-26 17:56:19,813 api_server.py:331]
Could not initialize images API; you are likely missing the Python "PIL" module.
INFO 2013-11-26 17:56:19,822 api_server.py:138]
Starting API server at: http://localhost:53853
INFO 2013-11-26 17:56:19,826 dispatcher.py:171]
Starting module "default" running at: http://localhost:8080
INFO 2013-11-26 17:56:19,828 admin_server.py:117]
Starting admin server at: http://localhost:8000
INFO 2013-11-26 17:56:21,828 module.py:617] default: "GET / HTTP/1.1" 302 -
我确实使用的Python for Windows软件包包括PIL。不知道从哪里开始...
如果我去http://localhost:8080/wp-admin
,我会得到
Warning: chdir(): Invalid argument (errno 22) in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 42
Warning: require(wordpress/wp-admin/wp-admin/install.php): failed to open stream: No such file or directory in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 103
Fatal error: require(): Failed opening required 'wordpress/wp-admin/wp-admin/install.php' (include_path='C:\Users\CsillamVilag\Documents\development-appengine\arcfestesmintak;C:\Program Files (x86)\Google\google_appengine\php\sdk') in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 103
在http://localhost:8080/wp-admin/
返回的错误中,我看到/wp-admin/wp-admin/install.php
显然install.php
无法找到。它在/wp-admin/
不在/wp-admin/wp-admin/
不知道如何解决这个问题。
答案 0 :(得分:0)
如果您收到空白页,则需要检查错误
在/wordpress/wp_config.php文件集中
define('WP_DEBUG',false); @ini_set( '的display_errors',0);
到
define('WP_DEBUG',true); @ini_set( '的display_errors',1);
并查看进入
时输出的内容http://localhost:8080
答案 1 :(得分:0)
看起来Google App Engine不支持WordPress 3.7.1(任何地方都没有记录)。降级到WordPress 3.5.1(Google说明中提到的版本)使其正常工作 - http://localhost:8080
被转发到WordPress安装页面。