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

Voyager Loader and font awesome are not displaying after hosting in cpanel [BUG] #4257

Closed
rajaduraioec opened this issue Jul 10, 2019 · 9 comments

Comments

@rajaduraioec
Copy link

rajaduraioec commented Jul 10, 2019

I have uploaded my laravel voyager project on cpanel's subdomin. But Voyager loader and font awesome are not working after production.

Laravel Version 5.8
Voyager 1.2

I have modified env file App URL and avatar is displaying.

I have tried copying font.css file from vendor directory to public/css and linked it in Voyager config as additional css.

But still no luck. Please help me to resolve this

image

image

@fletch3555
Copy link
Collaborator

Please use the issue template in the future else you risk it being closed without response. In this particular case, you provided the necessary information, so I'll let it slide

@rajaduraioec
Copy link
Author

rajaduraioec commented Jul 10, 2019

@fletch3555 Please how to do that?. This is the first time I am posting issues on Github. Can I modify now?

@emptynick
Copy link
Collaborator

Please show us the logs (both Laravel and PHP)

@ilearnbydoing
Copy link

I am facing the similar issue voyager-assets giving 500 error.
any help appreciated.

@emptynick
Copy link
Collaborator

The information I requested above are still necessary.

@ilearnbydoing
Copy link

ilearnbydoing commented Nov 2, 2019

Hi @emptynick thanks for quick reply here is the excerpt of log.

[2019-11-02 06:54:27] local.ERROR: Call to undefined function Illuminate\Filesystem\finfo_file() {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined function Illuminate\\Filesystem\\finfo_file() at /home/confech9/public_html/domain.tld/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:323) [stacktrace] #0 /home/confech9/public_html/domain.tld/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(239): Illuminate\\Filesystem\\Filesystem->mimeType('/home/confech9/...') #1 /home/confech9/public_html/domain.tld/vendor/tcg/voyager/src/Http/Controllers/VoyagerController.php(85): Illuminate\\Support\\Facades\\Facade::__callStatic('mimeType', Array)

the error occurs when I moved from VestCP to Cpanel.

@emptynick
Copy link
Collaborator

From that message you can see that you are missing the finfo PHP extension

@ilearnbydoing
Copy link

@emptynick thankyou so much I fixed the issue.

thanks

@MrCrayon MrCrayon added the stale label Jan 1, 2020
@MrCrayon MrCrayon closed this as completed Jan 1, 2020
@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 Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants