2sxc: can not install any apps - dotnetnuke-7

I have recently installed the latest version of the base app from codeplex (2sic_2SexyContent_08.04.08_Install.zip ) to DNN vesion 7.4.0, created a new admin page and added the module there.
from there I have tried to add a new app (2sxcApp_GoogleTagManager_01.00.01.zip) and the install pop up flashes for a split second then nothing happens.
checking the console I see;
/desktopmodules/tosic_sexycontent/dist/dnn/ui.html?sxcver=8.4.8.19191#zoneI…true&user%5BcanDevelop%5D=true&approot=%2F&dialog=dash-view&items=%5B%5D:1 XMLHttpRequest cannot load http://northcityosteopaths.co.nz/desktopmodules/2sxc/api/view/Module/GetSelectableApps. Response for preflight is invalid (redirect)
/desktopmodules/tosic_sexycontent/dist/dnn/ui.html?sxcver=8.4.8.19191#zoneI…rue&user%5BcanDevelop%5D=true&approot=%2F&dialog=app-import&items=%5B%5D:1 XMLHttpRequest cannot load http://northcityosteopaths.co.nz/desktopmodules/2sxc/api/app/ImportExport/ImportApp. Response for preflight is invalid (redirect)
enter image description here
I have tried reinstalling the base module and recycling the app pool
have also set page skin to default Gravity skin.

Related

Etsy Authentication changes

I am working on Etsy Authentication. I have created an app and tried to test the Authentication via Postman in the same above process but I was not able to Authenticate I was getting an error
Error
And I was unable to Edit the App and also there is no option of "Request Full Access"
No Edit option and also no Request full access and the app state is in pending approval
Help me with the issue as I was previously able to Edit the App and I have tested few APIs as well but now I am unable to do it.
Postman image
If I hit this API in the browser as a response I need code but I was getting the above error
Your request isn't working because you haven't registered the callback URL for postman with your App, and of course you mentioned that you couldn't edit your app to add the callback URL.
There is a silly URL bug on the Etsy dev portal which sending you to a broken like when you click on your app to edit it.
Once you click on the App to edit it and end up at the 404 page,
Remove this from the URL and it will then work.
I have emailed the Etsy Developers to point out this bug so hopefully it will be resolved quickly.
To piggyback off of Gareth's answer:
Step 1:
In https://www.etsy.com/developers/edit/{account_id}/callbacks, add the following callback:
http://localhost:3003/oauth/redirect
Step 2:
Follow these instructions https://developer.etsy.com/documentation/essentials/authentication/, make sure to set:
redirect_uri=http://localhost:3003/oauth/redirect
*You don't actually need anything running at localhost:3003

Cypress_- Failed to load resource: net::ERR_EMPTY_RESPONSE

My UI page keeps on loading when I try to perform a click operation. Which in return needs to fetch data using API call in the back end and display it in UI. Attached screenshot for reference.
Access to XMLHttpRequest at 'https://idp2.renault.com/nidp//app/login?target=https%3A%2F%2Fidp2.renault.com%2Fnidp%2Foauth%2Fnam%2Fauthz%3Fresponse_type%3Dcode%26scope%3Dopenid%2Bemail%2Bopenid%2Barca%2Brole-eic-irn65553%26client_id%3Da6a57638-bb90-49b8-b11b-862c9824fa13%26state%3DhGLwfzSpJOUeEw1dk5GOnFfN5L8%26redirect_uri%3Dhttps%3A%2F%2Feic-app2.dev1.applis.renault.fr%3A443%2Fauth%2Foidc%26nonce%3DFiGw4mp9izHujzUrQVgEA7q9SOwUETofvF-5kDVqZqg%26resourceServer%3DIdentityProvider' (redirected from 'https://eic-app2.dev1.applis.renault.fr/assets/i18n/fr.json') from origin 'https://eic-app2.dev1.applis.renault.fr' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
I had the very same issue with the same error message. My symfony php backend is running locally in docker. XDebug is also installed. Following 2 lines in the backend resolved this issue and I was finally able to login.
touch /var/www/html/xdebug.log
chmod 777 /var/www/html/xdebug.log

App-debug.html not working on eu1.rallydev.com

I'm currently developing a custom app that needs to be deployed on the eu1.rallydev.com server.
During the development I would like to use the App-debug.html to quickly see code changes without having to build and paste new html code, but this doesn't work.
I've changed the "server" in config.json, but keeps getting an error in console
Failed to load resource: the server responded with a status of 403 ()
Does anyone know what else I should do?
Try checking if the sysadmin has blocked the Custom HTML app in the subscription settings:
Allow Custom HTML app: true
Enable Cross-Origin Resource Sharing: true

virto commerce deployement from Github

I have successfully deployed the virto platform and storefront on to azure.
the CMS content connection string was taken from the platform appsettings and assigned to the storefront CMS connection setting. The Api Hmac App Id and secret keys are assigned as per the documentation.
Platform and storefront are synced in azure with the latest.
however, when the storefront url is entered in the browser, it does not show the storefront, insted the following error occurs.
This page isn’t working our storename.azurewebsites.net is currently unable to handle this request.
HTTP ERROR 500
please advise if anyone encountered such error. Did I miss any other settings?
First of all, that is NOT CMS connection string related issue.
Second, try these:
restart platform app service
restart storefront app service
clear browser cookies / open page in anonymous mode. The url should start with https, not http
wait for 30 seconds as this could be a timeout issue on slower service configurations
Third: set ASPNETCORE_ENVIRONMENT=Development as described in https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-2.2#set-the-environment to get error stacktrace

Google OAuth & API: blank login because localhost is not "whitelisted"

Error (inspected from html):
details: "Not a valid origin for the client: http://localhost:3000 has not been whitelisted for client ID 830959654564-inlhib5r4afjbm4ebt1e43gt07bpvve5.apps.googleusercontent.com. Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."
error: "idpiframe_initialization_failed"
Problem:
Tried using localhost:3000 and my local ip address given from React.
I've tried clearing the cache. I've tried using other browsers.
Blank Google OAuth
Well still no real solution but I created a new project and have reached no problems yet.
For me, this only worked when I created a project directly from https://console.developers.google.com/.
The project I created "inline" at https://developers.google.com/identity/sign-in/web/sign-in never seemed to see the origin config.