Private files get Access Denied for any non-admin role but only on server

Very odd problem. I have a bundle where a user uploads a file to a private file field. When viewing the bundle; they see the file listed and can see it is linked to the file; but when clicking the file, they get Access Denied. This is on a CentOS 7 server.

The part which makes this odd is that the site is version controlled and the same code is running on my local Windows development machine. I just grabbed a copy of the server db and installed on my local. So, technically, the sites should be identical. On my local, the user is able to view the private file.

Drupal 8 long Iframe needed Iframe module not sufficient

Hi on drupal 7 I had the possibility to put an Long IFrame tekst in the body when plain text was selected.

In drupal 8 it seems this is not working I tried several other options:
1 the Iframe module, not working because the IFrame i Need has more fields
2 Url_embed, not working because the field where you can put the Iframe tekst is too short.

How do I get this working ? another module ??

Here the IFrame I need:

How to update commerce order total progrmatically?

I have below code

use Drupal\commerce_order\Entity\Order;

$order = Order::load(<order id>);
if ($total_price = $order->getTotalPrice()) {
  $total_price->subtract(new Price('-5.00', 'USD'));
}

$order_refresh_service = \Drupal::service('commerce_order.order_refresh');
$order_refresh_service->refresh($order);
$order->recalculateTotalPrice();
$order->save();

How to update order total price?

How do i change a project status from usupported to supported?

I recently created a drupal module project and messed up the tags and branches on my first attempt to upload. I flagged the first release I had created as unsupported in order to hide it. I then created a new release (new branch, new tag and version number upgraded) that I want to show as supported. However when I install it  and check for udpates it shows as unsupported.

Link to image

How to add a contact form link to node and view

Hello, 

I created a node type Properties. Done

I added a few nodes. Done

I created a view to display the nodes. Done

Issue with Passport Policy Configuration settings action

I have installed the module password policy and plugins for character types, length and username. I add a policy and, when clicking on 'configure settings' button for one the plugins the button does nothing. This works perfectly well on a local version of the site I have. I exported the policy config from there and imported it to the staging hosted site. The policy is imported but none of the plugin configurations. I appreciate that this module may not be fully ready for Drupal 8 (I'm using 8.8.2) yet but was wondering if there is a solution.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x