Paid Subscription Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nsusa
    Senior Member
    • Jul 2003
    • 130
    • 3.6.x

    Paid Subscription Problem

    I do have a problem with the scheduled task for my paid subscriptions. The scheduled task does not run anymore (for quite a while actually). I checked about the footer template and that has not been modified and shows the piece for the scheduled tasks.

    However, when I run the scheduled task manually I receive an error that the table "access" is missing.

    Invalid SQL:

    SELECT COUNT(*) AS masks
    FROM access
    WHERE userid = 11268;

    MySQL Error : Table 'vb36x.access' doesn't exist
    Error Number : 1146
    Date : Wednesday, September 26th 2007 @ 11:08:50 AM
    Script : http://www.domain.com/forums/admincp...ncron&cronid=6
    Referrer : https://www.domain.com/forums/adminc....php?do=modify
    IP Address : xxx.xxx.xxx.xxx
    Username : Administrator
    Classname : vb_database
    Not sure how the table disappeared, but for now I am more concerned how to get things working again. What do I need as information to recreate the table? How can I fix this issue?

    Chris
    Web Hosting Rebates
    The Web Hosting Resource Kit - Free hosting related articles and tutorials
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    First, are you using a table prefix?

    If not, then please provide your vB version.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • nsusa
      Senior Member
      • Jul 2003
      • 130
      • 3.6.x

      #3
      No prefix. 3.6.8 is my current version.

      Thanks.

      Chris
      Web Hosting Rebates
      The Web Hosting Resource Kit - Free hosting related articles and tutorials

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Here's the query to recreate this table in 3.6.8:

        CREATE TABLE access (
        userid INT UNSIGNED NOT NULL DEFAULT '0',
        forumid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        accessmask SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        PRIMARY KEY userid (userid, forumid)
        );
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • nsusa
          Senior Member
          • Jul 2003
          • 130
          • 3.6.x

          #5
          Thanks. That did the trick

          Chris
          Web Hosting Rebates
          The Web Hosting Resource Kit - Free hosting related articles and tutorials

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎