Skip to Content Skip to Menu

SQL error when attempting to save a messageDB func

15 years 3 months ago #106006 by heritagevt
I upgraded from UddeIM 1.6 to 1.7 last night. Today I installed the UddeIM 1.7 Hotfix 1.2.
Sending a message to a contact list with the CC: checkbox checked always returns a message like this. Any ideas what I should do to fix this?:

SQL error when attempting to save a messageDB function failed with error number 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 'Hara-Shea, John Bushey, user test[/i]', 1248466521)' at line 1 SQL=INSERT INTO jos_uddeim (fromid, toid, replyid, message, datum) VALUES (82, 69, 0, 'TEst CC: Becky Treanor, Cassie Bombard, Grace O'Hara-Shea, John Bushey, user test', 1248466521)
SQL =
INSERT INTO jos_uddeim (fromid, toid, replyid, message, datum) VALUES (82, 69, 0, 'TEst

CC: Becky Treanor, Cassie Bombard, Grace O'Hara-Shea, John Bushey, user test', 1248466521)

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 months ago #106018 by slabbi
Don't use "'" in names. Currently this is not allowed, fixed in uddeIM 1.8.

Post edited by: slabbi, at: 2009/07/24 22:22

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

15 years 3 months ago #106028 by heritagevt
You mean I should use '' in names not "" for names? I didnt make any custom changes to any files for UddeIM 1.7 and Hotfix 2. I assume the instructions for "" is in the default programming somewhere.
I can alter a file myself if you would specify the file that contains the instructions for writing names using the "". That would help me alot.

Im on Joomla 1.5.12 and CB 1.21 to be clear.

Thanks Slabbi.

Post edited by: heritagevt, at: 2009/07/25 01:11

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 months ago #106059 by slabbi
No, its a bug that does not allow quotes (single or double) in names when "Add CC: line" is enabled. uddeIM 1.8 will be released shortly and will not have this bug.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

15 years 3 months ago #107566 by heritagevt
Some users on my website using UddeIM 1.8 are getting this message when doing a Global list message.
I suspect there is a bug present so that when the Encrypt stored messages is enabled to the Encrpytion setting, some users see a MySQL Error message as this.

Any thoughts?

SQL error when attempting to save a messageDB function failed with error number 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 'Hara-Shea', 1,1249938723,1,'79eb736b73bbe70f00226fc5011f88e2'' at line 1 SQL=INSERT INTO jos_uddeim (fromid, toid, replyid, toread, message, datum, disablereply, systemmessage, totrashoutbox, totrashdateoutbox, cryptmode, crypthash) VALUES (65, 65, 0, 1, 'PBA4QjptFxsUFVQNCgtVBQoKPSUGAFkVGQoMFVUHCws9KBAGV31+Zm8xEBYBRSA+QxoWB1QfClkFCAUcZ20pBwoEVBgAFxFECQBpLA1SHB0VAglZXQkRFj1tARdZFgYECFkMCxEXaSIUHFkcGwxIFhtNSmhDQGklEB4aAgseVQ0XRSssEBcdUBsFRQ0dAUQKOykGAFkZGksSERwHDEU9JQZSHB0VAglZHBdEFywuBhsPFRBLDBdVCR1FJCwKHlkSGxNLWTASARcwbQUbHwQcSxUcBxcLC2k6ChwKUFBeVVdFVEpoQ0BpMRYUEBJFDhwICEUhLA0WWQQcDkUOHAoKADs+Q1ZMQFpbVVkUEEQRIShDFxcUVAQDWQEMAUUqIg0GHAMARWhzeG42ECUoEFIYAhFLFhAYFAgAZ2NNXBMFBx9FChAKAEUkKEMTF1ARBgQQGUQQACUhChweUBkORQ4dC0QcJjhDEwsVVAoLHVUQDAQ9bRodDFADCgsNVRALRSwjFxcLUAADAFkQCQUMJW0AHRcEERgRV1UhEgA7NENHDRhUGwALBgsKRT4kDQFZVEFbS0lFSkQxIShDFxQRHQdFFAAXEEUrKEMBHB4ASwcAVVdeVXltE1wUXlQEC1kiAQALLD4HEwBQNR4CDAYQRFR7OQtSUQQcChFZHBdEEiEoDVIwUAMCCRVVBxERaSIFFFkEHA5FGhoKEAA6OUpcdHp5YTccGAEJByw/QxMVHFQSCgxVDAUTLG0XHVkUG0sMClUXAQstbQ4XWREaSwAUFA0IRS8/DB9ZKTs+N1kQCQUMJW0CERofAQURWRQKAEUwIhZSDhkYB0UbEEQBCz0oERcdUB0FERZVEAwAaS4MHA0VBx9LdH9pbjEhLA0ZClAVBQFZEgsLAWkhFhESXlQiA1kCAUQCLDlDQ0lAVBkACgULChYsPkMGERVUWlVJAQxEFSw/EB0XUAMCCwpVQFVVeWNTQld9fmZvPRQSDQFpDwYAHhUGBAtzfz8NOGEODAIAUBsNRRhVCQEWOiwEF1kJGx5FChAKEEU9IkM1CxEXDkU2UiwFFyhgMBocEV0wShAo', 1249938723, 1, 'to Grace O'Hara-Shea', 1,1249938723,1,'79eb736b73bbe70f00226fc5011f88e2'
SQL =

INSERT INTO jos_uddeim (fromid, toid, replyid, toread, message, datum, disablereply, systemmessage, totrashoutbox, totrashdateoutbox, cryptmode, crypthash) VA
___


Which is better encryption? Base64 encoded, encrypt messages, obsfucate messages,

Post edited by: heritagevt, at: 2009/08/10 23:10

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 months ago #107609 by slabbi
Do you have used "Copy 2 Me"? Maybe there is the same problem. It will check it.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum