After re-uploading the backup of my site last-nite all links to the store were fine. I check today and I see this error when trying to go to the links...
Query: SELECT COUNT(*) FROM `modzzz_notes_main` left JOIN `Profiles` ON `Profiles`.`ID`=`modzzz_notes_main`.`author_id` WHERE (1 AND `modzzz_notes_main`.`status` ='approved' AND `modzzz_notes_main`.`allow_view_note_to` IN('3','4') AND `modzzz_notes_main`.`module` ='store' AND `modzzz_notes_main`.`module_id` >=1) OR (`module_id`>=1 AND `module_id`= AND `module`='store' AND `author_id` = 1) OR (`module_id`>=1 AND `module_id`= AND `module`='store' AND `allow_view_note_to`=(SELECT spg.`id` FROM `sys_privacy_groups` spg INNER JOIN `sys_privacy_members` spm ON spg.`id`=spm.`group_id` WHERE spm.`member_id`=1 AND spg.`owner_id` = `modzzz_notes_main`.`author_id` LIMIT 1) ) OR (`module_id`>=1 AND `module_id`= AND `module`='store' AND `allow_view_note_to`=5 AND `author_id` = (SELECT IF(`sys_friend_list`.`ID`=1,`sys_friend_list`.`Profile`,`sys_friend_list`.`ID`) FROM `sys_friend_list` WHERE `modzzz_notes_main`.`author_id` = `sys_friend_list`.`Profile` AND `sys_friend_list`.`ID` = 1 OR `modzzz_notes_main`.`author_id` = `sys_friend_list`.`ID` AND `sys_friend_list`.`Profile` = 1 LIMIT 1) )
Mysql error: 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 'AND `module`='store' AND `author_id` = 1) OR (`module_id`>=1 AND `module_id`= AN' at line 1
Csampson |
Well that also might explain why you were having problems with the links after updating to dolphin 7.1.1
You have a 3'rd Party mod. Modzzz Notes that is somehow integrating with the store.
Your going to need to check with modzzz
https://www.deanbassett.com |
OR (`module_id`>=1 AND `module_id`= AND `module`='store' AND
Seems to be missing the parameter (is that the correct term in sql?) after 'module_id' or is there suppose to be another module_id? We are saying that we want module_id greater or equal to 1 and module_id equal to some value. I wonder if that was suppose to be OR (`module_id`>=1 AND `module`='store' AND
Geeks, making the world a better place |
I didn't know Modzzz Notes integrated with the store. I have Modzzz's Notes module on my site. Geeks, making the world a better place |
You have to add it in the admin section...
I didn't know Modzzz Notes integrated with the store. I have Modzzz's Notes module on my site.
Csampson |
After deleting my entire site and re-uploading the backup then clearing cache the error still stuck around thinking there is no way that is possible, I cleared browser cache and now the store is working fine again... $&@)!& cache is such a wonderful cluster &@$& in my terribly troubled mind...
Don't forget that HostGator upgraded all their dedicated servers with now new IPS and all the wonderful settings that are effected by such a choice... OH joy!
Csampson |
Well I'm not sure why the links broke to the store but sure need to know why so when the update is done it won't happen again... You are thinking it was the note addition? Csampson |
Using a text search programme; I use the one built into PsPad but some have mention others, and search Modzzz's Notes for OR (`module_id`>=1 AND `module_id`= AND `module`='store' AND and see if it does contain that. If it does, then you can either edit it or contact Modzzz and ask about it. If it does not show up, then what corrupted the module to change it? That is what trip the error. From looking at the code, the second module_id should not be there. Why would you check to see if module_id is greater or equal to 1 and then check to see if module_id is equal to some value? I guess Modzzz can tell you. Anyway, first is to check the code to see if it does or does not contain that text. Geeks, making the world a better place |