Prestashop: Prestashop 1.7.6.1 with PHP 7.1 and 7.2 gives blank page order confirmation

Created on 16 Oct 2019  Â·  20Comments  Â·  Source: PrestaShop/PrestaShop

Describe the bug
Prestashop 1.7.6.1 with PHP 7.1 and 7.2 gives blank page order confirmation.
With php 7.0 all works well.
Warehouse compatible with PHP 7.1 and 7.2

Stack trace:

0 /home/dual34/public_html/new/classes/Mail.php(323): MailCore::toPunycode('[email protected]...')

1 /home/dual34/public_html/new/classes/order/OrderHistory.php(552): MailCore::send(12, 'bankwire', 'A\xC8\x99teaptare pla...', Array, '[email protected]...', 'Test Test', '[email protected]', 'GPG Mobile', NULL, NULL, '/home/dual34/pu...', false, 1)

2 /home/dual34/public_html/new/classes/order/OrderHistory.php(468): OrderHistoryCore->sendEmail(Object(Order), Array)

3 /home/dual34/public_html/new/classes/PaymentModule.php(549): OrderHistoryCore->addWithemail(true, Array)

4 /home/dual34/public_html/new/modules/ps_wirepayment/controllers/front/validation.php(64): PaymentModuleCore->validateOrder(12742, '10', 275, 'Plata prin tran...', NULL, Array, 7, false, 'e1d03453f6b9d44...')

5 /home/dual34/public_html/new/classes/controller/Controller.php(281): Ps_WirepaymentValidationModuleFrontController- in /home/dual34/public_html/new/classes/Mail.php on line 901

Additional information
PrestaShop version: 1.7.6.1
PHP version: 7.1/7.2 not working

1.7.6.1 Bug Checkout FO No change required

Most helpful comment

@jajarom, It is OK in my side
https://drive.google.com/file/d/1taTa1FYpyRVdXHVA9EDJnc4j4P6QtDA_/view
Could you please follow this link: https://github.com/PrestaShop/php-ps-info
phppsinfo file provides an equivalent to the phpinfo() function that reports PrestaShop Requirements information about the PHP/MySQL/Apache environment and offers suggestions for improvement.

  1. Upload the file to the server. You should upload your file to the exact directory you want to test. Typically, this will be your httpdocs (/var/www/vhosts/example.com/httpdocs/) directory, although you can upload it to any subdirectory on your server as well. Use FTP to upload the file.
  2. Visit the page in your browser. If you uploaded it to your html directory, you should now visit http://www.example.com/phppsinfo.php, replacing example.com with your own domain name.
  3. Now you can view all of the information about PHP for your server for that particular directory.
    image

Thanks to check and feedback.

All 20 comments

Hi @jajarom,

This issue is occurred due to php-intl extension.
Could you please try to install it, it is required.
image

Thanks to check and feedback.

Thank you, working :)

@jajarom, so, the issue is fixed?

Thanks!

Yes,

But i have server error when i upload a picture, or i want to install another module

@jajarom, your issue reported is

Prestashop 1.7.6.1 with PHP 7.1 and 7.2 gives blank page order confirmation.

But i have server error when i upload a picture, or i want to install another module

This is another issue? in which page => uploading the image doesn't work? what is the exact module?

Thanks!

In Back Office when uploading imegae to store.
Module i try is v1.2.1-ps_emailsmanager.

@jajarom, As it's not a module provided by Prestashop, we can't do anything with this.
You should contact the module author via your addons.prestashop.com account, they are the only ones to help you with it.
Thanks!

Prestazz

Module translate uploading image. This happens

@jajarom, the screenshot is provided from the translation page?

Thanks!

Yes.
Module error is beacauze zip disabled in php

@jajarom, so after adding the zip extension, it is OK?

Thanks!

The problem with module, yes.
The image uploading problem not fixed yet

@jajarom, It is OK in my side
https://drive.google.com/file/d/1taTa1FYpyRVdXHVA9EDJnc4j4P6QtDA_/view
Could you please follow this link: https://github.com/PrestaShop/php-ps-info
phppsinfo file provides an equivalent to the phpinfo() function that reports PrestaShop Requirements information about the PHP/MySQL/Apache environment and offers suggestions for improvement.

  1. Upload the file to the server. You should upload your file to the exact directory you want to test. Typically, this will be your httpdocs (/var/www/vhosts/example.com/httpdocs/) directory, although you can upload it to any subdirectory on your server as well. Use FTP to upload the file.
  2. Visit the page in your browser. If you uploaded it to your html directory, you should now visit http://www.example.com/phppsinfo.php, replacing example.com with your own domain name.
  3. Now you can view all of the information about PHP for your server for that particular directory.
    image

Thanks to check and feedback.

Screenshot_2019-10-17 PHP PrestaShop Info

Must enable fileinfo to fix this

Hi @jajarom,

Yes, in your case, you need to enable allow_url_fopen, it is required and you need to install Fileinfo extension.

I close the issue, feel free to open a new one when needed.

Thanks!

Hello Guys.

Need some help to solve this problem please:

It happens when selecting native payment (wire transfer)

screenshot-kitseller pt-2020 03 (2)

Hi @kitseller,

This issue is fixed in the PrestaShop version 1.7.4.0.
Here's the PR: https://github.com/PrestaShop/PrestaShop/pull/9080 to fix the issue.
Also, you need to check that the php-intlextension is installed on your server.
If you are using the ps_emailalerts module, In the "MERCHANT NOTIFICATIONS" part, if we have an E-mail address with Special chars for example "demé[email protected]", when I create an order FO & I finish it, I have this error message as reported here: https://github.com/PrestaShop/PrestaShop/issues/9638

Thanks!

php-intl extension installed and solved my problem.

Thanks a lot!!

De: khouloudbelguith [mailto:[email protected]]
Enviada: 31 de março de 2020 09:27
Para: PrestaShop/PrestaShop
Cc: kitseller; Mention
Assunto: Re: [PrestaShop/PrestaShop] Prestashop 1.7.6.1 with PHP 7.1 and 7.2 gives blank page order confirmation (#15990)

Hi @kitseller https://github.com/kitseller ,

This issue is fixed in the PrestaShop version 1.7.4.0.
Here's the PR: #9080 https://github.com/PrestaShop/PrestaShop/pull/9080 to fix the issue.
Also, you need to check that the php-intl extension is installed on your server.
If you are using the ps_emailalerts module, In the "MERCHANT NOTIFICATIONS" part, if we have an E-mail address with Special chars for example "demé[email protected]", when I create an order FO & I finish it, I have this error message as reported here: #9638 https://github.com/PrestaShop/PrestaShop/issues/9638

Thanks!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PrestaShop/PrestaShop/issues/15990#issuecomment-606477605 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO76N7XJUESPZJ4RCFPFX5TRKGSO3ANCNFSM4JBP24DA . https://github.com/notifications/beacon/AO76N7UW4JNJ3PZPPSB3EQ3RKGSO3A5CNFSM4JBP24DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEQTB2JI.gif

Was this page helpful?
0 / 5 - 0 ratings