cancel
Showing results for 
Search instead for 
Did you mean: 

Help installing PHP7.2 patch and SUPEE10888 !

SOLVED

Help installing PHP7.2 patch and SUPEE10888 !

I'm running Magento CE 1.9.3.10. I tried to install the Supee10888 patch but I'm getting this error:

: not found-10888_CE_v1.9.3.9_v1-2018-09-19-02-59-25.sh: 7: PATCH_SUPEE-10888_CE_v1.9.3.9_v1-2018-09-19-02-59-25.sh: 

PATCH_SUPEE-10888_CE_v1.9.3.9_v1-2018-09-19-02-59-25.sh: 10: local: not in a function

 

Something wrong with the local missed="", tried to remove local in the script but then I get other errors.

 

I'm running the command "sh 

PATCH_SUPEE-10888_CE_v1.9.3.9_v1-2018-09-19-02-59-25.sh" and the file got execute rights etc.

 

The other patch for PHP7.2 (PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2) how are you supposed to execute that? I tried both sh and patch but nothing works..

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Help installing PHP7.2 patch and SUPEE10888 !

Hi @Urme ,

 

SUPEE10888 is already existed in 1.9.3.10.

Screenshot 2019-02-12 at 10.15.25 PM.png

Regarding php7.2 patch, Go to magento root and run command. Command is:

 

patch -p1 < PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2

 

Output should:

 

Screenshot 2019-02-12 at 10.35.33 PM.png

-----
If Issue Solved, Click Kudos and Accept As solutions.
Sohel Rana, 7x Magento 2, 2x Magento 1 Certified

View solution in original post

3 REPLIES 3

Re: Help installing PHP7.2 patch and SUPEE10888 !

Hi @Urme ,

 

SUPEE10888 is already existed in 1.9.3.10.

Screenshot 2019-02-12 at 10.15.25 PM.png

Regarding php7.2 patch, Go to magento root and run command. Command is:

 

patch -p1 < PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2

 

Output should:

 

Screenshot 2019-02-12 at 10.35.33 PM.png

-----
If Issue Solved, Click Kudos and Accept As solutions.
Sohel Rana, 7x Magento 2, 2x Magento 1 Certified

Re: Help installing PHP7.2 patch and SUPEE10888 !

Thank you! I managed to apply the patch for PHP7.2 support! Even though I had to fix line endings on all files with dos2unix.

 

Ah so the Supee10888 already exists in 1.9.3.10, I thought it didn't because when I was downloading it it says 1.9.3.8-1.9.3.10.

 

Thanks!

Re: Help installing PHP7.2 patch and SUPEE10888 !

Just to add one thing was that the "local: function"-problem I recieved was because FileZilla destroyed the file in some way when I uploaded it.