Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-14-2008, 06:10 AM
Aadil Aadil is offline
 
Join Date: Sep 2008
Location: Australia
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default paid_subscription Database Error

Hey I noticed today I had some subscriptions that expired on the 11th of this month and weren't demoted.. So I tried to do it manually and I got this database error

Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/class_paid_subscription.php on line 560

Warning: implode() [function.implode]: Invalid arguments passed in [path]/includes/class_paid_subscription.php on line 560
Database Error 	Database error
The WrestlingBay database has encountered a problem.
Please try the following:

    * Load the page again by clicking the Refresh button in your web browser.
    * Open the www.wrestlingbay.com home page, then try to open another page.
    * Click the Back button to try another link.

The www.*********.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.

-----------

Database error in vBulletin 3.7.4:

Invalid SQL:

					DELETE FROM access
					WHERE forumid IN () AND
						userid = 5136;

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 = 5136' at line 2
Error Number  : 1064
Request Date  : Friday, November 14th 2008 @ 01:13:42 AM
Error Date    : Friday, November 14th 2008 @ 01:13:42 AM
Script        : http://www.************.com/admincp/subscriptions.php?do=status
Referrer      : http://www.*******.com/admincp/subscriptions.php?do=adjust&subscriptionlogid=85
IP Address    : ************
Username      : *****
Classname     : vB_Database
MySQL Version : 4.1.10-standard
Please help as I need paid subscriptions up..

I have tried disabling plugins nothing is causing it..

Im currently on vBulletin? Version 3.7.4 as said in the error!!

--------------- Added [DATE]1226660057[/DATE] at [TIME]1226660057[/TIME] ---------------

Please help someone?
Reply With Quote
  #2  
Old 12-18-2008, 06:46 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm receiving the same errors/problems with the Paid Subscription Database.

*Using vBulletin Version 3.7.4
Reply With Quote
  #3  
Old 12-19-2008, 12:40 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
Reply With Quote
  #4  
Old 12-22-2008, 06:45 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried both methods above to fix the problem and both failed.

Still getting this error message after disabling hooks, reinstalling the files, repairing tables, etc...

Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]\includes\class_paid_subscription.php on line 560

Warning: implode() [function.implode]: Bad arguments. in [path]\includes\class_paid_subscription.php on line 560
Database Error 	Database error
*****
Please try the following:

    * Load the page again by clicking the Refresh button in your web browser.
    * Open the ***** home page, then try to open another page.
    * Click the Back button to try another link.

The ***** forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.

"
Database error in vBulletin 3.7.4:

Invalid SQL:

					DELETE FROM access
					WHERE forumid IN () AND
						userid = 166;

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 = 166' at line 2
Error Number  : 1064
Request Date  : Monday, December 22nd 2008 @ 02:47:30 PM
Error Date    : Monday, December 22nd 2008 @ 02:47:30 PM
Script        : http://*****/*****/admincp/subscriptions.php?do=status
Referrer      : http://*****/*****/admincp/subscriptions.php?do=adjust&subscriptionlogid=369
Classname     : vB_Database
MySQL Version : 5.0.67-community-nt
"

Any other suggestions would be appreciated!!
Reply With Quote
  #5  
Old 12-23-2008, 09:45 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please open a support ticket.
Reply With Quote
  #6  
Old 12-23-2008, 09:48 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This appears to be a bug:

http://www.vbulletin.com/forum/proje...?issueid=26761
Reply With Quote
  #7  
Old 12-24-2008, 12:52 AM
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, and obviously not one taken too seriously that is costing us users money...pisses me off they haven't fixed whatever they screwed up that caused this.
Reply With Quote
  #8  
Old 12-24-2008, 08:56 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you read the bug report, then you will see that a fix (patch) is provided and that it will be solved in the next version that wil be released. So i don't understand your remark, not why you feel the need to vent it at both the bug tracker and here?
Reply With Quote
  #9  
Old 12-24-2008, 12:54 PM
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
If you read the bug report, then you will see that a fix (patch) is provided and that it will be solved in the next version that wil be released. So i don't understand your remark, not why you feel the need to vent it at both the bug tracker and here?
If you'll read the bug tracker you'll see the patch is for 3.8 (which isn't even stable yet!). I feel the need to vent because it's costing me money...hello!!! It's continuing to give people access to something on my site they no longer have paid for. This isn't some stupid social networking feature bug or something but a serious freaking issue.
Reply With Quote
  #10  
Old 12-24-2008, 01:06 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can not comment on the version, but i have the feeling you misinterpret that. But it is useless to come complain on vB.org about that. If you think a patch is not correct (or not for the correct version) you should address this on vB.com.
Reply With Quote
Reply


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 09:58 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.04640 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (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_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