联系官方销售客服
1835022288
028-61286886
不知道怎么回事 一加二级分类就报错
{category module=share pid=0}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle {if IS_SHARE && $catid && in_array($catid, $t.catids)} active{/if}" href="{$t.url}" id="navbar3" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{$t.name} {if $t.child}<i class="fa fa-angle-down"></i>{/if}</a>
{if $t.child}
<div class="dropdown-menu" aria-labelledby="navbar3">
{category module=share pid=$t.id return=t2}
<a class="dropdown-item " href="">{$t.name}</a>
{/category}
</div>
{/if}
</li>
{/category}
syntax error, unexpected '"'
#SQL:SELECT * FROM `dr_member_group_index` WHERE `uid` = 1
#URL:http://www.hai888life.com/
#REFERER:http://www.hai888life.com/admin.php
#0 /www/wwwroot/www.hai888life.com/dayrui/Fcms/Core/View.php(230): include()
#1 /www/wwwroot/www.hai888life.com/dayrui/Core/Controllers/Home.php(18): PhpcmfView->display('index.html')
#2 /www/wwwroot/www.hai888life.com/dayrui/Core/Controllers/Home.php(26): PhpcmfControllersHome->_index()
#3 /www/wwwroot//www.hai888life.com/dayrui/System/CodeIgniter.php(918): PhpcmfControllersHome->index()
#4 /www/wwwroot/www.hai888life.com/dayrui/System/CodeIgniter.php(404): CodeIgniterCodeIgniter->runController(Object(PhpcmfControllersHome))
#5 /www/wwwroot/www.hai888life.com/dayrui/System/CodeIgniter.php(312): CodeIgniterCodeIgniter->handleRequest(NULL, Object(ConfigCache), false)
#6 /www/wwwroot/www.hai888life.com/dayrui/Fcms/Init.php(353): CodeIgniterCodeIgniter->run()
#7 /www/wwwroot/www.hai888life.com/index.php(47): require('/www/wwwroot/ww...')
#8
回复迅睿框架创始人
这个区域的语法你写错了,你把这个div区域的标签发来看看,我给你分析分析
你给我的代码没有问题的,不是报错的地方,也就是你给错我的代码了