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/


Checked logs, found

2013-11-26 17:56:18 Running command: "['C:\\Python27\\python.exe', 
'C:\\Program Files (x86)\\Google\\google_appengine\\', 
'--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000',
INFO     2013-11-26 17:56:19,805] 
Skipping SDK update check. 
WARNING  2013-11-26 17:56:19,813] 
Could not initialize images API; you are likely missing the Python "PIL" module. 
INFO     2013-11-26 17:56:19,822] 
Starting API server at: http://localhost:53853 
INFO     2013-11-26 17:56:19,826] 
Starting module "default" running at: http://localhost:8080 
INFO     2013-11-26 17:56:19,828] 
Starting admin server at: http://localhost:8000 
INFO     2013-11-26 17:56:21,828] 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.

    解决 无用
    打赏 举报

相关推荐 更多相似问题