1054 - Unknown column 'customers_group_id' in 'field list' - oscommerce

Can some please help me with this and tell me what to do to fix this?
This is the error message that I am getting
1054 - Unknown column 'customers_group_id' in 'field list'
SELECT customers_group_id FROM customers WHERE customers_id="4"

Sounds like the Separate Pricing Per Customer add-on was installed, but the database updates weren't made. Try going through the documentation for SPPC, and find the SQL statements you need to run that adds the custom tables/columns to the database.

Related

issue with order syntax on opencart

We are getting the below error while fetching the orders on opencart.
error:
{"status":200,"data":"\"Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDBserver version for the right syntax to use near 'order ORDER BY order_id DESC' at line 1<br \\\/>Error No: 1064<br \\\/>SELECT * FROM order ORDER BY order_id DESC\""}
please help
I am using opencart 3.0.3.8
I am new to opencart, still learning it so I didn't find a solution for the same. I need help here.
Your SQL contains the word "order" for the order table. However, order is a keyword. You need to put it in backticks - ie `order`
It's conflicting with the predefined word ORDER BY
So you need to change it to be order

PowerBI subscription error : there is no data for the field at position x

We have run a PowerBI subscription to generate visualisations report in PDF format we have get many errors like this
There is no data for the field at position x
The problem is we searched many times about it we found that it may occurred due to missing data in dataset.
But we have about 30 datasets with a query to oracle database we cannot figure out which is the missing data and the log does not mention which report causes the error.
Is there a way to figure out which field is missing?
Or is there a way to enrich the reports error log to give us which report failed?
A sample of exact error is repeated with different positions :
processing!ReportServer_0-8!1e18!02/07/2022-09:56:36:: e
ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 29.;
Dears
I found a solution help me. I will share it.
The error is due to missing data, not missing values, which means the column name defined in the data set field has been changed in the database.
note:
When make the value equals null it will not give the same error; even if it is used in the report it will give a different error.
about how to detect ?
Simply install report builder in machine has connection to this database and open this report with report builder and make verify fields, it will give detailed error with the name of dataset fields not found so we tracked it in database we found it has been changed so fix it in either dataset or column name in database it fix the issue.
New challenge we are going to handle it either column name exist or changed to e, never get error and give empty report better as there is some database the report will connect may not have the same column names so it should give empty part of report instead of error.
thanks BR,

How to fix error -245 while updating row in informix

-245 Could not position within a file via an index.
I got this error when I want to update one row in a table.
There are 8 indexes on this table and the table has about 30000 rows.
Here is the full description for this error
The database server encountered an error when it attempted to look up
a row through an index. Check the accompanying ISAM error code for
more information. The table file or the index file might have been
corrupted. Unless the ISAM error code or an operating-system message
points to another cause, run the oncheck utility (secheck with IBM
Informix SE or tbcheck with IBM Informix OnLine) to check and repair
table and index.
We would need to the ISAM error to answer this question properly.
Usually this is due to locking, review application locking strategy and isolation levels and well as access plans for DML.

Error while updating a record in APEX screen

while updating a record using MRU its failing with below error.
1 error has occurred
Current version of data in database has changed since user initiated update process. current row version identifier = "C5F3645B026AA5646C00DC7B631C4D19" application row version identifier = "6A9323B62F641015FA4601421DFB03DE" (Row 1)
This is strange because I do not see any change in the data at backend.
Any help will be highly appreciated.
Thanks.
AJ
If you're using a tabular form, check your query, then check the item. The item must match with the correct column in a database that is updatable.
Make sure that your column aliases match your column names (for updateable columns).
I had the same problem, the problem in my case that detail table has composite primary key,
so in application > column > Primary KeyPrimary Key
property must all primary key field enable , not only one field.

Subsonic error: Unknown column 't0.CartQuantity' in 'field list'

I added a custom property to a generated class from the database using a partial class and for some reason everytime I query my table it tries to look for the custom property as a column in the database and that's when I get this error, is there a way to tell subsonic that my property is not a column in the database?
I'm using Mysql by the way.
I used the SubsonicIgnore attribute on my property and it fixed the issue.