9
Hi all! I get the same error, but in a diferent way...
see:
I (as admin) can not see, as well as anybody can not see my or other profile.
I had debugged it and a lot of messages came, so I desabled all modules and the messages desappeared, so, after that I did as described on other forum in which said to comment userinfo.php the followng lines:
/* $module_handler =& xoops_gethandler('module'); $criteria = new CriteriaCompo(new Criteria('hassearch', 1)); $criteria->add(new Criteria('isactive', 1)); $mids =& array_keys($module_handler->getList($criteria)); foreach ($mids as $mid) { if ( $gperm_handler->checkRight('module_read', $mid, $groups)) { $module =& $module_handler->get($mid); $results =& $module->search('', '', 5, 0, $thisUser->getVar('uid')); $count = count($results); if (is_array($results) && $count > 0) { for ($i = 0; $i < $count; $i++) { if (isset($results[$i]['image']) && $results[$i]['image'] != '') { $results[$i]['image'] = 'modules/'.$module->getVar('dirname').'/'.$results[$i]['image']; } else { $results[$i]['image'] = 'images/icons/posticon2.gif'; } if (!preg_match("/^http[s]*:///i", $results[$i]['link'])) { $results[$i]['link'] = "modules/".$module->getVar('dirname')."/".$results[$i]['link']; } $results[$i]['title'] = $myts->makeTboxData4Show($results[$i]['title']); $results[$i]['time'] = $results[$i]['time'] ? formatTimestamp($results[$i]['time']) : ''; } if ($count == 5) { $showall_link = 'getVar('uid').'">'._US_SHOWALL.''; } else { $showall_link = ''; } $xoopsTpl->append('modules', array('name' => $module->getVar('name'), 'results' => $results, 'showall_link' => $showall_link)); } unset($module); } }*/
The forum said that it was because a conflict bettween modules and the userinfo.php, and was neccessary disable the last user´s activities on their profile.
Result: The modules is working, but I still have a blank user info page.
the only message debbugging gives is (Notice: A session had already been started - ignoring session_start() in file /include/common.php line 257)
The footer and header load perfectly, but the content. The edit profile and messages are fine.
It means that the system is accessing the DB.
I still am looking for the answer, but any help is welcome! Thanxs team!