dongtang6775
2015-05-08 09:46
浏览 65
已采纳

解析错误:语法错误,第179行意外结束文件(文件没有这么多行)[关闭]

I'm getting the error-message while executing a .php-file which has just 177 lines.

Background: this is a Wordperfect-Install, that same page executes fine for other records, but in the record which causes issues, I'm demo-ing some new shortcodes. It is not unlikely that I made a fault in these developments, but that is all done outside of the "crashing" file, so I wonder why it would appear there (and with such a strange line-no.) and not in the source that I modified...

In wp-config.php, I have set define('WP_DEBUG', true);

P.S: The exact error msg is:

Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\wp-content\themes\mytheme\single-record.php on line 179

图片转代码服务由CSDN问答提供 功能建议

我在执行只有177行的.php文件时收到错误消息。</ p >

背景:这是一个Wordperfect-Install,同一页面对其他记录执行正常,但在导致问题的记录中,我正在演示一些新的短代码。 我不是不可能在这些开发中犯错,但这都是在“崩溃”文件之外完成的,所以我想知道它为什么会出现在那里(并且有这样一个奇怪的行 - 没有。)而不是在源代码中 我修改过... </ p>

wp-config.php </ code>中,我设置了 define('WP_DEBUG',true); </ code> </ p>

PS:</ strong>确切的错误消息是:</ p>

 解析错误:语法错误,意外的文件结束 在第179行的C:\ xampp \ htdocs \ wp-content \ themes \ mytheme \ single-record.php 
 </ code> </ pre> 
 </ div>

1条回答 默认 最新

相关推荐 更多相似问题