Not able to save block or view configuration or uninstall modules when a domain is selected - drupal-modules

Drupal Version: 9.2.21
Domain module version: ^1.0#beta
Expected Behavior
After selection of added domains, The configuration saving and uninstalling any module should work as expected.
Actual Behavior
After selection of added domains, I am not able to update any block or View configuration and not able to uninstall the modules. I am getting a success message that "Successfully update" or "successfully uninstalled this module" but on page reload its still same as earlier. I tried drush to uninstall the module but on page refresh it is still enable. Even if i try to update some existing Domain config it is not updating.
But if i select the "All Domain" in Domain dropdown, I can update the configurations but still not able to uninstall some modules and even if i try to update some existing Domain config it is not updating.
Clearing cache has no effect.
Steps to reproduce
Go to /admin/config/development/performance. bydefault "All Domains" are selected.
Go to any block and make some changes and save it.
Getting a "Success" message and block update is working as expected.
Go to "/admin/config/development/performance" again and select any Domain.
Go to any block and make some changes and save it.
Getting a "Success" message and on page refresh update is not working
Try to uninstall any module from admin or using drush, Getting a "Success" message but on page refresh that module is still enabled.
Clearing cache has no effect.
Go to /admin/config/development/performance. bydefault "All Domains" are selected.
Go to any block and make some changes and save it.
Getting a "Success" message and block update is working as expected.
Go to "/admin/config/development/performance" again and select any Domain.
Go to any block and make some changes and save it.
Getting a "Success" message and on page refresh update is not working
Try to uninstall any module from admin or using drush, Getting a "Success" message but on page refresh that module is still enabled.
Clearing cache has no effect.

Related

I have created non-admin user but its not loading any databases what can be the reason behind this?

enter image description here After creating the non-admin user I have set permission for a specific database as well but when I log in with a non-admin user its shows a loading database and doesn't show anything and other nodes also don't get loaded.
I found the explanation here
In CouchDB 3.0.0, the /_all_dbs endpoint became admin-only. This has the side-effect of Fauxton, the “Browser GUI”, not loading properly for non-admin users, as it starts out by reading /_all_dbs.
The release notes have a section that go into the changes.
This is the code change: https://github.com/apache/couchdb/issues/2576
You can get the previous behaviour by setting the config variable [chttpd] admin_only_all_dbs to false, but that allows even unauthenticated users to get a full list of your databases.

Attempt to update your production data failed - Actions on Google

Where:
In build -> Actions -> Upload content via Google Sheets
Problem: I have the trivia template selected. I've already created a sheet and uploaded and deployed my action. Now I figured out that one of my questions had a wrong answer. So I updated the sheet and then went back to the actions tab to upload content via google sheets
Then I clicked on UPDATE TEST and tested my app in the simulator. The changes were reflected.
Then I clicked on UPDATE PROD and I get the following message
On doing further investigation I found out that the GET request is returning a 403 error
and in the Network tab, this is the response I'm getting:
I'm not sure what is going on.
I have encountered the same situation.
However, there is a workaround or it must be the right action when upgrading your Q&A Sheet. It is to use "submit for production" in Deploy>Release sidebar. See [attached image].1
I also had the same problem. I think you have changed the Google Sheet's name and questions per page, so it gives an error. If you give the same name and questions per page it is taking i.e. updating.

API issue when editing order in opencart admin

Afternoon all,
I've got an issue when trying to change the status of an order (from pending to complete etc...) in the admin section.
A warning appears saying
Warning: You do not have permission to access the API!
if i have add my IP to the API IP address section it's working fine
the fields are all in red and the continue button doesn't work.
A similar thing happens if I view an order instead and try to add a new status to the order history.
I've seen this problem mentioned a few times in other posts but, afaik, without any satisfactory answer.
I'm using Opencart 2.0.3.1 and I'm logged in as an administrator and the administrator user group has all Access and Modify permissions enabled.
There is the default API user set up in System > Users > API and I also added (and then removed) another one but I was not sure what to do once I had created a new API user with a username and generated password.
There are no other problems on the site but, despite trying just about all the suggestions in the other forum posts, I can't edit the existing orders from the admin section.
Check this page out with a list of fixes for this issue: http://www.randemsystems.com/support/opencart/api-problems-what-you-need-to-know/msg6218/#msg6218
As far as I know, this issue is resolved in OC v2.1x onwards
The problem is that you need an API user with a valid IP address.
Go to System > Users > API.
Either modify the Default API by adding your IP address in the second tab, or just create a new API.
After that you should make sure the API is selected in System > Settings > Edit > Option > API User.
Click save, refresh and try adding order history again.
I tried the same thing and didn’t have permission to access the API when attempting to add order history. Follow the steps and it should work for you, as it worked for me.
I know it's late, but after trying everything and not getting it working, I deleted everything here /system/storage/cache. It solved the problem.
It works perfect for me .
1- Open index.php file of root directory
2- add the following after define('version',x.x.x.x);
if ($_SERVER["HTTP_CF_CONNECTING_IP"])
{
$_SERVER["REMOTE_ADDR"] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}

OrchardCMS Theme broken, need to get to the Dash

I have a broken site ATM and the theme layout is stuffed, I need to get to the dashboard by entering the direct link, does anyone have a sample that I can use.
Forced an update of the engine to the lastest version, and found that I needed to make changes to the user roles and configuration, made the changes in the database and got it working. What I found is that the user now needs to be part of a role, in the database made the change to the user giving them role ID of 1, this allowed me to go to the \admin page to get to the dashboard, from there I could reset to a default theme and get the site back up and running again

PhoneGap.Build example com.facebook.sdk error 2

Bulding via phonegap.build service simple example(https://github.com/phonegap-build/FacebookConnect/tree/master/example/Simple) from this repo + my config.xml (https://gist.github.com/zulman/5070388)
After tap on login button message informs me about "com.facebook.sdk error 2"
I check all info on github's main page about this error, check stackoverflow entries.
My bundle id is the same on facebook dev page and in config.
My sandbox mode disabled on facebook dev page.
My app ids are equal on js, config and facebook dev page.
How i can get extended error info or way to fix it without using manual building on xcode? Thanks.
I had exactly the same problem.
Check the permissions you are requesting.
Apparently with the newest version of SDK you cannot request write and read permissions during the same request.
For me, requesting "offline_access" was an issue. After removing that one, the error disappeared. Try requesting only the basic permissions (like "email,user_about_me") and see what happens.

Resources