1
maxima
Trying to make duplicate of Weblog module
  • 2006/9/21 19:21

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I have weblog 1.41 installed and I want to install another copy of this module for a different writer. I have successfully changed the database names, directory paths and just about anything that needed to have the new name. It installed successfully and displays on the page but when I try to create a category I get the following error;
Error: Handler does not exist
Module: teenscene
Name: category[/]

Then when i click priveleges I get;
[b]Error: Handler does not exist
Module: teenscene
Name: priv


Then on the home page when I click the link to the module
Error: Handler does not exist
Module: teenscene
Name: entry


Evidently I need to change the handler info but while changing all other paths was specific where I replaced 'weblog' with 'teenscene', the handler info isn't that simple. Can anyone point out what name I need to adjust to get this to work?
The search result for 'handler'
Quote:

details.php(60): $trackback_array = $tb_operator->handler->get( $entryObject->getVar('blog_id') ) ;
details.php(188): $priv =& xoops_getmodulehandler('priv');
index.php(239): $priv =& xoops_getmodulehandler('priv');
post.php(97): $priv =& xoops_getmodulehandler('priv');
post.php(133): $notification_handler =& xoops_gethandler('notification');
post.php(139): $old_trackbackurl = $tb_operator->handler->getTrackbackurl_string( $entry->getVar('blog_id') , "transmit" ) ;
post.php(174): $notification_handler->triggerEvent ('blog', $xoopsUser->getVar('uid'), 'add',
post.php(223): $weblog->handler->incrementTrackbacks( $entry->getVar('blog_id') , $tb_del_num ) ;
post.php(301): $ent_trackback = $tb_operator->handler->getTrackbackurl_string( $blog_id , "transmit" ) ;
post.php(303): $recieved_trackback = $tb_operator->handler->get( $blog_id , "recieved" ) ;
post.php(311): $recieved_trackback = $tb_operator->handler->get( $entry->getVar('blog_id') , "recieved" ) ;
weblog-imagemanager_post.php(211): $notification_handler =& xoops_gethandler( 'notification' ) ;
weblog-imagemanager_post.php(214): $notification_handler->triggerEvent( 'global' , 0 , 'new_photo' , array( 'PHOTO_TITLE' => $title , 'PHOTO_URI' => "$mod_url/photo.php?lid=$newid&cid=$cid" ) ) ;
weblog-imagemanager_post.php(219): $notification_handler->triggerEvent( 'category' , $cid , 'new_photo' , array( 'PHOTO_TITLE' => $title , 'CATEGORY_TITLE' => $cat_title , 'PHOTO_URI' => "$mod_url/photo.php?lid=$newid&cid=$cid" ) ) ;
weblog-tb.php(60): $entry =& $weblog->handler->get($tb_id) ;
weblog-tb.php(68): $trackback_array =& $tb_operator->handler->get($tb_id) ;
weblog-tb.php(98): $weblog->handler->incrementTrackbacks($tb_id) ;
admin\admin.php(80): $sysperm_handler =& xoops_gethandler('groupperm');
admin\admin.php(85): if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){
admin\admin.php(121): $sysperm_handler =& xoops_gethandler('groupperm');
admin\admin.php(122): $ok_syscats =& $sysperm_handler->getItemIds('system_admin', $groups);
admin\catmanager.php(47): $handler =& xoops_getmodulehandler('category');
admin\catmanager.php(48): $cat = $handler->create();
admin\catmanager.php(92): $cathandler =& xoops_getmodulehandler('category');
admin\catmanager.php(93): $count = $cathandler->getCount();
admin\catmanager.php(135): $cat_handler =& xoops_getmodulehandler('category');
admin\catmanager.php(138): $category =& $cat_handler->get($get['cat_id']);
admin\catmanager.php(144): $entry_handler =& xoops_getmodulehandler('entry');
admin\catmanager.php(145): $id_arr = $cat_handler->getAllChildrenIds($post['cat_id']);
admin\catmanager.php(150): $entries = $entry_handler->getObjects($criteria);
admin\catmanager.php(152): if ($entry_handler->delete($entry)) {
admin\catmanager.php(159): $category =& $cat_handler->create();
admin\catmanager.php(161): $cat_handler->delete($category);
admin\catmanager.php(178): $handler =& xoops_getmodulehandler('category');
admin\catmanager.php(179): $ret = $handler->insert($cat);
admin\catmanager.php(194): $handler =& xoops_getmodulehandler('category');
admin\catmanager.php(195): $ret = $handler->insert($cat);
admin\catmanager.php(208): $handler =& xoops_getmodulehandler('category');
admin\catmanager.php(209): $cat = $handler->get($cat_id);
admin\dbmanager.php(161): $handler =& xoops_getmodulehandler('category');
admin\dbmanager.php(162): $cat = $handler->create();
admin\dbmanager.php(169): $ret = $handler->insert($cat);
admin\dbmanager.php(265): $handler =& xoops_getmodulehandler('entry');
admin\dbmanager.php(267): $handler->updateComments($blog_id, intval($comments));
admin\myblockform.php(41): $module_handler =& xoops_gethandler('module');
admin\myblockform.php(44): $module_list =& $module_handler->getList($criteria);
admin\myblockform.php(60): $tplfile_handler =& xoops_gethandler('tplfile');
admin\myblockform.php(61): $btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $block['bid']);
admin\myblockform.php(65): $btemplate2 =& $tplfile_handler->find('default', 'block', $block['bid']);
admin\myblocksadmin.php(37): $module_handler =& xoops_gethandler('module');
admin\myblocksadmin.php(39): $target_module =& $module_handler->getByDirname($_GET['dirname']);
admin\myblocksadmin.php(41): $target_module =& $module_handler->get( intval( $_GET['mid'] ) );
admin\myblocksadmin.php(60): $sysperm_handler =& xoops_gethandler('groupperm');
admin\myblocksadmin.php(61): if (!$sysperm_handler->checkRight('system_admin', XOOPS_SYSTEM_BLOCK, $xoopsUser->getGroups())) redirect_header( XOOPS_URL.'/user.php' , 1 , _NOPERM ) ;
admin\myblocksadmin.php(151): $module_handler =& xoops_gethandler('module');
admin\myblocksadmin.php(154): $module_list =& $module_handler->getList($criteria);
admin\mygroupperm.php(30): $module_handler =& xoops_gethandler('module');
admin\mygroupperm.php(31): $module =& $module_handler->get($modid);
admin\mygroupperm.php(36): $member_handler =& xoops_gethandler('member');
admin\mygroupperm.php(37): $group_list =& $member_handler->getGroupList();
admin\mygroupperm.php(39): $gperm_handler = xoops_gethandler('groupperm');
admin\mygroupperm.php(46): if (false != myDeleteByModule($gperm_handler->db,$modid,$perm_name,$item_id)) {
admin\mygroupperm.php(63): $gperm =& $gperm_handler->create();
admin\mygroupperm.php(68): if (!$gperm_handler->insert($gperm)) {
admin\mygrouppermform.php(155): $gperm_handler =& xoops_gethandler('groupperm');
admin\mygrouppermform.php(156): $member_handler =& xoops_gethandler('member');
admin\mygrouppermform.php(157): $glist =& $member_handler->getGroupList();
admin\mygrouppermform.php(160): $selected = $gperm_handler->getItemIds($this->_permName, $i, $this->_modid);
admin\mygrouppermform.php(165): $this->_appendix[$key]['selected'] = $gperm_handler->checkRight($append['permname'], $append['itemid'], $i, $this->_modid ) ;
admin\privmanager.php(45): $member_handler =& xoops_gethandler('group');
admin\privmanager.php(46): $groups =& $member_handler->getObjects();
admin\privmanager.php(52): $group_handler =& xoops_getmodulehandler('priv');
admin\privmanager.php(53): $priv_groups =& $group_handler->getObjects();
admin\privmanager.php(103): $group_handler =& xoops_getmodulehandler('priv');
admin\privmanager.php(105): $group =& $group_handler->create();
admin\privmanager.php(107): $group_handler->insert($group);
admin\privmanager.php(115): $group_handler =& xoops_getmodulehandler('priv');
admin\privmanager.php(118): $group =& $group_handler->getObjects($criteria);
admin\privmanager.php(120): $group_handler->delete($group[0]);
class\category.php(46): class WeblogCategoryHandler extends XoopsObjectHandler {
class\class.weblog.php(31): var $handler;
class\class.weblog.php(34): $this->handler =& xoops_getmodulehandler('entry');
class\class.weblog.php(46): return $this->handler->create();
class\class.weblog.php(50): return $this->handler->insert($entry);
class\class.weblog.php(54): $entry =& $this->handler->create();
class\class.weblog.php(56): return $this->handler->delete($entry);
class\class.weblog.php(62): $count = $this->handler->getCount($criteria);
class\class.weblog.php(76): return $this->handler->getCount($criteria);
class\class.weblog.php(89): return $this->handler->getCount($criteria);
class\class.weblog.php(107): $result =& $this->handler->getObjects($criteria);
class\class.weblog.php(128): $result =& $this->handler->getObjects($criteria);
class\class.weblog.php(150): $result =& $this->handler->getObjects($criteria);
class\class.weblog.php(159): $result =& $this->handler->getObjects($criteria, true);
class\class.weblog.php(168): return $this->handler->incrementReads($blog_id);
class\class.weblog.php(172): return $this->handler->updateComments($blog_id, $total_num);
class\class.weblog.php(187): return $this->handler->getPrevNextBlog_id($blog_id , $extra) ;
class\class.weblogcategories.php(29): var $handler;
class\class.weblogcategories.php(32): $this->handler =& xoops_getmodulehandler('category');
class\class.weblogcategories.php(44): return $this->handler->create();
class\class.weblogcategories.php(57): $result =& $this->handler->getObjects($criteria);
class\class.weblogcategories.php(63): $result =& $this->handler->getObjects($criteria, true);
class\class.weblogcategories.php(72): return $this->handler->getAllChildrenIds($cat_id);
class\class.weblogcategories.php(76): return $this->handler->getFirstChildren($cat_id);
class\class.weblogcategories.php(81): $parents = $this->handler->getParents($cat_id);
class\class.weblogcategories.php(91): return $this->handler->getNicePathFromId($cat_id, $url);
class\class.weblogcategories.php(95): return $this->handler->getMySelectBox($cat_id);
class\class.weblogtrackback.php(35): var $handler ;
class\class.weblogtrackback.php(43): $this->handler =& xoops_getmodulehandler('trackback');
class\class.weblogtrackback.php(55): return $this->handler->create();
class\class.weblogtrackback.php(59): return $this->handler->insert($trackback);
class\class.weblogtrackback.php(63): $trackback =& $this->handler->create();
class\class.weblogtrackback.php(69): if( $this->handler->delete( $trackback ) ){
class\class.weblogtrackback.php(74): return $this->handler->delete($trackback);
class\entry.php(72): class WeblogEntryHandler extends XoopsObjectHandler {
class\priv.php(47): class WeblogPrivHandler extends XoopsObjectHandler {
class\trackback.php(56): class WeblogTrackbackHandler extends XoopsObjectHandler {
include\blocksadmin.inc.php(253): $tplfile_handler =& xoops_gethandler('tplfile');
include\blocksadmin.inc.php(254): $btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $bid);
include\blocksadmin.inc.php(381): $tplfile_handler =& xoops_gethandler('tplfile');
include\blocksadmin.inc.php(382): $btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $bid);
include\notification.inc.php(31): $module_handler =& xoops_gethandler('module');
include\notification.inc.php(32): $module =& $module_handler->getByDirname('teenscene');
include\notification.inc.php(33): $config_handler =& xoops_gethandler('config');
include\notification.inc.php(34): $config =& $config_handler->getConfigsByCat(0,$module->getVar('mid'));
include\myalbum_imagemanager\include\draw_functions.php(31): $member_handler =& xoops_gethandler('member');
include\myalbum_imagemanager\include\draw_functions.php(32): $poster =& $member_handler->getUser( $uid ) ;
include\myalbum_imagemanager\include\functions.php(579): $notification_handler =& xoops_gethandler( 'notification' ) ;
include\myalbum_imagemanager\include\functions.php(582): $notification_handler->triggerEvent( 'global' , 0 , 'new_photo' , array( 'PHOTO_TITLE' => $title , 'PHOTO_URI' => "$mod_url/photo.php?lid=$lid&cid=$cid" ) ) ;
include\myalbum_imagemanager\include\functions.php(587): $notification_handler->triggerEvent( 'category' , $cid , 'new_photo' , array( 'PHOTO_TITLE' => $title , 'CATEGORY_TITLE' => $cat_title , 'PHOTO_URI' => "$mod_url/photo.php?lid=$lid&cid=$cid" ) ) ;
include\PEAR\PEAR.php(60): $GLOBALS['_PEAR_error_handler_stack'] = array();
include\PEAR\PEAR.php(115): * Default error handler (callback) for this object, if error mode is
include\PEAR\PEAR.php(121): var $_default_error_handler = '';
include\PEAR\PEAR.php(521): // Class error handler
include\PEAR\PEAR.php(525): // Global error handler
include\PEAR\PEAR.php(570): $stack = &$GLOBALS['_PEAR_error_handler_stack'];
include\PEAR\PEAR.php(605): $stack = &$GLOBALS['_PEAR_error_handler_stack'];
include\PEAR\PEAR.php(642): * Push a new error handler on top of the error handler options stack. With this
include\PEAR\PEAR.php(643): * you can easily override the actual error handler for some code and restore
include\PEAR\PEAR.php(655): $stack = &$GLOBALS['_PEAR_error_handler_stack'];
include\PEAR\PEAR.php(678): * Pop the last error handler used
include\PEAR\PEAR.php(686): $stack = &$GLOBALS['_PEAR_error_handler_stack'];
include\PEAR\XML\Parser.php(92): * - a test using all expat handlers
include\PEAR\XML\Parser.php(133): * Mapping from expat handler function to class method.
include\PEAR\XML\Parser.php(137): var $handler = array(
include\PEAR\XML\Parser.php(138): 'character_data_handler' => 'cdataHandler',
include\PEAR\XML\Parser.php(139): 'default_handler' => 'defaultHandler',
include\PEAR\XML\Parser.php(140): 'processing_instruction_handler' => 'piHandler',
include\PEAR\XML\Parser.php(141): 'unparsed_entity_decl_handler' => 'unparsedHandler',
include\PEAR\XML\Parser.php(142): 'notation_decl_handler' => 'notationHandler',
include\PEAR\XML\Parser.php(143): 'external_entity_ref_handler' => 'entityrefHandler'
include\PEAR\XML\Parser.php(161): * handler object
include\PEAR\XML\Parser.php(165): var $_handlerObj;
include\PEAR\XML\Parser.php(239): * This allows you to create a handler object independent of the
include\PEAR\XML\Parser.php(251): function setHandlerObj(&$obj)
include\PEAR\XML\Parser.php(253): $this->_handlerObj = &$obj;
include\PEAR\XML\Parser.php(258): * Init the element handlers
include\PEAR\XML\Parser.php(262): function _initHandlers()
include\PEAR\XML\Parser.php(268): if (!is_object($this->_handlerObj)) {
include\PEAR\XML\Parser.php(269): $this->_handlerObj = &$this;
include\PEAR\XML\Parser.php(274): xml_set_object($this->parser, $this->_handlerObj);
include\PEAR\XML\Parser.php(275): xml_set_element_handler($this->parser, array(&$this, 'funcStartHandler'), array(&$this, 'funcEndHandler'));
include\PEAR\XML\Parser.php(279): xml_set_object($this->parser, $this->_handlerObj);
include\PEAR\XML\Parser.php(280): xml_set_element_handler($this->parser, 'startHandler', 'endHandler');
include\PEAR\XML\Parser.php(289): * set additional handlers for character data, entities, etc.
include\PEAR\XML\Parser.php(291): foreach ($this->handler as $xml_func => $method) {
include\PEAR\XML\Parser.php(292): if (method_exists($this->_handlerObj, $method)) {
include\PEAR\XML\Parser.php(330): $result = $this->_initHandlers($this->mode);
include\PEAR\XML\Parser.php(571): // {{{ funcStartHandler()
include\PEAR\XML\Parser.php(573): function funcStartHandler($xp, $elem, $attribs)
include\PEAR\XML\Parser.php(576): if (method_exists($this->_handlerObj, $func)) {
include\PEAR\XML\Parser.php(577): call_user_func(array(&$this->_handlerObj, $func), $xp, $elem, $attribs);
include\PEAR\XML\Parser.php(578): } elseif (method_exists($this->_handlerObj, 'xmltag')) {
include\PEAR\XML\Parser.php(579): call_user_func(array(&$this->_handlerObj, 'xmltag'), $xp, $elem, $attribs);
include\PEAR\XML\Parser.php(584): // {{{ funcEndHandler()
include\PEAR\XML\Parser.php(586): function funcEndHandler($xp, $elem)
include\PEAR\XML\Parser.php(589): if (method_exists($this->_handlerObj, $func)) {
include\PEAR\XML\Parser.php(590): call_user_func(array(&$this->_handlerObj, $func), $xp, $elem);
include\PEAR\XML\Parser.php(591): } elseif (method_exists($this->_handlerObj, 'xmltag_')) {
include\PEAR\XML\Parser.php(592): call_user_func(array(&$this->_handlerObj, 'xmltag_'), $xp, $elem);
include\PEAR\XML\Parser.php(597): // {{{ startHandler()
include\PEAR\XML\Parser.php(603): function startHandler($xp, $elem, &$attribs)
include\PEAR\XML\Parser.php(609): // {{{ endHandler()
include\PEAR\XML\Parser.php(615): function endHandler($xp, $elem)
include\PEAR\XML\RPC.php(686): xml_set_element_handler($parser, "XML_RPC_se", "XML_RPC_ee");
include\PEAR\XML\RPC.php(687): xml_set_character_data_handler($parser, "XML_RPC_cd");
include\PEAR\XML\RPC.php(688): xml_set_default_handler($parser, "XML_RPC_dh");
include\PEAR\XML\Unserializer.php(334): * Start element handler for XML parser
include\PEAR\XML\Unserializer.php(342): function startHandler($parser, $element, $attribs)
include\PEAR\XML\Unserializer.php(404): * End element handler for XML parser
include\PEAR\XML\Unserializer.php(411): function endHandler($parser, $element)
include\PEAR\XML\Unserializer.php(537): * Handler for character data
include\PEAR\XML\Unserializer.php(544): function cdataHandler($parser, $cdata)
include\PEAR\XML\Unserializer.php(562): $this->_parser->setHandlerObj($this);
Found 193 occurrence(s) in 28 file(s)


Thanks

2
maxima
Re: Trying to make duplicate of Weblog module
  • 2006/9/22 20:07

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


So what's the handler that I need to replace... Help

Login

Who's Online

414 user(s) are online (307 user(s) are browsing Support Forums)


Members: 0


Guests: 414


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits