Home
Request Tutorial
Tutorials Search
 
 
Actions
Rate
0 votes
Overview
blog 1
Categories
unregister error
unregister error
284 days ago 0 comments Categories: D7 errors Tags: unregister

in inc/utils.inc.php and inc/admin.inc.php
change:
DELETE FROM `sys_tags` WHERE `ID` = 2 AND `Type` = 'profile'
to:
DELETE FROM `sys_tags` WHERE `ObjID` = 2 AND `Type` = 'profile'

 

 

add to modules/boonex/sites/classes/BxSitesdb.php

after:
function getMembershipActions()
{
$sSql = "SELECT `ID` AS `id`, `Name` AS `name` FROM `sys_acl_actions` WHERE `Name`='use sites'";
return $this->getAll($sSql);
}

Add:

function getSitesByAuthor($iOwnerId)
{
return $this->getRow ("SELECT * FROM `" . BX_SITES_TABLE_PREFIX . "_main` WHERE `ownerid` = $iOwnerId LIMIT 1");
}

 

Comments
Order by: 
Per page: 
 
  • There are no comments yet
Copyright © 2010 Darren Powless