Skip to Content Skip to Menu

SQL Error after upgrading to CBSubs GPL

10 years 6 months ago #245195 by hgreenblatt
SQL Error after upgrading to CBSubs GPL was created by hgreenblatt
Hi there,

I recently upgraded my site to use CBSubs GPL (3.0.0) and I am getting the following SQL errors when I browse to the General Plugin Settings of the Paid Subscriptions tab:

Notice: SQLXML::queryloadResult: error returned: Unknown column 'a.sequencenumber' in 'field list' SQL=SELECT a.`sequencenumber` AS `proformainvoice_number_next` FROM `jos_cbsubs_config` AS a WHERE ( a.`type` = 'number.proformainvoice' ) AND ( a.`type` = 'number.proformainvoice' ) ORDER BY a.`id` ASC in /home/cmass265/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/libraries/cbpaidXmlSql.php on line 482

Notice: SQLXML::queryloadResult: error returned: Unknown column 'a.sequencenumber' in 'field list' SQL=SELECT a.`sequencenumber` AS `invoice_number_next` FROM `jos_cbsubs_config` AS a WHERE ( a.`type` = 'number.invoice' ) AND ( a.`type` = 'number.invoice' ) ORDER BY a.`id` ASC in /home/cmass265/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/libraries/cbpaidXmlSql.php on line 482

I get similar errors when I try and select other CBSubs Admin pages.

Interestingly, I do not get the errors when I run on my local server.

I'm running:
Community Builder 1.9.1
Joomla 1.5.26 (to be upgraded to 3.0 as soon as I get CBSubs working again)

Any help would be greatly appreciated.

Thanks,

- Howard

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
10 years 6 months ago #245291 by krileon
Replied by krileon on topic SQL Error after upgrading to CBSubs GPL
You need to save CBSubs > Settings at least once for the migration to finish. The button and backend I believe warns of this as well as CBSubs documentation. As those are notices and not fatal errors it shouldn't prevent you from saving. It also could be an issue with your server as you say it doesn't affect your local site.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

10 years 6 months ago - 10 years 6 months ago #245310 by hgreenblatt
Replied by hgreenblatt on topic SQL Error after upgrading to CBSubs GPL
Krileon,

Thank you for the response. I was able to save the Settings page and that brought me to the main "Payment Center" page where I could see all my existing history. When I try and go to gateways though, none of my existing gateways show up. When I create a new one (Offline payment) I get the following error:

cbpaidgatewayaccountundefined::store failed: Unknown column 'viewaccesslevel' in 'field list' SQL=INSERT INTO `jos_cbsubs_gateway_accounts` ( `gateway_type`,`owner`,`name`,`enabled`,`normal_gateway`,`ordering`,`currency_acceptance_mode`,`viewaccesslevel`,`params`,`cssclass` ) VALUES ( 'processors.offline','0','test','0',...)

This same error happens on my local system so I'm not sure what's going on at this point. How would you recommend I best go about debugging this?

Thanks,

- Howard
Last edit: 10 years 6 months ago by hgreenblatt. Reason: typos

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

10 years 5 months ago #245330 by hgreenblatt
Replied by hgreenblatt on topic SQL Error after upgrading to CBSubs GPL
Got it fixed. I realized I had missed the "Check Plugins Database" in the CB tools. Running that fixed the problem. Thanks again for your help.

- Howard
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum