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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 397
  • Total: 398
  • @rjen

A couple of errors that are showing up after I installed TP v. 1.0 Beta 3

Started by Jakki, March 02, 2009, 08:34:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jakki

Site: www.roundablock.com
SMF 1.1.8 with TP
Other Mods:
1.     URL Popup     
2.    Activate account redirection    0.1    
3.    Shared Forum Mod    0.2.5.3    
4.    Custom_Greeting_Depending_on_Time    0.5    
5.    AvatarSelect    1.1.2    
6.    zCommunity    0.7.3    
7.    Invite    1.14    
8.    Message for your guests    0.1    
9.    Welcome Topic Mod    1.1    
10.    Favorite drink    0.1    
11.    SMF Media Gallery    1.5.5    
12.    OS & Browser Detection    1.2    
13.    MoodBobels    2.3    
14.    Ultimate Profile    0.8.5    
15.    E-Arcade    2.5.7    
16.    TinyPortal    1.075    
17.    Favicon    1.2    
18.    Audible PM    1.0


These errors show up even on the default theme:

2: Missing argument 3 for db_query(), called in /home/**********/public_html/forum/Themes/default/TPBlocks.template.php(48) : eval()'d code on line 3 and defined
File: /home/***********/public_html/forum/Sources/Subs.php
Line: 238

2: Missing argument 2 for db_query(), called in /home/*******/public_html/forum/Themes/default/TPBlocks.template.php(48) : eval()'d code on line 3 and defined
File: /home/**********/public_html/forum/Sources/Subs.php
Line: 238

I did a search here but found nothing close to these..
I would greatly appreciate a point in the correct direction of fixing these.
Thank you
Jakki

G6Cad

I dont think they are TP related at all  :-\

Just to make sure, reupload all the TP files manually through FTP and then check so all the TP code got added correctly.

Modification Instructions

Jakki

I figured it might be since the TPBlocks.template.php was listed in that error.

I'll look through the modification instructions for the subs.php and see if I missed something...thanks.

Jakki

I posted these errors on SMF also I re-uploaded the files and checked the modification instructions all match up...

G6Cad

What and where do these errors show up, what do you do ?
Clear your error log, and browse to a page, go back to the log and check it, We have had a lot of testsites running now for quite some time and these errors have never showed up for us.

It must be some other code you use or one of the other mods.

Jakki

I've done that several times cleared it out and browsed the forum and then went to check error log and they are there....

IchBin

Yes, but she asked "What" and "When"? What EXACTLY are you doing when the errors appear? Are you going to a specific page? Are you submitting a block or article? If it only happens on a specific page, what page is it? As you can see, there is some info you can figure out by doing this type of trouble shooting.

Jakki

Yes, but she asked "What" and "When"? Those just show up.

What EXACTLY are you doing when the errors appear? Just click on the home button, went to the forum, then to admin to check errors.


Are you going to a specific page? NO

Are you submitting a block or article? NO

If it only happens on a specific page, what page is it? NO, they just show up

As you can see, there is some info you can figure out by doing this type of trouble shooting.  IF it was that simple to figure out I would not be asking here...I noticed it had the TP template.php involved.

Jakki

Here is the response I got from SMF forum:

http://www.simplemachines.org/community/index.php?topic=296705.0

He says it is more likely a TP problem and told me to come here.


IchBin

The template rarely tells where the error is. The template just tells you which file is getting processed when PHP decided to throw the error. When multiple files are being processed all at once, the errors are generally wrong about which file the error actually occurred in. Do you have any custom blocks or articles? Try disabling them? If that does not do anything you'll have to look at SMF. There is a query that allows you to turn on debug so that it will give you a more specific error on the actual page when it happens, but I can't remember it. You'll have to look at SMF to find that. Since I don't have this problem on any of my sites,  there's no real possible way to figure out what is causing it unless you can find that debug statement at SMF. After that, we'll see which mod/code is actually the cause of it.

This website is proudly hosted on Crocweb Cloud Website Hosting.