我有两个网站,一个是drupal,另一个是基于php的,我需要在登录之前限制php网站的内容。一旦用户登录到drupal网站,php网站也应该使用来自drupal website.is的用户,这是可能的吗?如何让用户登录到外部网站。
更新了此问题的解决方案。使用此脚本访问其中的drupal用户
<?php
chdir('/var/www/');/*This should be the drupal base directory.This is more important.*/
require_once './includes/bootstrap.inc'
我有两个网站:
drupal网站
magento网站
在我的drupal网站上,我想显示我的magento网站的iFrame,但这使我犯了一个错误:
Refused to display 'https://magento_site.com?_redirect_url=https://drupal_site.com' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors https://drupal_
我的Drupal网站出了个奇怪的错误。错误如下:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1 no such table: router: SELECT name, route, fit FROM {router} WHERE pattern_outline IN ( :patterns__0 ) AND number_parts >= :count_parts; Array ( [:count_parts] => 0 [:patterns__0] => /
我在一个Drupal8网站上工作。这个网站工作正常。我最近换到了另一台机器。
它显示的错误如下:
Recoverable fatal error: Argument 1 passed to
Drupal\Component\DependencyInjection\Container::__construct() must be of
the type array, boolean given, called in [DRUPAL-
PATH]/core/lib/Drupal/Core/DrupalKernel.php on line 883 and defined in
[DRU