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 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程