cms icon indicating copy to clipboard operation
cms copied to clipboard

</stl:contents> 值不能为 null

Open story123 opened this issue 8 years ago • 3 comments

<stl:contents channelIndex="产品功能" totalNum="1" startNum="3"> <stl:a class="menu-item service"> {Content.Title}

{Content.Title}

{Content.Summary}

了解更多 icon arrow </stl:a> </stl:contents> 值不能为 null。 参数名: commandText

在 SiteServer.CMS.Data.DbHelper.PrepareCommand(IDbCommand command, IDbConnection connection, IDbTransaction transaction, String commandText, IDataParameter[] commandParameters, Boolean& mustCloseConnection) 在 SiteServer.CMS.Data.DbHelper.ExecuteDataset(IDbConnection connection, String commandText, IDataParameter[] commandParameters) 在 SiteServer.CMS.Data.DbHelper.ExecuteDataset(String connectionString, String commandText, IDataParameter[] commandParameters) 在 SiteServer.CMS.Provider.ContentDao.GetStlDataSourceByStartNum(String tableName, Int32 startNum, Int32 totalNum, String whereString, String orderByString) 在 SiteServer.CMS.Provider.ContentDao.GetStlDataSourceChecked(String tableName, List1 channelIdList, Int32 startNum, Int32 totalNum, String orderByString, String whereString, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.Cache.Content.GetStlDataSourceChecked(List1 channelIdList, String tableName, Int32 startNum, Int32 totalNum, String orderByString, String whereString, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.Utility.StlDataUtility.GetContentsDataSource(SiteInfo siteInfo, Int32 channelId, Int32 contentId, String groupContent, String groupContentNot, String tags, Boolean isImageExists, Boolean isImage, Boolean isVideoExists, Boolean isVideo, Boolean isFileExists, Boolean isFile, Boolean isRelatedContents, Int32 startNum, Int32 totalNum, String orderByString, Boolean isTopExists, Boolean isTop, Boolean isRecommendExists, Boolean isRecommend, Boolean isHotExists, Boolean isHot, Boolean isColorExists, Boolean isColor, String where, EScopeType scopeType, String groupChannel, String groupChannelNot, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.StlElement.StlContents.GetDataSource(PageInfo pageInfo, ContextInfo contextInfo, ListInfo listInfo) 在 SiteServer.CMS.StlParser.StlElement.StlContents.ParseImpl(PageInfo pageInfo, ContextInfo contextInfo, ListInfo listInfo) 在 SiteServer.CMS.StlParser.Parsers.StlElementParser.ParseStlElement(String stlElement, PageInfo pageInfo, ContextInfo contextInfo)

2018-05-11 23:54:05

story123 avatar May 11 '18 20:05 story123

用的什么数据库?数据库版本? 我们有针对的测一下

starlying avatar May 14 '18 03:05 starlying

sqlserver2012 express~ 64位

story123 avatar May 14 '18 07:05 story123

再生成一次试试,可能暂时性的数据库无法连接导致的

starlying avatar May 15 '18 02:05 starlying