编辑:我正在使用bootstrap 编辑:当我在actualites.php(文件末尾)中包含底部和页脚时,它可以工作。
我正在建立一个网站,我希望通过网址添加内容。所以我有:
<?php
// Menu
include_once "menu.php";
// Content
include_once "contenu.php";
// Bottom
include_once "bottom.php";
// Footer
include_once "footer.php";
?>
当我访问url domain-name / apropos时,会出现bottom.php和footer.php。但是我访问域名/现场,底部和页脚不会出现。
以下是错误日志文件的内容:
[Mon Aug 08 14:44:55.832020 2016] [core:warn] [pid 7276:tid 340] AH00098: pid file D:/UwAmp/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Aug 08 14:44:56.081628 2016] [ssl:warn] [pid 7276:tid 340] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Aug 08 14:44:56.097228 2016] [mpm_winnt:notice] [pid 7276:tid 340] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.4.31 configured -- resuming normal operations
[Mon Aug 08 14:44:56.097228 2016] [mpm_winnt:notice] [pid 7276:tid 340] AH00456: Apache Haus VC9 Server built: Jul 15 2014 20:34:18
[Mon Aug 08 14:44:56.097228 2016] [core:notice] [pid 7276:tid 340] AH00094: Command line: 'D:\\UwAmp\\bin\\apache\\bin\\httpd.exe -d D:/UwAmp/bin/apache -f D:\\UwAmp\\bin\\apache\\conf\\httpd.conf'
[Mon Aug 08 14:44:56.097228 2016] [mpm_winnt:notice] [pid 7276:tid 340] AH00418: Parent: Created child process 7524
AH00548: NameVirtualHost has no effect and will be removed in the next release D:/UwAmp/bin/apache/conf/httpd.conf:264
[Mon Aug 08 14:44:57.033258 2016] [ssl:warn] [pid 7524:tid 352] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Aug 08 14:44:57.111261 2016] [mpm_winnt:notice] [pid 7524:tid 352] AH00354: Child: Starting 64 worker threads.
答案 0 :(得分:0)
所以最后我复制了php文件,重命名了它,使用了复制的文件,现在即使内容也是一样的。
我真的不明白。
感谢你们所有人。