phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

admin left pane is blank after installing mod


 
Search this topic... | Search Just Getting Started... | Search Box
Register or Login to Post    Index » Just Getting Started  Previous TopicPrint TopicNext Topic
Author Message
freddie
Board Member



Joined: 12 Feb 2021

Posts: 4



PostPosted: Mon Feb 15, 2021 3:56 pm 
Post subject: admin left pane is blank after installing mod

Hey, I was installing some mods on a fresh board but one mod is giving me a headache.

I installed the Board Statistics mod 2.5.1 from acyd burn.

But when I upload the admin file (admin_statistics.php) in my root/admin folder and then go to my admin part of the website, the left pane (the menu) is blank.

Any ideas where to look ?



admin_statistics.php.txt
 Description:

Download
 Filename:  admin_statistics.php.txt
 Filesize:  27.19 KB
 Downloaded:  115 Time(s)

Back to top
Vendethiel
Board Member



Joined: 26 Oct 2014

Posts: 226



PostPosted: Tue Feb 16, 2021 10:05 am 
Post subject: Re: admin left pane is blank after installing mod

Hi,

Do you have an error log of some kind?

_________________
Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs).
Back to top
freddie
Board Member



Joined: 12 Feb 2021

Posts: 4



PostPosted: Fri Feb 19, 2021 12:38 am 
Post subject: Re: admin left pane is blank after installing mod

no, can't get one at the moment

i narrowed the section with the error in the admin_statistics file down and it should have something to do with

Code:
function renumber_order()
{
   global $db;

   $sql = "SELECT module_id FROM " . MODULES_TABLE . "
   ORDER BY display_order ASC";
   
   if( !$result = $db->sql_query($sql) )
   {
      message_die(GENERAL_ERROR, "Couldn't get list of Modules", "", __LINE__, __FILE__, $sql);
   }

   $i = 10;
   $inc = 10;

   while( $row = $db->sql_fetchrow($result) )
   {
      $sql = "UPDATE " . MODULES_TABLE . "
      SET display_order = " . $i . "
      WHERE module_id = " . $row['module_id'];

      if( !$db->sql_query($sql) )
      {
         message_die(GENERAL_ERROR, "Couldn't update order fields", "", __LINE__, __FILE__, $sql);
      }
      $i += $inc;
   }
}


if I leave this part out, the acp pane shows up, if I put it in the text, the acp menu is gone

i will google around a bit more icon_smile.gif
Back to top
Vendethiel
Board Member



Joined: 26 Oct 2014

Posts: 226



PostPosted: Wed Feb 24, 2021 7:24 pm 
Post subject: Re: admin left pane is blank after installing mod

Hi,

That's a bit weird that this function is an issue. I mean, removing it should create problems, not solve them...
Maybe there's another mod you have that also has a function called renumber_order?

_________________
Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs).
Back to top
Display posts from previous:   
Register or Login to Post    Index » Just Getting Started  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0261 seconds using 18 queries. (SQL 0.0024 Parse 0.0024 Other 0.0213)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo