| Re: Problem with template set manager |
| by Ploutonakos on 2006/5/1 12:43:32 I can see that this problem is far too old but i recently had the exact same problem with line 93. I 've found the answer in http://www.xoopscube.jp (i can't speak japanese btw) and it was quite enlightening...: Replaced: echo '<li>'.$module->getVar('name').' [<a href="admin.php?fct=tplsets&op=listtpl&tplset='.$tplsetname.'&moddir='.$moddir.'">'._LIST.'</a> (<b>'.$filecount.'</b>)]</li>'; with: if (is_object($module)) { echo '<li>'.$module->getVar('name').' [<a href="admin.php?fct=tplsets&op=listtpl&tplset='.$tplsetname.'&moddir='.$moddir.'">'._LIST.'</a> (<b>'.$filecount.'</b>)]</li>'; } else { echo '<li>unknown ModuleDirname =' . $moddir . '['._LIST.' (<b>'.$filecount.'</b>)]</li>'; } and the module with the problem is on air! |
| Re: Problem with template set manager |
| by Mithrandir on 2004/5/21 23:38:11 I would start with deactivating the modules one by one (don't uninstall them just yet) After each deactivation - starting with the modules you are least certain are ok and working your way up - see if the template page works. If not, then continue, if it does, then you have most likely found your culprit. |
| Re: Problem with template set manager |
| by zubaa on 2004/5/21 23:30:01 I don't really want to reinstall it as it's about 6 months old and got over 500 members Can I uninstall all unoffical modules but still have them in my modules folder? Because I don't want to have to upload them all again. Thanks tl for your help
|
| Re: Problem with template set manager |
| by tl on 2004/5/21 23:18:44 There is not much info from the debugging. My only guess is that one of non-official modules had caused the problem. If the site is brand new, I would re-install the whole XOOPS package, then install the non official modules, one by one followed by template manager testing. You also need to check if the modules that you are installing are compatible with XOOPS 2.0.6. Some modules could be made for 2.0.5 or lower version and have not been updated. Other than that, I am sorry I don't have much to offer. Good luck and keep us posted. |
| Re: Problem with template set manager |
| by zubaa on 2004/5/21 22:48:20 Hi tl PHP debug: le="color: #000000"><?php Fatal error: Call to a member function on a non-object in /home/ufamily/public_html/modules/system/admin/tplsets/main.php on line 93 mysql/block debug: le="color: #000000"><?php SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC SELECT sess_data FROM xoops_session WHERE sess_id = 'af023f3d6284467c7ad3ffdff48d6476' SELECT * FROM xoops_users WHERE uid=1 SELECT * FROM xoops_modules WHERE dirname = 'system' SELECT * FROM xoops_modules WHERE dirname = 'system' SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
|