5
Thanks a lot guys!
I've got the site's theme displaying by going in to xoops_data and clearing the files (I'd forgotten caches are now stored in trust path rather than cache and templates_cache folders.
BUT I still can't access any admin pages. When I check the html source I can see that the code is not fully downloaded (see below) and so I'm just getting empty pages for all admin pages. The weird thing is that when I use debug mode it shows no errors.
Can you tell me where in protector I need to be looking?
Thanks!!!
DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><script src="http://1.2.3.4/bmi-int-js/bmi.js" language="javascript">script><meta http-equiv="content-language" content="en" /><title>My Site Administrationtitle> <meta name="author" content="XOOPS" /><meta name="copyright" content="XOOPS © 2001-2011" /><meta name="generator" content="XOOPS" /><link rel="shortcut icon" type="image/ico" href="http://site.org/favicon.ico" /><script type="text/javascript" src="http://site.org/include/xoops.js">script> <script type="text/javascript">function xoopsVariableDefined(variable) { try { var isDefined = (eval(variable) != "undefined") } catch(e) { var isDefined = false } return isDefined; } function xoopsToggleDisplay(id) { if (!xoopsVariableDefined("xoopsToggleLabel")) { var toggle_innerHTML = new Array("»", "«"); } else { var toggle_innerHTML = xoopsToggleLabel; } var elestyle = xoopsGetElementById(id).style; var label = xoopsGetElementById(id+"-label"); if (elestyle.display == "none") { elestyle.display = "block"; label.innerHTML = toggle_innerHTML[1]; } else { elestyle.display = "none"; label.innerHTML = toggle_innerHTML[0]; } } script> <link rel="stylesheet" type="text/css" media="all" href="http://site.org/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/modules/system/class/gui/default/css/style.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/modules/system/class/gui/default/css/en.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/language/english/style.css" /><div id="xo-logger-output"><div id='xo-logger-tabs'><a href='javascript:xoSetLoggerView("none")'>Nonea> <a href='javascript:xoSetLoggerView("")'>Alla> <a href='javascript:xoSetLoggerView("errors")'>errors (2)a> <a href='javascript:xoSetLoggerView("queries")'>queries (7)a> <a href='javascript:xoSetLoggerView("blocks")'>blocks (0)a> <a href='javascript:xoSetLoggerView("extra")'>extra (2)a> <a href='javascript:xoSetLoggerView("timers")'>timers (3)a>div><table id="xo-logger-errors" class="outer"><tr><th>Errorsth>tr><tr><td class='even'>Notice: Undefined variable: query_string in file /modules/xlanguage/include/functions.php line 244<br />td>tr><tr><td class='odd'>Notice: Undefined variable: query_string in file /modules/xlanguage/include/functions.php line 244<br />td>tr>table><table id="xo-logger-queries" class="outer"><tr><th>Queriesth>tr><tr class="even"><td>SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASCtd>tr><tr class="odd"><td>SELECT sess_data, sess_ip FROM session WHERE sess_id = '40ec53938ad2bf2e01a237b287326e3b'td>tr><tr class="even"><td>SELECT * FROM users WHERE uid = '1'td>tr><tr class="odd"><td>SELECT * FROM group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))td>tr><tr class="even"><td>SELECT * FROM modules WHERE (hasadmin = '1' AND isactive = '1') ORDER BY weight ASC, mid ASCtd>tr><tr class="odd"><td>SELECT * FROM groupstd>tr><tr class="even"><td>SELECT * FROM groupstd>tr><tr class="foot"><td>Total: <span style="color:#ff0000;">7span> queriestd>tr>table><table id="xo-logger-blocks" class="outer"><tr><th colspan="2">Blocksth>tr><tr class="foot"><td>Total: <span style="color:#ff0000;">0span> blockstd>tr>table><table id="xo-logger-extra" class="outer"><tr><th colspan="2">Extrath>tr><tr><td class="even"><strong>Included files:strong> 77 filestd>tr><tr><td class="odd"><strong>Memory usage:strong> 5924704 bytestd>tr>table><table id="xo-logger-timers" class="outer"><tr><th colspan="2">Timersth>tr><tr><td class="even"><strong>XOOPSstrong> took <span style="color:#ff0000;">0.073span> seconds to load.td>tr><tr><td class="odd"><strong>XOOPS Bootstrong> took <span style="color:#ff0000;">0.032span> seconds to load.td>tr><tr><td class="even"><strong>Module initstrong> took <span style="color:#ff0000;">0.041span> seconds to load.td>tr>table>div><script type="text/javascript">function xoLogCreateCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function xoLogReadCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function xoLogEraseCookie(name) { createCookie(name,"",-1); } function xoSetLoggerView( name ) { var log = document.getElementById( "xo-logger-output" ); if ( !log ) return; var i, elt; for ( i=0; i!=log.childNodes.length; i++ ) { elt = log.childNodes[i]; if ( elt.tagName && elt.tagName.toLowerCase() != 'script' && elt.id != "xo-logger-tabs" ) { elt.style.display = ( !name || elt.id == "xo-logger-" + name ) ? "block" : "none"; } } xoLogCreateCookie( 'XOLOGGERVIEW', name, 1 ); } xoSetLoggerView( xoLogReadCookie( 'XOLOGGERVIEW' ) ); script> <script language="javascript">