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

Avoid warning open_basedir restriction #829

Merged
merged 1 commit into from
Dec 1, 2021
Merged

Avoid warning open_basedir restriction #829

merged 1 commit into from
Dec 1, 2021

Conversation

danidomen
Copy link

Questions Answers
Description? Avoided the "Warning: file_exists(): open_basedir restriction in effect. File(/views/templates/front/XXXXXX.tpl) is not within the allowed path(s)" due a slash before the "views" on the file route.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket?
How to test? Enable debug mode, check that warning not rise

image

Seems the same problem that on this another module PrestaShop/psgdpr#152

Avoided the "Warning: file_exists(): open_basedir restriction in effect. File(/views/templates/front/customerAccount.tpl) is not within the allowed path(s)" due a slash before the "views" folder
@Matt75 Matt75 changed the base branch from master to v2.16.0 December 1, 2021 14:54
@Matt75 Matt75 added this to the 2.16.0 milestone Dec 1, 2021
@Matt75 Matt75 added the bug Something isn't working label Dec 1, 2021
@Matt75 Matt75 self-assigned this Dec 1, 2021
@Matt75 Matt75 merged commit 7db18b0 into PrestaShopCorp:v2.16.0 Dec 1, 2021
@Matt75
Copy link
Contributor

Matt75 commented Dec 1, 2021

Hi @danidomen
Thanks a lot for your contribution 👍

@danidomen danidomen deleted the patch-1 branch March 7, 2022 19:35
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

Successfully merging this pull request may close these issues.

2 participants