Introduce the problem of the path. It is recommended to join
include $_SERVER[‘DOCUMENT_ROOT’].”/template/header.html”;
It means to get include.PHP. In the root of the website
// Wrong // include('../template/header.html'); // Right include $_SERVER['DOCUMENT_ROOT']."/template/header.html";
Similar Posts:
- [Solved] VUE Error: Component template should contain exactly one root element. If you are using v-if on mu…
- TypeError: CleanWebpackPlugin is not a constructor
- [Solved] Protobuf Error: ‘tr1/unordered_map’ file not found
- Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers
- Nginx Error: File not found [Use php-fpm to parse PHP]
- Stylesheet not loaded because of MIME-type [How to Solve]
- Error 500 when opening the site configured by nginx
- ZABBIX agent active mode monitoring
- Python3 ImportError: No module named _ssl [How to Solve]
- ERRORS: ?: (staticfiles.E002) The STATICFILES_DIRS setting should not contain the STATIC_ROOT set…