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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 409
  • Total: 409

Missing argument 2 for db_query()

Started by angeljs, November 02, 2006, 03:23:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

angeljs

Hi, I managed to get TinyPortal installed on SMF 1.0.9, but the index page gives this error:
Missing argument 2 for db_query()
File: /home/*******/public_html/smf/Sources/Subs.php
Line: 216

What could the problem be? I'm not very experienced with SMF, and don't really know what's causing the error. The line that related to this error in Subs.php is:
function db_query($db_string, $file, $line)

akulion

You are most likely using the incorrect theme version for SMF 1.0.9 + TP 0.95/.96

You can get the correct versions from here
http://www.tinyportal.net/smf/index.php?action=tpmod;dl=cat7

However befre installing any of those themes you will have to go to default core theme - set it as default

then unistall the incompatible themes - delete their folders from the Themes folder via FTP

and then finally install the new versions

angeljs


This website is proudly hosted on Crocweb Cloud Website Hosting.