broadleaf commerce initial setup db and static asset - spring

I referred
http://docs.broadleafcommerce.org/core/current/getting-started
to get started with broadleaf commerce. While everything is good with installation, when i run the application as mentioned i get 2 errors. They are as below:
Database creation error: This error comes while starting jetty server.
SchemaExport - HHH000389: Unsuccessful: alter table
BLC_TRANS_ADDITNL_FIELDS drop constraint FK376DDE4B9E955B1D
SchemaExport - user lacks privilege or object not found:
PUBLIC.BLC_TRANS_ADDITNL_FIELDS
Static resoure mapping error: This error comes while i load any page which has image on it. Below are the details.
StaticAssetViewController - Unable to retrieve static asset Failed to
delete original file
'C:\user\AppData\Local\Temp\30\95\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg'
after copy to
'C:\user\AppData\Local\Temp\img\sauces\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg'
Note: StaticAssetView issue was resolved in BLC 3.2.

The database error shouldn't be an issue. When the app starts it first tries to clean the DB by dropping everything. If the tables or constraints don't exist you get this error and that is fine, later on in the start up sequence it will create all these DB objects.

Related

Unable to bind Application item - Oracle Apex

I have created 2 application items in shared component option.
Protection level: Restricted
Scope: Application
Then I have created a process in the login page where sql query is
select user_id, name into :G_USER_ID , :G_USER_NAME
from t_users
where upper(email) = upper(:P9999_USERNAME);
When I try to login it gives me error. Debugging says that there is an error in the above statement. I am not able to bind these items.
I'm using apex 19.1
It would help if you said which error you got.
However, if this piece of code runs before you managed to log in, you didn't establish connection to the database (yet) and can't select from any table, including t_users.

How do I debug this Strapi error about record creation?

One content type is refusing to create records returning the error "an error occurred during content creation". Other content types seem unaffected. There are currently 2 items that have already been created for this content type so it was working previously.
I'm trying to figure out where to look for error logs, the Node console returns no errors and there are no Mysql database errors in the mysql log file.
Freebsd 12.0-RELEASE-p10
Mysql 8.0.17
Strapi 3.0.0-alpha.26.2
The problem turned out to be caused by a server limit on max file size but Strapi was only returning a generic error message.

Ucanaccess 4.0.3 cannot find a specific table in my DB

I'm using jdbc with ucanaccess... When I connect to the database, there is one table that Ucanaccess is not finding... I saw that in debug mode in NetBeans...
Therefore when I try a transaction on that table, I get :
UCAExc:::4.0.3 user lacks privilege or object not found [Name of my table]
I guess everything else works perfectly since when I did a select on another table it worked...
I'm using :
ucanaccess 4.0.3
MS Access 2007
JDK : java 1.8.0_151
Netbeans : NetBeans IDE 8.2
Update
When Opening the database with console.bat ( by the way, this file is located in UcanAccess download folder) I got the follwoing warnings/errors :
WARNING:Looking for usage map at page 9093, but page type is 1
Cannot load procedure Query4 user lacks privilege or object not found: [My Table Name]
Cannot resolve table [My Table Name]
WARNING:Looking for usage map at page 9093, but page type is 1
strongly suggests a damaged database file. Jackcess, the record manager used by UCanAccess, retrieved a page (block) of data from the file expecting it to be tagged as a "usage map" but it was tagged as something else.
The most common solution for a damaged database file is to open it in Access and then do a "Compact and Repair Database" operation on it.

Trying to install MediaWiki, getting error: "Tables creation failed. Make sure user can write to schema."

I'm getting the following error when attempting to run the MediaWiki installation, hosted on Heroku, and configured to connect to a Heroku Postgres database:
Tables creation failed. Make sure that the user "xyz" can write to the schema ""
How can I fix this?
Found the solution - just needed to put a value into the Schema field on the 'Database Connection' wizard page. Any short string value should do; I used: mediawiki.

Kendo spring demo project missing database

I'm trying to run Kendo spring demo application, most of the demos works but whenever I run remote binding examples I'm getting
[SQLITE_ERROR] SQL error or missing database (no such table:
Employees)]
It seems like it couldn't find the database, where can I find the database or how can I fix this?
The database should be available under the following folder:
spring-demos\src\main\webapp\WEB-INF\sample.db

Resources