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: 196,019
  • Total Topics: 21,332
  • Online today: 1,194
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 409
  • Total: 409

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.

copter

nope unfortunetly it wont work :(

G6Cad

#11
My guess is that eather your simple download mod or the arcade giving you some sort of conflicts somewhere

copter

ok il have to find out how to remove the simple downloads thingy, although that installed fine, but the arcade was hell installing - so maybe it could be that, il have to look into it. :)

G6Cad

The arcade mod have some issues yes, but most things have been fixed lately, so brows the smfarcade site and look at the fixes posted there

copter

#14
Hi

I just uploaded some files and now when I go to the stats page it doesn't create errors :)

At first I was tryin to uploas a pdf and kept getting an error about something not existing - probly that file type.

Here's the link: http://www.tinyportal.net/smf/index.php?topic=4170.msg34253#msg34253

Now, it's just the other 2 errors left.

copter

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

copter

Yes, if an expert could tell me what I need to do like codes that need editing, I suppose.

I've tried everything else - you should know what to do because you made the software, and I'm thankful.

bloc


copter

Hi, Yes it is on SMF 1.0.7, these errors only appear when using the administrative sides - like dlmanager-admin and tp-admin.

I used to get arcade admin errors but after 2 months got it sorted with the smf arcade teams help - LOL. thats where i saw TP and came here :up:

copter

erm, yes; has any solution been found other than the one's iv already tried. {mentioned in above posts}

copter

Hi! :D

I've decided, doesn't matter about the errors, I hope as nothing bad seems to have happened; they only appear when Im in the admin of TP, and TP-DL

Thanks Anyway :D

This website is proudly hosted on Crocweb Cloud Website Hosting.