문제

I've moved my Magento 2.3.2 website from Shared Hosting where I developed it to a VPS. Everything on the Shared Hosting was working fine on checkout but right now, when a customer login and tries to Checkout this error message appears:

 Validate class not found from basename
 Magento\Framework\Validator\EmailAddress

I've tried and followed this: the Same issue reported.

With what is suggested adding include_path "." to my php.ini file, the result is, the error message no longer is showing but the delivery methods are not showing.

As it looks it feels like this stops the validation process for the address of the customer. Has anyone found a fix for this?

Edit: I am not using Plesk.

도움이 되었습니까?

해결책

You can add this in your php.ini file

include_path = ".:/yourpathtomagento/vendor/magento/zendframework1/library"

Add your Magento Root directory path where I have mentioned yourpathtomagento in the above path and then check.

  • Note: Go to your console and move into your Magento installation directory and then run PWD command there and copy the whole path and paste there instead of this text yourpathtomagento.

Hope this will help you!

다른 팁

I have tried to follow your suggestions but in my directories i don'have zendframework1/library. I have zendframework and in this directory, other directories zend-* Do you know why i don't have zendframework1 or if i must choose one of directory under zendframework? Magento version 2.3.1 php 7.2 We use plesk

Thanks

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top