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

my-idlers request access to ~/.ignite.json on mysvestacp hosting #30

Open
Galang23 opened this issue Mar 8, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@Galang23
Copy link

Galang23 commented Mar 8, 2022

I got error:

file_exists(): open_basedir restriction in effect. File(/home/admin/.ignition.json) is not within the allowed path(s)
when i installed it in myvestacp environment.

Solution is to add /home/admin to open_basedir path in php.ini but that can cause security issue, or comment file checking in ignition.

And i notice that my-idlers API cannot be accessed when the app is put in subdirectories: i.e. api request goes to domain.example/api instead of domain.example/my-idlers/api

@cp6
Copy link
Owner

cp6 commented Mar 9, 2022

myvestacp environment.

What PHP version is it running?

api request goes to domain.example/api instead of domain.example/my-idlers/api

I believe this can be changed at app/Providers/RouteServiceProvider.php

@Galang23
Copy link
Author

Galang23 commented Mar 9, 2022

PHP 8.1 from Sury's PHP repository

@cp6 cp6 added the bug Something isn't working label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants