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条)

报告相同问题?

悬赏问题

  • ¥50 关于#html5#的问题:H5页面用户手机返回的时候跳转到指定页面例如(语言-javascript)
  • ¥15 无法使用此凭据登录,因为你的域不可用,如何解决?(标签-Windows)
  • ¥15 yolov9的训练时间
  • ¥15 二叉树遍历没有报错但无法正常运行
  • ¥15 在linux系统下vscode运行robocup3d上场球员报错
  • ¥15 Python语言实验
  • ¥15 SAP HANA SQL 增加合计行
  • ¥20 用C#语言解决一个英文打字练习器,有偿
  • ¥15 srs-sip外部服务 webrtc支持H265格式
  • ¥15 在使用abaqus软件中,继承到assembly里的surfaces怎么使用python批量调动