你在这里

/TMP问题与An AJAX HTTP error与Path: /core/authorize.php/core/authorize.php解决办法

主标签

DRUPAL 8.2三大安装问题,LNMP php7+mysql 5.6

 

当你安装一个module时候。这是一个bug

An AJAX HTTP error occurred. HTTP Result Code: 404 Debugging information follows. Path: /core/authorize.php/core/authorize.php?batch=1&id=8&op=do_nojs&op=do StatusText: error

比如安装ubercart出现

Update manager

Error message

Notice: Undefined index: log in update_authorize_install_batch_finished() (line 293 of core/modules/update/update.authorize.inc).

Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 293 of core/modules/update/update.authorize.inc).

Notice: Undefined index: log in update_authorize_install_batch_finished() (line 334 of core/modules/update/update.authorize.inc).

Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 335 of core/modules/update/update.authorize.inc).

Installation failed! See the log below for more information.

 

第二个问题,上传module临时路径读写问题设置

temporary://  drupal 路径

问题现象 Archivers can only operate on local files: <em class="placeholder">temporary://update-cache-7517f9d9/ubercart-8.x-4.x-dev.tar.gz</em> not supported

1 https://www.drupal.org/node/2178869   参考设置为775,sites/default/files/tmp

2.http://www.zymphonies.com/blog/configure-drupal-temporary-directory

/data/wwwroot/default/sites/default/settings.php

/**2016-11-25添加*/

$conf['file_temporary_path'] = '/tmp';

 

OVER#   重启nginx,刷新页面即可。

Drupal 版本: 

猜你喜欢

遇到了第一个问题

                                                 南方以南,以梦为马