TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: copter on May 14, 2006, 06:42:03 PM

Title: Downloads Errors
Post by: copter on May 14, 2006, 06:42:03 PM
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
Title: Re: Downloads Errors
Post by: anunlike on May 14, 2006, 06:47:04 PM
Which SMF and TP versions are you using?
Title: Re: Downloads Errors
Post by: G6Cad on May 14, 2006, 06:51:40 PM
And have you updated your TP with the updatepackage?
Title: Re: Downloads Errors
Post by: copter on May 14, 2006, 07:04:56 PM
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. :)
Title: Re: Downloads Errors
Post by: G6Cad on May 14, 2006, 07:44:35 PM
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
Title: Re: Downloads Errors
Post by: copter on May 14, 2006, 08:11:28 PM
I have the arcade, and simple downloads installed. yup i reuploaded but still no difference :(
Title: Re: Downloads Errors
Post by: copter on May 14, 2006, 11:30:34 PM
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>';
   }
Title: Re: Downloads Errors
Post by: copter on May 18, 2006, 05:45:50 PM
Helloo

Anyone?
Title: Re: Downloads Errors
Post by: G6Cad on May 18, 2006, 06:00:07 PM
Try to upload a new file an overwrite the old one and see if the error goes away
Title: Re: Downloads Errors
Post by: copter on May 18, 2006, 06:01:36 PM
okay il try it again and see what it does, fingers crossed.
Title: Re: Downloads Errors
Post by: copter on May 18, 2006, 06:08:08 PM
nope unfortunetly it wont work :(
Title: Re: Downloads Errors
Post by: G6Cad on May 18, 2006, 06:22:34 PM
My guess is that eather your simple download mod or the arcade giving you some sort of conflicts somewhere
Title: Re: Downloads Errors
Post by: copter on May 18, 2006, 06:38:45 PM
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. :)
Title: Re: Downloads Errors
Post by: G6Cad on May 18, 2006, 06:43:14 PM
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
Title: Re: Downloads Errors
Post by: copter on May 19, 2006, 07:29:35 AM
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.
Title: Re: Downloads Errors
Post by: copter on May 19, 2006, 07:41:24 AM
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
Title: Re: Downloads Errors
Post by: copter on May 21, 2006, 02:50:21 PM
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.
Title: Re: Downloads Errors
Post by: bloc on May 21, 2006, 08:24:28 PM
This is on SMF 1.0.7?
Title: Re: Downloads Errors
Post by: copter on May 22, 2006, 06:47:27 PM
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:
Title: Re: Downloads Errors
Post by: copter on May 29, 2006, 09:00:16 PM
erm, yes; has any solution been found other than the one's iv already tried. {mentioned in above posts}
Title: Re: Downloads Errors
Post by: copter on June 06, 2006, 01:49:46 AM
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