donglilian0061 2013-11-26 17:09
浏览 63
已采纳

无法在Google App Engine中运行本地WordPress

Following these instructions.

Installed MySQL, Python and Google App Engine PHP SDK on a Windows 8 PC. Perfect!

Created an app for WordPress, created database and user on localhost and edited WordPress config accordingly.

Started the app in the Google App Engine Launcher. Clicking Browse leads to blank page at http://localhost:8080/

Hmmm...

Checked logs, found

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 -

Pretty certain the Python for Windows package I used included PIL. Not sure where to go from here...

If I go to http://localhost:8080/wp-admin though, I get

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

In the error returned at http://localhost:8080/wp-admin/ I see /wp-admin/wp-admin/install.php

Obviously install.php cant be found. It is in /wp-admin/ not in /wp-admin/wp-admin/ Not sure how to fix that.

  • 写回答

2条回答 默认 最新

  • dongtan9518 2013-12-01 09:17
    关注

    Looks like Google App Engine doesn't support WordPress 3.7.1 (something that's not documented anywhere). Downgrading to WordPress 3.5.1 (the version mentioned in Google's instructions) made it work - http://localhost:8080 was forwarded to WordPress Install page.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog