Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

[max_input_vars] Добавление галочек для атреутов


bestigor89
 Share

Recommended Posts

OcStore: Версия 1.5.5.1.2

в админ части внес изменения что бы появилась возможность выводить некоторые атрибуты дополнительно 

Выглядит это ик:

http://joxi.ru/Vm6bWQphvx5gmZ

все хорошо рилииет но иногда появляются ошибки вида

Notice: Undefined index: points in /var/www/rafenat/data/www/site.ru/admin/model/catalog/product.php on line 199Notice: Undefined index: attribute_id in /var/www/rafenat/data/www/site.ru/admin/model/catalog/product.php on line 238Warning: Cannot modify header information - headers already sent by (output started at /var/www/rafenat/data/www/site.ru/admin/index.php:86) in /var/www/rafenat/data/www/site.ru/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /var/www/rafenat/data/www/site.ru/admin/index.php:86) in /var/www/rafenat/data/www/site.ru/vqmod/vqcache/vq2-system_engine_controller.php on line 29

Поле длину описания атрибутов я увелилил до 1024

подскажите из-за чего икое может происходить

Link to comment
Share on other sites


Проблема скорей всего в когдачестве переменных передаваемых формой, их слишком много. Для решения необходимо в настройках php или панели управления хостингом указать:

max_input_vars = 5000

Если нужно посмотреть текуещёе значение, то всивьте этот код в admin/index.php:

<?php
  echo 'max_input_vars = ' . ini_get('max_input_vars');
?>
  • +1 2
Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.