Jump to content
SAU Community

Recommended Posts

  • Replies 59
  • Created
  • Last Reply

Top Posters In This Topic

this...

[b]Error[/b]

SQL-query :  

SELECT threadid
FROM thread AS thread
LEFT JOIN deletionlog AS delthread ON ( delthread.primaryid = thread.threadid AND delthread.type = 'thread' ) 
WHERE forumid
IN ( 3, 7, 8, 44, 53, 59, 10, 9, 11, 17, 66, 63, 64, 57, 4, 49, 50, 19, 14, 67, 18, 16, 32, 30, 42, 62, 15, 43, 47, 48, 65, 6, 21, 46, 51, 33, 54, 22, 31, 35, 55, 23, 34, 28, 37, 58, 24, 39, 25, 36, 26, 40, 27, 38, 5, 29, 60, 61, 41, 56, 12, 13 ) AND thread.lastpost >=1078366975 AND visible =1 AND delthread.primaryid IS NULL 
ORDER BY lastpost DESC 
LIMIT 

MySQL said: 


#1064 - 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 '' at line 7 

I put it in the PHP tags cause its easier to read..

Christian

Link to comment
https://www.sau.com.au/forums/topic/35144-new-posts/page/2/#findComment-710245
Share on other sites

Hey christian, I had a look at the thread over at the vbulletin forum, looks like they pointed out the SQL syntax problem, the keyword LIMIT wasn't followed by a number.

I know *nothing* about php but I assume that $vboptions[maxresults] bind variable should be set somewhere, is it some sort of application wide setting in a config file that you need to add?

Link to comment
https://www.sau.com.au/forums/topic/35144-new-posts/page/2/#findComment-710996
Share on other sites

Compare the code to the "user cp" button code - it displays the last active 'subscribed' posts - maybe the code is similar to the 'new posts' code ??

The 'user cp' code seems to work - so maybe there is a clue there ??

Link to comment
https://www.sau.com.au/forums/topic/35144-new-posts/page/2/#findComment-711007
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Similar Content

  • Latest Posts

    • But it's much better to use a freedom unit that has four different possible meanings...
    • I would try messing with friction modifier to see if it smooths it out.  Just keep adding more until it stops chattering or grabbing quite so much. If you haven't changed the gear oil in a long time you may as well start there too in case that has anything to do with it. You might want to also verify the initial torque is set to the lowest setting too. Requires popping out one of the CV axles first but that's not too bad. Once you're sure the preload is set to the lowest you can try adding an ounce at a time of friction modifier until it feels right to you.
    • It is possibly 55 degrees for the Nismo version. I had a look through the manual and the stocker has a breakaway torque of 2.5 to 3.5kgm. Supposedly the Nismo LSD goes down to 5kgm when worn in but it is pretty grabby even with very little throttle. Worse when cold. So I guess you have three things. 1. Shims. 2 Friction plates 3. Cams Would think shims would be the easiest but Ive no clue how many tenths of a mm shim thickness change equals how many kgm torque. Also not sure if the Nismo friction plates are similar/different to stock or if they are the most of the source of the diff being angry. Think I can write off the Nismo rebuild kit for the standard diff as not being what I want.  
    • Yeah, it was a bit of confusion with me, I rang and asked if they had a boot for a soft top, and then the paint shop when they rang and were asked if it had a hard top on it, which it does, just not a PRHT....LOL Meh, whilst frustrating for all concerned it isn't a war stopper and should be a thing of the past in a week or two In other N/A related news, car is booked in at the end of the month for the cams, springs, retainers, harmonic balancer and retune  I might even pull the lazy arse card and get them to do a full service on it whilst it is there
×
×
  • Create New...