PDA

View Full Version : Errors with tab style


SSSlippy
12-12-2006, 05:12 PM
Was attempting to use tab style forum intergration and I get the following error when press "skin forum"

Database error in Subdreamer
Invalid SQL: SELECT categoryid, name, link, image, menuwidth FROM sd_categories WHERE parentid= ORDER BY displayorder
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY displayorder' at line 1
Error number: 1064
Date: Tuesday 12th of December 2006 06:08:36 PM
File: http://www.mysite.com/admin/forumintegration.php

Tobias
12-12-2006, 06:26 PM
With both SD 2.3.5 and 2.4.0 this error message should actually not happen at all since the SELECT does not have a variable in it which could result in an empty string (see the source at line 76 of "forumintegration.php" in v2.4.0).

Which version of SD is it? Is this a patched/mod'ed version?

Edit: "tab style" means you have a new "forumintegration" file? Where is that to be found?

SSSlippy
12-12-2006, 07:19 PM
Its a full install of 2.4.0. Im using the skin "tab style" found here on the site. This is only in the skinning file itself. Im thinking that when it skins its not actually reading the database while skinning.

RandomNinjaAtk
12-13-2006, 12:04 PM
I had that same problem...