cPanel中的voyager管理面板错误

cPanel中的voyager管理面板错误

本文介绍了cPanel中的voyager管理面板错误`Missing storage symlink` Missing的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在cPanel中上载了航海家管理面板.它给出错误Missing storage symlink,并且未显示新添加项目的图像.

I have uploaded a voyager admin panel in my cPanel.It gives error Missing storage symlinkand images are not shown of new added item.

假设我要添加一个新用户.显示所有新用户接受用户头像的信息.

Suppose I want to add a new user. All information is shown of new user accept user avatar.

通过运行cmd php artisan storage:link可以很容易地修复本地错误.

In locally error is easily fixed by running the cmd php artisan storage:link.

但是在实时服务器中如何解决此错误?

But in live server how to fixed this error ?

我已经更改了config/filesystems.phpstorage driver的路径.将路径从storage_path()更改为public_path()

I have already change the path of storage driver in config/filesystems.php. Change the path from storage_path() to public_path()

'public' => [
    'driver' => 'local',
    'root' => public_path('app/public'),
    'url' => env('APP_URL').'/storage',
    'visibility' => 'public',
],

推荐答案

已修复!

删除public/storage文件夹并在cmd中运行命令

Delete public/storage folder and run the command in cmd

php artisan storage:link

这篇关于cPanel中的voyager管理面板错误`Missing storage symlink` Missing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 09:56