TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 386
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 205
  • Total: 205

Downloads Errors

Started by copter, May 14, 2006, 06:42:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

copter

On loading: smf/index.php?action=tpmod;dl=stats
I get these errors, what do i need to do to fix them? (please)


Quote8: Undefined index: topviews
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 254

Quote8: Undefined index: topviews
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 255

Quote8: Undefined index: topitems
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 279

Quote8: Undefined index: topitems
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 280

Quote8: Undefined index: topsize
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 299

Quote8: Undefined index: topsize
File: /home/copter/public_html/smf/Themes/default/TPdlmanager.template.php (eval?)
Line: 300

Thanks - I also get these errors if you could help. :'(

they appear when i go to any of the tp admin areas


Quote8: Undefined index: theme_version
File: /home/copter/public_html/smf/Sources/TPortalAdmin.php
Line: 62

8: Undefined index: submissions
File: /home/copter/public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 28

8: Undefined variable: item
File: /home/copter/public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 317

8: Undefined index: tp-settings
File: /home/copter/public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 21

anunlike

Which SMF and TP versions are you using?

G6Cad

And have you updated your TP with the updatepackage?

copter

I'm using SMF 1.0.7 and latest TP, and yes I updated everything. I did that other week, and since have been adding contents to it. some coding errors i reckon, help wud be much appreciated. :)

G6Cad

What other mods do you have installed besides TP ?

But try to reupload the TP files again, sometimes they dont apply correct when you send them up in the folders

copter

I have the arcade, and simple downloads installed. yup i reuploaded but still no difference :(

copter

Line 62 in TPortalAdmin.php

if(in_array($settings['theme_version'],array('1.0.5','1.0.6','1.0.7')) || !isset($settings['theme_version']))

Line 28 in Admin.template.php

      {



here is the section its from

   // For every section that appears on the sidebar...
   foreach ($context['admin_areas'] as $section)
   {
      // Show the section header - and pump up the line spacing for readability.
      echo '
               <tr>
                  <td class="catbg">', $section['title'], '</td>
               </tr>
               <tr class="windowbg2">
                  <td class="smalltext" style="line-height: 1.3; padding-bottom: 3ex;">';

      // For every area of this section show a link to that area (bold if it's currently selected.)
      foreach ($section['areas'] as $i => $area)
      {
         // Is this the current area, or just some area?
         if ($i == $context['admin_area'])
            echo '
                     ', $area, '
';
         else
            echo '
                     ', $area, '
';
      }
      
      echo '
                  </td>
               </tr>';
   }

copter


G6Cad

Try to upload a new file an overwrite the old one and see if the error goes away

copter

okay il try it again and see what it does, fingers crossed.

This website is proudly hosted on Crocweb Cloud Website Hosting.