Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't add image in settings menu. #5361

Closed
volkankocaali opened this issue Jun 10, 2021 · 6 comments · Fixed by #5367
Closed

I can't add image in settings menu. #5361

volkankocaali opened this issue Jun 10, 2021 · 6 comments · Fixed by #5367

Comments

@volkankocaali
Copy link

Version information

  • Laravel: v8.46.0
  • Voyager: v1.4.2
  • PHP: 7.4.3

Description

I can't add image in settings menu. When I check the storage files, the settings folder is created outside of public. how can i solve this problem.

Additional context

storage
settgs
stadsa

@MrCrayon
Copy link
Collaborator

Check your storage configuration

@volkankocaali
Copy link
Author

My storage settings are as they should be

'disks' => [

        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
        ],

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

        's3' => [
            'driver' => 's3',
            'key' => env('AWS_ACCESS_KEY_ID'),
            'secret' => env('AWS_SECRET_ACCESS_KEY'),
            'region' => env('AWS_DEFAULT_REGION'),
            'bucket' => env('AWS_BUCKET'),
            'url' => env('AWS_URL'),
            'endpoint' => env('AWS_ENDPOINT'),
            'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
        ],

    ],

@MrCrayon
Copy link
Collaborator

If you are using laravel/laravel 8.5.19 and up you'll need to change disk configuration in config/voyager.php and set it as public.
You can read the explanation here: #5362 (comment)

Let us know if that solves the problem.

@hamitdaylak
Copy link

when will the problem be solved?

@emptynick
Copy link
Collaborator

This is fixed. See above

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2022
@tnylea tnylea unpinned this issue Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants