簡體   English   中英

Google App Engine PHP上的Joomla管理員錯誤

[英]Joomla admin errors on google app engine php

試圖讓joomla在本地工作並遇到“管理員”頁面問題。 我有這個錯誤,

網站工作的首頁-www.my-site.index.php,但是使用管理員,我發現以下錯誤-www.my-site / administrator.index.php

Warning: require(/Users/RichardClark/Sites/demo-test2/joomla/administrator): failed to open stream: No such file or directory in /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 115

Fatal error: require(): Failed opening required '/Users/RichardClark/Sites/demo-test2/joomla/administrator' (include_path='/Users/RichardClark/Sites/demo-test2:/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/php/sdk') in /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 115

我得到的印象是joomla和Google App Engine不太兼容。 我真的很難調試。 我的app.yaml文件如下;

application: fit-rig-517
version: 1
runtime: php
api_version: 1

handlers:
- url: /joomla/(.*\.(htm$|html$|css$|js$))
  static_files: joomla/\1
  upload: joomla/(.*\.(htm$|html$|css$|js$))
  application_readable: true

## Admin  
- url: /administrator(.+)
  script: joomla/administrator\1

## Asset folders
- url: /media
  static_dir: joomla/media
  application_readable: true
  mime_type: text/html

- url: /images
  static_dir: joomla/images
  application_readable: true

## Template folders
- url: /templates
  static_dir: joomla/templates
  application_readable: true
  mime_type: application/(htm$|html$|css$|js$)

- url: /administrator/templates
  static_dir: joomla/administrator/templates
  application_readable: true
  mime_type: text/html

## SEO robots
- url: /robots.txt
  script: joomla/robots.txt 

## Site access
- url: /(.+)?/?
  script: joomla/index.php

謝謝

App Engine沒有用於目錄訪問的默認腳本(例如index.php)的概念。 相反,它依賴於app.yaml中的以下規則來定位php腳本。

## Admin  
- url: /administrator(.+)
  script: joomla/administrator\1

使用/administrator/index.php來訪問您的管理頁面。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM