Categories
Mastering Development

cors blocked errors when loading iframe in vue component, maybe use axios to mimic iframe?

I’m doing some testing locally so my dev url is http://localhost:3000, I’m wanting to add an iframe into my vue component to bring in data from an outside domain. But I’m getting a cors errors being blocked, etc. I do have access to the domain and server I’m accessing so I have added <VirtualHost *:443> […]

Categories
CMS Drupal Mastering Development

Feeds not recognizing CSV Title Rows

I am trying to use Feeds to import/update content types, but it appears that it’s not recognizing my mapping as I keep getting the error Integrity constraint violation: 1048 Column ‘title’ cannot be null. I have a test CSV header like this O*NET-SOC Code,Delete,Title – Arabic,Title – English,Priority of Tasks,Task ID,Task – English,Task – Arabic,Task […]

Categories
CMS Drupal Mastering Development

Feeds not recognizing CSV Title Rows

I am trying to use Feeds to import/update content types, but it appears that it’s not recognizing my mapping as I keep getting the error Integrity constraint violation: 1048 Column ‘title’ cannot be null. I have a test CSV header like this O*NET-SOC Code,Delete,Title – Arabic,Title – English,Priority of Tasks,Task ID,Task – English,Task – Arabic,Task […]

Categories
CMS Drupal Mastering Development

Feeds not recognizing CSV Title Rows

I am trying to use Feeds to import/update content types, but it appears that it’s not recognizing my mapping as I keep getting the error Integrity constraint violation: 1048 Column ‘title’ cannot be null. I have a test CSV header like this O*NET-SOC Code,Delete,Title – Arabic,Title – English,Priority of Tasks,Task ID,Task – English,Task – Arabic,Task […]

Categories
Database Development

SQL Server log file in “Simple” recovery model

Can someone please shed some light on log growth in simple recovery model. If I understand correctly, even in "Simple" recovery model the transaction log can grow? So if I have open transaction(s) (Update, Insert, Delete, Index Rebuilds, etc.) these start to re-use inactive VLF’s and if none are present the log will start growing […]

Categories
Database Development

SQL Server log file in “Simple” recovery model

Can someone please shed some light on log growth in simple recovery model. If I understand correctly, even in "Simple" recovery model the transaction log can grow? So if I have open transaction(s) (Update, Insert, Delete, Index Rebuilds, etc.) these start to re-use inactive VLF’s and if none are present the log will start growing […]

Categories
Mastering Development

‘from’ parameter not supported c++ libcurl mailgun api

I’m trying to send a email with the mailgun api using c++ libcurl. The api is returning the error "message": "’from’ parameter is not a valid address. please check documentation". code CURL* curl; CURLcode res; std::string readBuffer; std::string user = "api:" + (std::string)"MY_API_KEY"; std::string data = "from=’from=’\"Bob Marley\" <bob@host.com>’&to=’jlkrumholz01@gmail.com’&subject=’Hello’&test=’hi’"; curl = curl_easy_init(); if (curl) { […]

Categories
Mastering Development

No Access-Control-Allow-Origin after many calls edit > Axios network error catch

I’ve googled this issue very often and I think I’ve inserted them all which I know is redundant but I’m desperate. In my server I’ve added: app.use(cors()) and app.use(function (req, res, next) { res.setHeader(‘Access-Control-Allow-Origin’, ‘*’); res.setHeader(‘Access-Control-Allow-Headers’, ‘Origin, X-Requested-With, Content-Type, Accept’); res.setHeader(‘Access-Control-Allow-Methods’, ‘POST, GET, PATCH, DELETE, OPTIONS’); next(); }); and in the route, I’ve added: router.use([‘/api/’, […]

Categories
Database Development

postgres permissions related to sequences

Don’t use psql much but need to setup a DB and the docs say this: The user must have privileges to select, insert, update, delete, and sequence tables. The first 4 are obvious: CREATE ROLE dbuser LOGIN PASSWORD ‘asdfasfdasfd’; GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO dbuser ; I’m not so sure what […]

Categories
Mastering Development

ERR_NAME_NOT_RESOLVED when making ajax call to sap RFM in Cordova app on Android using SAPUI5

This is my first question and I’m quite new to sap development, so I hope I can make this clear enough. I’m trying to make a call to RFC from an Android app. I created the function module on my company’s SAP system and then exposed it as SOAP web service. Then I wrote a […]