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

Upgraded Magento to 2.3.5 #86

Open
Flipmediaco opened this issue Jul 15, 2020 · 2 comments
Open

Upgraded Magento to 2.3.5 #86

Flipmediaco opened this issue Jul 15, 2020 · 2 comments

Comments

@Flipmediaco
Copy link

Clearing Magento cache results in the following error:-

Exception #0 (Zend_Uri_Exception): "Zend_Uri_Http" not found
<pre>#1 Zend_Http_Client->setUri() called at [vendor/cloudflare/cloudflare-magento/Backend/MagentoHttpClient.php:49]

I suspect due to change of Zend library name?

@sodhancha
Copy link

@Flipmediaco did you manage to fix this issue ?

@Flipmediaco
Copy link
Author

Flipmediaco commented Nov 4, 2020

@sodhancha This issue is actually nothing to do with Cloudflare module if I recall correctly... This problem is caused by a conflict in PHP configuration, regarding include_path and open_basedir... The problem is that the default value of the PHP config value include_path is outside the configured open_basedir meaning all includes apart from those within the current working directory fails. You may have had issues with saving addresses at checkout or forgot password failing due to email validator not being found. Solutions... add PHP default include_path to open_basedir (ideal and secure), or delete open_basedir (not as secure)... You can also set the include_path with the Zend library location, but this block Magento from adding to include_path and will create other odd behaviours. Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants