Closed (cannot reproduce)
Project:
Ubercart Invoice
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2011 at 07:47 UTC
Updated:
12 Dec 2011 at 12:03 UTC
Hi I installed the module posted in the git repository but when I go into an order view to create an invoice I got this error.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
user warning: Table 'my_db.uc_invoices' doesn't exist query: SELECT COUNT(*) FROM uc_invoices WHERE order_id = 8 in /home/www/public_html/mysite.com/sites/all/modules/ubercart_invoice/uc_invoice.module on line 72.
Looking into the database I can see that the table uc_invoices does not exist. Instead I have a table named uc_invoice that, I think, is part of an old installation of the previous releases of the module.
Comments
Comment #1
fuerst commentedDid a fresh install in a Ubercart 2.6/Drupal 6.22 environment: Table uc_invoices was created successfully and the Generate Invoice button works as excepted.
Can try re-installing including explicit de-installing the Module again?
Do you get any error message when installing?
Comment #2
fuerst commentedGot no response, seems to work so..