TinyPortal

Development => Support => Topic started by: iceman11a on March 11, 2012, 01:00:46 PM

Title: Errors in Admin logs
Post by: iceman11a on March 11, 2012, 01:00:46 PM
Link to my site: http://www.df-barracks.com
SMF version: SMF ver. 2.0.2
TP version: TP ver. 1.105
Default Forum Language: English
Theme name and version: Blue Moon
Browser Name and Version: IE or FF
Mods installed: Its a big list

////////////////////////////
1.    SMF Gallery Lite    3.1.1a    
2.    Contact Page    3.0    
3.    SA KB    Beta 2 REV12    
4.    Custom Form Mod    1.7    
5.    SMFShop    3.1.8    
6.    Page Management    1.4    
7.    Board Notification Mod    1.2.1
8.    Users mass actions    0.1.1
9.    Simple Audio Video Embedder
10.    Smart Pagination    0.8.2
11.    TinyPortal    1.105    
12.    AutoAward    1.0    
13.    ENotify    2.0.2    
14.    Country Flags    2.0    
15.    Enhanced About Page    0.02    
16.    Guest Registration Notification    1.5.1

///////////////////////////


Related Error messages: I was going threw the admin error logs. and I came a crost some errors and I didn't know where to post these at.
--------------------------------------------------- Starts Here ---------------------------------------
Reverse chronological order of list March 10, 2012, 09:40:17 AM
Apply Filter: Only show the error messages of this session c04d80936493f4b2cae5a04f8f111022
Apply Filter: Only show the errors of this type Type of error: Database
Apply Filter: Only show the error messages of this URL
http://www.df-barracks.com/index.php?action=tpmod;dl=get31
Apply Filter: Only show the errors with the same message
Database Error:
Apply Filter: Only show the errors from this file
File: /home/frontlin/public_html/df-barracks.com/Sources/TPdlmanager.php
Line: 1772


else
         $smcFunc['db_query']('INSERT',
            '{db_prefix}tp_dldata',
            array('week' => 'int', 'year' => 'int', 'downloads' => 'int', 'item' => 'int'),
            array($week, $year, 1, $item),
            array('id')
         ); // Line 1772


//////////////////////////////////////////////////////////////

Apply Filter: Only show the error messages of this member Guest
Apply Filter: Only show the error messages of this IP address 66.249.71.134 
     Reverse chronological order of list March 10, 2012, 02:10:59 PM
Apply Filter: Only show the error messages of this session ed56f47d09f98d4e87380640da8958c0
Apply Filter: Only show the errors of this type Type of error: Template
Apply Filter: Only show the error messages of this URL
http://www.df-barracks.com/index.php?action=tpmod;dl=cat6
Apply Filter: Only show the errors with the same message
Unable to load the 'wap2_tpdl_cat' template
------------------------------------Ends Here ----------------------------------------------------------

Thanks
Joe


Title: Re: Errors in Admin logs
Post by: IchBin on March 11, 2012, 10:03:23 PM
For the first error replace your code with this:

Code (replace) Select
$smcFunc['db_insert']('INSERT',
'{db_prefix}tp_dldata',
array('week' => 'int', 'year' => 'int', 'downloads' => 'int', 'item' => 'int'),
array($week, $year, 1, $item),
array('id')
);


For the second error, I can't replicate the issue. Unless you can provide any additional details, not sure I can fix that error yet.