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

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:26:42 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 171
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 171
  • Total: 171

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