Prestashop: Maintenance Mode

Created on 29 Apr 2020  路  5Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

When there is a space between the IP Adresse Maintenance Mode will not work

Expected behavior

Escape spaces after and before , (comma)

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'Settings' > 'Main' > 'Maintenance'
  2. Click on ''> insert new IP with empty spacer
  3. Scroll down to 'Save'
  4. See error -> No error -> Test Frontend if visible

Screenshots

  • PrestaShop version: 1.7.6.4
  • PHP version: 7.3
1.7.6.4 1.7.6.5 BO Bug Fixed Maintenance Minor Shop parameters

Most helpful comment

Hi @operator2010,

PrestaShop is not compatible with PHP 7.3, in fact, PrestaShop 1.7.0 to 1.7.3 is compatible with PHP 7.1 and PrestaShop 1.7.4 & 1.7.5 & PS1.7.6 are compatible with PHP 7.2.
For more details, you can follow this link: http://build.prestashop.com/news/prestashop-1-7-is-moving-to-symfony-3-4-and-php-5-6/
Next Major release PS1.7.7 will be compatible with PHP7.3.
You need to downgrade your PHP version.

But in any case I managed to reproduce your issue.

@PrestaShop/prestashop-product-team @khouloudbelguith What do you think about allowing spaces in Maintenances IP ?

All 5 comments

Thanks for opening this issue! We will help you to keep its state consistent

Hi @operator2010,

PrestaShop is not compatible with PHP 7.3, in fact, PrestaShop 1.7.0 to 1.7.3 is compatible with PHP 7.1 and PrestaShop 1.7.4 & 1.7.5 & PS1.7.6 are compatible with PHP 7.2.
For more details, you can follow this link: http://build.prestashop.com/news/prestashop-1-7-is-moving-to-symfony-3-4-and-php-5-6/
Next Major release PS1.7.7 will be compatible with PHP7.3.
You need to downgrade your PHP version.

But in any case I managed to reproduce your issue.

@PrestaShop/prestashop-product-team @khouloudbelguith What do you think about allowing spaces in Maintenances IP ?

Hi @operator2010 ,

You must downgrade your PHP version into 7.2.
Please check: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/

Thanks :)

Hi @operator2010 ,

You must downgrade your PHP version into 7.2.
Please check: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/

Thanks :)

@prestascott Even with a compatible version of PHP, you can reproduce this issue !
What do you think about allowing spaces in Maintenances IP ?

Hello @operator2010 & @PululuK,

I managed to reproduce the issues.
Here are the screenshots with the space:
image
image

Here are the screenshots without the space:
image
image

Was this page helpful?
0 / 5 - 0 ratings