开发者

wordpress parse error

I'm editing a wordpress template, called BlueGrey (download : http://www.skinpress.com/bluegrey-theme-2/ )

But I've a problem. when I edit index.php and run myblog, php said:

Parse error: parse error in C:\wamp\www***\wp-content\themes\BlueGrey\index.php on line 52

line 52 ::

i pasted index.php (edited version) in pastebin:: h开发者_Go百科ttp://pastebin.com/EMtxJN4h

note 1::: i have this problem on WAMP, and Xampp run it perfectly.

note 2::: original index.php has not any problem ::: ht tp://pastebin.com/cmqJHqeh

Thanks.


Try using {} instead of : endwhile;
Also try enabling shorttag in wamp.
Or You can just turn error reporting off in php.ini

You can copy your php.ini file from Xamp installation to Wamp, because it is working fine in Xamp as mentioned by you.


On line 47 you have:

<? 

By default WAMP likes the full opening of:

<?php
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜