Start page not shown

49 views
Skip to first unread message

Fabio Gonçalves

unread,
Mar 27, 2017, 4:17:59 AM3/27/17
to Google App Engine
Hi, I published all my *.html and *.jpg, etc. via Google App Engine. 
These files are reachable. When I enter https://fogo-guide.appspot.com/index.html the page is shown. 
But when I try https://fogo-guide.appspot.com/ I get an error message:
Traceback (most recent call last):
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 302, in _LoadHandler
    raise err
ImportError: <module 'main' from '/base/data/home/apps/s~fogo-guide/1.400130490446068365/main.pyc'> has no attribute php
What' wrong? Deployment ends without any error message. 
The app.yaml I added. 
The main.php has only one dummy line:
<?php    echo 'Fogo waits for you!'; 
Because there is no active code, ohne a html-Webside. 
Thanks and sorry for my bad English. 
app.yaml

Alex (Cloud Platform Support)

unread,
Mar 27, 2017, 6:31:13 PM3/27/17
to Google App Engine

Hi Fabio,


This appears to be a request for 1-on-1 assistance with a technical issue specific to your development. This isn't the right forum to look for help on such a question, which is perfectly suited to stackoverflow.com. This forum, on the other hand, is meant for more general high-level discussions of the platform and services, design patterns, etc.


As for how to assist with the issue itself, looking at your provide app.yaml file it seems that you are attempting to run a PHP application in a Python environment. Therefore, changing the “runtime: python27” parameter to “runtime: php55” as specified in this app.yaml Reference example may solve your issue.


Regards,

Alex

Reply all
Reply to author
Forward
0 new messages