TinyPortal

Development => Support => Installation => Topic started by: angeljs on November 02, 2006, 03:23:58 PM

Title: Missing argument 2 for db_query()
Post by: angeljs on November 02, 2006, 03:23:58 PM
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)
Title: Re: Missing argument 2 for db_query()
Post by: akulion on November 02, 2006, 03:31:34 PM
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
Title: Re: Missing argument 2 for db_query()
Post by: angeljs on November 02, 2006, 08:51:57 PM
Ok, I'll try that, thanks a lot! :)