• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

SQL error when changing grup permission

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I make a change of a group permission, i get the following message (on Linux/Mysql 3.23.58, but not on Windows/Mysql 4.0.20):

java.lang.reflect.InvocationTargetException: Syntax error or access violation message from server: "You have an error in your SQL syntax near 'jforum_roles FROM jforum_roles r, jforum_user_groups ug WHERE ug.user_id = r.use' at line 1"

The problem occurs when I select 'Set Users' Role to follow'.

I have no idea why.

Cheers,
Per

[originally posted on jforum.net by per]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hm, looks like an sql statement which is in the .sql file. This is likely to happen when, for some typing error when creating the instruction ( by the developer ), a "\" is forgoten or there is a blank space after it.

I'll take a look in this error on my development version.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic