Error
Database query error
Query:
SELECT
`ArticleCateg`.ID as CategoryID,
`ArticleCateg`.Name as CategoryName,
`Article`.`ID`,
`Article`.`Title`,
`Article`.`Description`,
`Article`.`IconName`,
`Article`.`IconExt`,
UNIX_TIMESTAMP( `Article`.`Added` ) AS `PostDate_f`
FROM `Article`
LEFT JOIN `ArticleCateg`
ON `ArticleCateg`.`ID` = `Article`.`Category`
WHERE `Article`.`Active`='1' AND `Article`.`Approval` = 1 AND `Article`.`Featured`=1
Order By Rand() LIMIT 1;
Found error in file
/home/youmobil/public_html/inc/classes/BxDolMagazine.php
at line
1996. Called
db_res function
with erroneous argument #
0
Debug backtrace:Array
(
[1] => Array
(
[file] => /home/youmobil/public_html/inc/classes/BxDolMagazine.php
[line] => 1996
[function] => db_res
[args] => Array
(
[0] =>
SELECT
`ArticleCateg`.ID as CategoryID,
`ArticleCateg`.Name as CategoryName,
`Article`.`ID`,
`Article`.`Title`,
`Article`.`Description`,
`Article`.`IconName`,
`Article`.`IconExt`,
UNIX_TIMESTAMP( `Article`.`Added` ) AS `PostDate_f`
FROM `Article`
LEFT JOIN `ArticleCateg`
ON `ArticleCateg`.`ID` = `Article`.`Category`
WHERE `Article`.`Active`='1' AND `Article`.`Approval` = 1 AND `Article`.`Featured`=1
Order By Rand() LIMIT 1;
)
)
[2] => Array
(
[file] => /home/youmobil/public_html/inc/classes/BxDolMagazine.php
[line] => 1944
[function] => GetFeaturedArticles
[class] => BxDolMagazine
[object] => BxDolMagazine Object
(
[sArticleHomeCategories] =>
[sArticleHomeFeatured] =>
[sArticleHomeCategoryInfo] =>
[sArticleHomeRecent] =>
[sArticleHomeTop] =>
[sArticleHomePopular] =>
[sArticleHomeTopAuthors] =>
[sArticleHomeTags] =>
[sInfoSect] =>
[sActionsSect] =>
[sOwnerSect] =>
[sCommentsSect] =>
[sRateSect] =>
[sTagsSect] =>
[iViewer] => 0
[iArticle] => 0
[aInfo] => Array
(
)
[titleLength] => 100
[descLength] => 95
[rssTitleLength] => 150
[rssDescLength] => 400
[bAdminMode] =>
[iTopTagsCnt] => 20
[adminUrl] => https://www.youmobile.org/admin/
[siteUrl] => https://www.youmobile.org/
[arrItemError] => Array
(
)
[aMainActions] => Array
(
[Share] => Array
(
[icon] => action_share.gif
[link] => javascript:void(0);
[onClick] => action=share__articleID____articleUrl__
)
[Report] => Array
(
[icon] => action_report.gif
[link] => javascript:void(0);
[onClick] => action=report__articleID____articleUrl__
)
)
)
[type] => ->
[args] => Array
(
[0] => 0
)
)
[3] => Array
(
[file] => /home/youmobil/public_html/inc/classes/BxDolMagazine.php
[line] => 148
[function] => PageFeaturedArticles
[class] => BxDolMagazine
[object] => BxDolMagazine Object
(
[sArticleHomeCategories] =>
[sArticleHomeFeatured] =>
[sArticleHomeCategoryInfo] =>
[sArticleHomeRecent] =>
[sArticleHomeTop] =>
[sArticleHomePopular] =>
[sArticleHomeTopAuthors] =>
[sArticleHomeTags] =>
[sInfoSect] =>
[sActionsSect] =>
[sOwnerSect] =>
[sCommentsSect] =>
[sRateSect] =>
[sTagsSect] =>
[iViewer] => 0
[iArticle] => 0
[aInfo] => Array
(
)
[titleLength] => 100
[descLength] => 95
[rssTitleLength] => 150
[rssDescLength] => 400
[bAdminMode] =>
[iTopTagsCnt] => 20
[adminUrl] => https://www.youmobile.org/admin/
[siteUrl] => https://www.youmobile.org/
[arrItemError] => Array
(
)
[aMainActions] => Array
(
[Share] => Array
(
[icon] => action_share.gif
[link] => javascript:void(0);
[onClick] => action=share__articleID____articleUrl__
)
[Report] => Array
(
[icon] => action_report.gif
[link] => javascript:void(0);
[onClick] => action=report__articleID____articleUrl__
)
)
)
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /home/youmobil/public_html/article.php
[line] => 134
[function] => PageShowHomePage
[class] => BxDolMagazine
[object] => BxDolMagazine Object
(
[sArticleHomeCategories] =>
[sArticleHomeFeatured] =>
[sArticleHomeCategoryInfo] =>
[sArticleHomeRecent] =>
[sArticleHomeTop] =>
[sArticleHomePopular] =>
[sArticleHomeTopAuthors] =>
[sArticleHomeTags] =>
[sInfoSect] =>
[sActionsSect] =>
[sOwnerSect] =>
[sCommentsSect] =>
[sRateSect] =>
[sTagsSect] =>
[iViewer] => 0
[iArticle] => 0
[aInfo] => Array
(
)
[titleLength] => 100
[descLength] => 95
[rssTitleLength] => 150
[rssDescLength] => 400
[bAdminMode] =>
[iTopTagsCnt] => 20
[adminUrl] => https://www.youmobile.org/admin/
[siteUrl] => https://www.youmobile.org/
[arrItemError] => Array
(
)
[aMainActions] => Array
(
[Share] => Array
(
[icon] => action_share.gif
[link] => javascript:void(0);
[onClick] => action=share__articleID____articleUrl__
)
[Report] => Array
(
[icon] => action_report.gif
[link] => javascript:void(0);
[onClick] => action=report__articleID____articleUrl__
)
)
)
[type] => ->
[args] => Array
(
)
)
)
Called script: /article.php
Request parameters:Array
(
[catUri] => Samsung
)