Error in setup.php when running wordpress on linux using app-engine php sdk -
i facing few errors trying run wordpress on php app-engine on ubuntu.
the instructions mention using
dev_appserver.py -r
,-r
invalid argument?the server starts (i able run helloworld successfully) on visiting, following error:
error:root:php failure (255) with: x-powered-by: php/5.4.15 content-type: text/html <br /> <b>warning</b>: chdir(): no such file or directory (errno 2) in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>12</b><br /> <br /> <b>warning</b>: require(wordpress/index.php): failed open stream: no such file or directory in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>45</b><br /> <br /> <b>fatal error</b>: require(): failed opening required 'wordpress/index.php' (include_path='/home/ubuntu/wordpress:/home/ubuntu/google_appengine/php/sdk') in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>45</b><br />
looking further in google/appengine/tools/devappserver2/php/setup.php line 11, $actualpath = stream_resolve_include_path($relativepath);
, $relativepath
wordpress
, $actualpath
received empty string seems causing issue.
i not sure "-r" flag came from. can't find being documented.
have made sure application folder called "wordpress" , there index.php file in there?
also make sure directory structure looks following:
. ├── app.yaml ├── cron.yaml ├── main.php ├── php.ini └── wordpress ├── index.php ├── license.txt ├── readme.html ├── wp-activate.php ├── wp-admin ├── wp-blog-header.php ├── wp-comments-post.php ├── wp-config.php ├── wp-config-sample.php ├── wp-content ├── wp-cron.php ├── wp-includes ├── wp-links-opml.php ├── wp-load.php ├── wp-login.php ├── wp-mail.php ├── wp-settings.php ├── wp-signup.php ├── wp-trackback.php └── xmlrpc.php 4 directories, 21 files
i tested installation instructions , worked perfectly.
Comments
Post a Comment