Welcome, Guest. Please Login or Register.
November 20, 2017, 02:00:15 PM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Topic: Can't get in to the "Admin" area « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Can't get in to the "Admin" area  (Read 3152 times)
Nemesis257
Noobie
*
Posts: 22


I'm a llama!


Can't get in to the "Admin" area
« on: August 01, 2002, 04:51:52 PM »
Reply with quote

Since I installed the latest version of YaBB, I have only been able to get inside the admin area once.  When I click it, my browser says it's loading, but after about 10 minutes it says the page cannot be found.  This is really a pain.  I need help.

Thanks.
Logged
Nemesis257
Noobie
*
Posts: 22


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #1 on: August 02, 2002, 02:58:55 AM »
Reply with quote

I've tried the new version, the old version...tried from other computers...changed the urls...database table names...

Still nothing.
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!


WWW
Re:Can't get in to the "Admin" area
« Reply #2 on: August 02, 2002, 07:15:51 AM »
Reply with quote

Does it show anything or just keep looking like it's loading?
Logged

Nemesis257
Noobie
*
Posts: 22


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #3 on: August 02, 2002, 03:18:17 PM »
Reply with quote

It just says it's loading, nothing changes. I happen to be in right now, but I have a feeling it's going to happen again.  What might be causing it?
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Can't get in to the "Admin" area
« Reply #4 on: August 02, 2002, 04:24:10 PM »
Reply with quote

Try if it helps if you comment out all the yabbinfo.xml stuff in the Admin.php.
Logged

Nemesis257
Noobie
*
Posts: 22


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #5 on: August 02, 2002, 06:09:58 PM »
Reply with quote

Hey, that worked.  :)  Awesome, thanks.
Logged
daspoo
Noobie
*
Posts: 18



WWW
Re:Can't get in to the "Admin" area
« Reply #6 on: August 02, 2002, 08:27:26 PM »
Reply with quote

Quote
Not a bug and you will get more help here

http://www.yabb.info/community/index.php?board=133;action=display;threadid=11550

I got the above quote from a redirect that was filed under 1.4 bugs.
If you have to comment out CODE for something to work how does that not fall under a bug?

Yes the removal of the offending code worked.
« Last Edit: August 02, 2002, 08:29:21 PM by daspoo » Logged
Raven
Noobie
*
Posts: 18


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #7 on: August 03, 2002, 02:40:10 AM »
Reply with quote

i'm having the same prob. By "comment out" do you mean delete completely??

btw, do i comment out the whole path or just "yabbinfo.xml" ?

EG:

$contents = @file ("http://www.yabb.info/yabbinfo.xml");

$fh = @fopen("$boarddir/yabbinfo.xml","w");


 changes to


$contents = @file ("http://www.yabb.info/");


$fh = @fopen("$boarddir/","w");



Try if it helps if you comment out all the yabbinfo.xml stuff in the Admin.php.
« Last Edit: August 03, 2002, 02:44:55 AM by Raven » Logged
daspoo
Noobie
*
Posts: 18



WWW
Re:Can't get in to the "Admin" area
« Reply #8 on: August 03, 2002, 07:50:54 AM »
Reply with quote

You can do either remove or comment it out.... since it is NOT a BUG it will probably never be fixed... This is what I did.

At the top of the code

Quote
EOT;
//      $yabbinfo = getYaBBinfo();
//      if (!$yabbinfo)
//      {
//              print "<tr><td colspan=2>$txt[lfyi]</td></tr>";
//      }
//      foreach($yabbinfo as $info){
//              print "<tr><td colspan=\"2\"><font size=\"1\"><a href=\"$info[url]\">$info[subject]</a> | $info[author] | ".timefor$
//              print "<tr><td><font size=\"1\"></font></td><td><font size=\"1\">$info[details]</font></td>$
//              print "<tr><td colspan=\"2\"><img src=\"$imagesdir/blank.gif\" height=\"6\" width=\"4\" alt=\"\"></td></tr>\n";
//      }
print<<<EOT


and at the end of the code

Quote
//function getYaBBinfo()
//{
//      global $boarddir,$db_prefix;
//      $request = mysql_query("SELECT value FROM {$db_prefix}settings WHERE variable='yabbinfo'");
//      $row = mysql_fetch_row($request);
//      if ($row[0] < time()-0){
//              $er = error_reporting(0);
//              $contents = @file ("http://www.yabb.info/yabbinfo.xml");
//              if (!$contents)
//                      return false;
//              error_reporting($er);
//              
//              $completecontent = implode('',$contents);
//              $fh = @fopen("$boarddir/yabbinfo.xml","w");
//              if ($fh)
//              {
//                      @fputs($fh,$completecontent);
//                      $request = mysql_query("UPDATE {$db_prefix}settings SET value=".time()." WHERE variable='yabbinfo'");
//              }
//              @fclose ($fh);
//      }
//      else
//      {
//              $contents = file ("$boarddir/yabbinfo.xml");
//              $completecontent = implode('',$contents);
//      }
//
//      $items = explode('<infoitem>',$completecontent);
//
//      $infoitems = array();
//      for ($i = 1; $i < sizeof($items); $i++)
//      {
//              $tempitem = array();
//              preg_match("/<subject>(.*)<\/subject>/",$items[$i],$matches);
//              $tempitem['subject'] = $matches[1];
//              preg_match("/<url>(.*)<\/url>/",$items[$i],$matches);
//              $tempitem['url'] = $matches[1];
//              preg_match("/<timestamp>(.*)<\/timestamp>/",$items[$i],$matches);
//              $tempitem['logTime'] = $matches[1];
//              $infoitems[] = $tempitem;
//      }
//      return ($infoitems);
//}
?>
Logged
Raven
Noobie
*
Posts: 18


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #9 on: August 03, 2002, 09:38:48 AM »
Reply with quote

okay, mad! i'm in. thanx heaps daspoo & the rest of you guys :)
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this


WWW
Re:Can't get in to the "Admin" area
« Reply #10 on: August 03, 2002, 03:03:50 PM »
Reply with quote

instead of using // on every line.  use /* */
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
daspoo
Noobie
*
Posts: 18



WWW
Re:Can't get in to the "Admin" area
« Reply #11 on: August 03, 2002, 09:43:10 PM »
Reply with quote

Thanks goes to andrea
The orginal poster of the fix/work around/hack what ever you want to call it... But it ain't a BUG.

Course neither is half of the stuff you find in wondows... I think Gates calls those features.
Logged
Raven
Noobie
*
Posts: 18


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #12 on: August 05, 2002, 04:59:11 AM »
Reply with quote

I tried your suggestion and it won't work again.

instead of using // on every line.  use /* */

on another note, i've been getting the following error after hitting the Post button in a thread or PM's:

"Problem Report
 There was a communication problem.
 
Message ID
 TCP_ERROR
 
Problem Description
 The system was unable to communicate with the server.
 
Possible Problem Cause
 
The Web server may be down.
The Web server may be too busy.
The Web server may be experiencing other problems, preventing it from responding to clients.
The communication path may be experiencing problems.

 
Possible Solution
 Try connecting to this server later."


the funny thing is, the Post goes through when i go back and check. what could this be??
« Last Edit: August 05, 2002, 05:13:44 AM by Raven » Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Can't get in to the "Admin" area
« Reply #13 on: August 06, 2002, 01:03:58 AM »
Reply with quote


... since it is NOT a BUG it will probably never be fixed...

It should be "fixed" in 1.4.1 since the yabbinfo.xml stuff is called there with another technique (IFRAME). The admin menu will not hang any longer if a host is not able to load the yabbinfo.xml.
Logged

Raven
Noobie
*
Posts: 18


I'm a llama!


Re:Can't get in to the "Admin" area
« Reply #14 on: August 06, 2002, 03:47:16 AM »
Reply with quote

...and what about this "can't connect to server" problem? does anyone have any ideas as to what this called be? ???
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Topic: Can't get in to the "Admin" area « previous next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.0.12 | SMF © 2016, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.089 seconds with 19 queries.