PDA

View Full Version : SQL Syntax Error


joexp1
06-18-2006, 08:22 AM
Hello,

I just installed the directory script and I am receiving the following error when I try to view my directory. Has anybody encountered this? If so, what did I do wrong and how do I go about fixing this. I'm sure it's something simple. Here is the error:

You have an error in your SQL syntax near '(SELECT t1.*, COUNT(DISTINCTROW t4.`id`) num_links, '0' `crossed` FROM `dir_cate' at line 1

Thank you in advance.

Regards,

Greg
06-18-2006, 01:56 PM
Hi Joe

First of all, make sure that your MySQL version is 4.0 or above (click on the "SERVER INFO" button at the top menu of script admin panel).

joexp1
06-19-2006, 02:36 AM
Hi Greg,

Thank you for replying.

I'm running version 3.23.58. It looks like I will have to upgrade.

Thank you for all your help Greg.

Regards,

Greg
06-19-2006, 03:25 PM
You're welcome Joe. :) Good luck.