Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2008, 04:33 PM
KozmoK KozmoK is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Editing subscription gives sql error

After upgrading to 3.7.4 - 1 I can no longer update peoples subscriptions:

Database error in vBulletin 3.7.4:

Invalid SQL:

DELETE FROM mysql_access
WHERE forumid IN () AND
userid = 2869;

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
userid = 2869' at line 2

The only thing different is I renamed my forums/admin to forums/cpadmin - but I did that 2 versions ago.
Reply With Quote
  #2  
Old 12-21-2008, 04:37 PM
ExTincTi0N ExTincTi0N is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you put forums/cpadmin in the right spot in the config.php?
Reply With Quote
  #3  
Old 12-21-2008, 04:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you renamed the admin cp, did you change it in your config.php file also?
Reply With Quote
  #4  
Old 12-21-2008, 05:06 PM
KozmoK KozmoK is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes. Other admin pages/functions work.

$config['Misc']['admincpdir'] = 'cpadmin';
Reply With Quote
  #5  
Old 12-21-2008, 05:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #6  
Old 12-21-2008, 05:29 PM
KozmoK KozmoK is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

I tried what you said, and I get the same error.

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
userid = 605' at line 2
Error Number : 1064
Request Date : Sunday, December 21st 2008 @ 12:32:03 PM
Error Date : Sunday, December 21st 2008 @ 12:32:03 PM
Script : http:forums/cpadmin/subscriptions.php?do=status
Referrer : htp://www.ddddd.com/forums/cpadmin/subscriptions.php?do=adjust&subscriptionlogid=313
Reply With Quote
  #7  
Old 12-21-2008, 05:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But there is no table called "mysql_access" in the database. That query does not exist in default vbulletin - so where is that query coming from? Try reuploading a new subscriptsion.php page into your admin cp.
Reply With Quote
  #8  
Old 12-21-2008, 06:13 PM
KozmoK KozmoK is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mysql is my prefix. Actually its something different, I didnt want to post my real prefix.

there should be a access table right?

I already uploaded the subscriptions.php file before coming here for help.

Thanks for your input.

Koz

** UPDATE **

It only does it when I make a subscription not active.

I believe the SQL statement is invalid "WHERE forumid IN ()" part.
Reply With Quote
  #9  
Old 12-21-2008, 07:51 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KozmoK View Post
mysql is my prefix. Actually its something different, I didnt want to post my real prefix.

there should be a access table right?

I already uploaded the subscriptions.php file before coming here for help.

Thanks for your input.

Koz

** UPDATE **

It only does it when I make a subscription not active.

I believe the SQL statement is invalid "WHERE forumid IN ()" part.
by any chance do you have a hack install to prevent post count to go down?

have same problem and only thing that change in my forums for months was that .
Reply With Quote
  #10  
Old 12-22-2008, 05:21 AM
KozmoK KozmoK is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, nothing like that at all. I may have to revert back to previous version.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04194 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete