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 #152

Merged
merged 2 commits into from
Dec 8, 2021
Merged

Avoid warning open_basedir restriction #152

merged 2 commits into from
Dec 8, 2021

Conversation

danidomen
Copy link
Contributor

@danidomen danidomen commented Nov 24, 2021

Questions Answers
Description? 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" on the file route. Also update the line with the "$this->fetch" function
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket?
How to test? Enable debug mode, check that warning not rise

 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 comma instead a point to concatenate the file route. Also update the line with the "$this->fetch" function
psgdpr.php Outdated Show resolved Hide resolved
Co-authored-by: Joey Janson <joey@hoofddorp.nl>
@Progi1984 Progi1984 added this to the 1.3.1 milestone Nov 29, 2021
@HanaRebaiQA HanaRebaiQA self-assigned this Nov 29, 2021
@HanaRebaiQA
Copy link

Hello @danidomen

Can you please create an issue for this PR? Also i need a more details of How to test and the steps to reproduce it ?

Thanks!

@PierreRambaud
Copy link
Contributor

Hello @danidomen

Can you please create an issue for this PR? Also i need a more details of How to test and the steps to reproduce it ?

Thanks!

I don't think it requires an issue. It's related to the open_basedir restriction (PHP configuration),
to test, please add the restriction and make sure the module is working with or without this restriction :)

@HanaRebaiQA
Copy link

Hello,

I check with Sarah this PR. It will be checked by dev.

Thanks!

@PierreRambaud
Copy link
Contributor

Thank you @danidomen

@danidomen danidomen deleted the patch-1 branch December 9, 2021 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants