Error Executing Database Query.
|
|
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 ' 10' at line 13
|
| |
The error occurred in /chroot/home/mynetmot/mynetmoto.com/html/motorradreifen_news.cfm: line 53
|
51 : GROUP BY n.moto_news, n.title, n.news_date, n.picture, n.small_version
52 : ORDER BY n.news_date DESC, n.moto_news
53 : LIMIT #StartRow#, #MaxRows#
54 : </cfquery>
55 :
|
|
| SQL |
SELECT n.moto_news, n.title, n.news_date, n.picture, n.picture_link, n.small_version,
COUNT(mnc.comments) AS total_comments
FROM moto_news n
LEFT OUTER JOIN comments mnc ON n.moto_news = mnc.id AND mnc.module = 'moto_news' AND mnc.approved_date IS NOT NULL,
moto_news_country mc
WHERE n.moto_news = mc.moto_news AND
mc.country = 'de'
GROUP BY n.moto_news, n.title, n.news_date, n.picture, n.small_version
ORDER BY n.news_date DESC, n.moto_news
LIMIT , 10
|
| DATASOURCE |
mynetworld |
| VENDORERRORCODE |
1064 |
| SQLSTATE |
42000 |
|
|
Resources:
|
| Browser |
CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| Remote Address |
38.103.63.18 |
| Referrer |
|
| Date/Time |
09-May-08 04:06 PM |
|
|
Stack Trace
|
at cfmotorradreifen_news2ecfm1164379559.runPage(/chroot/home/mynetmot/mynetmoto.com/html/motorradreifen_news.cfm:53)
at cfmotorradreifen_news2ecfm1164379559.runPage(/chroot/home/mynetmot/mynetmoto.com/html/motorradreifen_news.cfm:53)
java.sql.SQLException: 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 ' 10' at line 13
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2998)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2927)
at com.mysql.jdbc.Statement.execute(Statement.java:535)
at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
at coldfusion.sql.Executive.executeQuery(Executive.java:719)
at coldfusion.sql.Executive.executeQuery(Executive.java:652)
at coldfusion.sql.Executive.executeQuery(Executive.java:613)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:499)
at cfmotorradreifen_news2ecfm1164379559.runPage(/chroot/home/mynetmot/mynetmoto.com/html/motorradreifen_news.cfm:53)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
|
|