Author Topic: Admin Interface problems  (Read 6295 times)

Offline mcalautt

  • User
  • *
  • Posts: 16
    • View Profile
Admin Interface problems
« on: February 26, 2008, 08:57:11 PM »
All of a sudden,
the Admin Interface page is blank.. No errors in apache error log on messages file..

only thing that shows up is background color and borders and the title "Knowledgeroot Admin Interface"

anyone have a problem like this ?

:-(

thanks
mike

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Admin Interface problems
« Reply #1 on: February 26, 2008, 09:51:23 PM »
Could you post the html source code that is generated?

Is the login shown? Could you try to open it with php on the shell(perhaps try a strace)

Frank

Offline mcalautt

  • User
  • *
  • Posts: 16
    • View Profile
Re: Admin Interface problems
« Reply #2 on: February 26, 2008, 10:32:00 PM »
ya it gives me the login prompt.. then i log in and nothing.
the source looked good to me..
makes no sense, it was working fine earlier.. I think I changed the width of the edit page when i was in there. I dont think I did anything else..

here it is...
how do I open it with php on a shell ?  php -f ?

<?xml version="1.0" encoding="utf-8"?><!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>
   <link rel="stylesheet" href="admin.css" type="text/css" />
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta name="generator" content="Knowledgeroot - 0.9.8.5" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <script src="../system/javascript/prototype.js" type="text/javascript"></script>
   <script src="../system/javascript/scriptaculous.js" type="text/javascript"></script>
   <script src="../system/javascript/effects.js" type="text/javascript"></script>

   <script src="../system/javascript/dragdrop.js" type="text/javascript"></script>
   <script src="../system/javascript/showhide.js" type="text/javascript"></script>
   <script src="../system/javascript/ajax-tree.js" type="text/javascript"></script>
   <script src="../system/javascript/messagebox.js" type="text/javascript"></script>
</head>
<body>

<!-- show content -->

<div id="header">Knowledgeroot Admin Interface</div>
<div id="menu">
<!--
   <div class="menuitem">menu1</div>
   <div class="menuitem">menu2</div>
   <div class="menuitem"><a href="">menu3</a></div>
   <div class="submenu">
      <div class="submenuitem"><a href="">menu3.1</a></div>
      <div class="submenuitem">menu3.2</div>
      <div class="submenuitem">menu3.3</div>
   </div>
   <div class="menuitem">menu4</div>
-->
</div>
<div id="content">
</div>


</body>
</html>


Offline mcalautt

  • User
  • *
  • Posts: 16
    • View Profile
Re: Admin Interface problems
« Reply #3 on: February 27, 2008, 02:07:15 PM »
Do you mean this ???


php -f /usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/admin/index.php
<br />
<b>Warning</b>:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/include/init_admin.php</b> on line <b>28</b><br />
<br />
<b>Warning</b>:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/include/init_admin.php:28) in <b>/usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/include/init_admin.php</b> on line <b>28</b><br />
<br />
<b>Warning</b>:  main(/include/version.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/include/init_admin.php</b> on line <b>31</b><br />
<br />
<b>Fatal error</b>:  main() [<a href='function.require'>function.require</a>]: Failed opening required '/include/version.php' (include_path='.:/usr/local/lib/php') in <b>/usr/local/apache2/htdocs/Unix/Wiki/knowledgeroot/include/init_admin.php</b> on line <b>31</b><br />

Offline mcalautt

  • User
  • *
  • Posts: 16
    • View Profile
Re: Admin Interface problems
« Reply #4 on: February 27, 2008, 09:32:43 PM »
NO idea what it was,
i reinstalled it and used the existing DB and the admin page is there.

I just dont know what the prob was before.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Admin Interface problems
« Reply #5 on: February 27, 2008, 10:24:41 PM »
I think it was a problem with the extension table in the db.
Do you have a old dump from the db?

Frank