I have 266 filters in 1 group in opencart. Then I am trying to add the 267th and I get this error:
Notice: Undefined index: filter_description in /home/eshop/public_html/admin/controller/catalog/filter.php on
line 386
Warning: Invalid argument supplied for foreach() in
/home/eshop/public_html/admin/controller/catalog/filter.php on
line 386
Notice: Undefined index: sort_order in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 48
Notice: Undefined index: filter_description in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 53
Warning: Invalid argument supplied for foreach() in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 53
Warning: Cannot modify header information - headers already
sent by (output started at
/home/eshop/public_html/admin/index.php:85) in
/home/eshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php
on line 28
Warning: Cannot modify header information - headers already
sent by (output started at
/home/eshop/public_html/admin/index.php:85) in
/home/eshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php
on line 29
Is there a limit in the number of filters in a group? My Oc version is 1.5.6.4
Notice: Undefined index: filter_description in /home/eshop/public_html/admin/controller/catalog/filter.php on
line 386
Warning: Invalid argument supplied for foreach() in
/home/eshop/public_html/admin/controller/catalog/filter.php on
line 386
Notice: Undefined index: sort_order in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 48
Notice: Undefined index: filter_description in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 53
Warning: Invalid argument supplied for foreach() in
/home/eshop/public_html/vqmod/vqcache/vq2-admin_model_catalog_filter.php
on line 53
Warning: Cannot modify header information - headers already
sent by (output started at
/home/eshop/public_html/admin/index.php:85) in
/home/eshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php
on line 28
Warning: Cannot modify header information - headers already
sent by (output started at
/home/eshop/public_html/admin/index.php:85) in
/home/eshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php
on line 29
Is there a limit in the number of filters in a group? My Oc version is 1.5.6.4
There is no such limit in the OpenCart.
Maybe there is a limit on the maximum size of post requests on your hosting.
Try adding the following into the php.ini in your site root:
Maybe there is a limit on the maximum size of post requests on your hosting.
Try adding the following into the php.ini in your site root:
Code: Select all
post_max_size 100M
thanks for your reply... no positive results.
this is what i get still:
if i go to filters, and try adding a filter, i can insert one, but it deletes the last one ever inserted.
i'm stuck...can't figure this thing out...
any help would be very much appreciated.
thanks.
later edit:
i have removed 3 filter entries, saved, and tried adding one by one.
so: i added: "test 2", saved ok
added "test 3", saved ok.
but when adding "test 4" filter, it returned the error posted earlier.
i counted all the filters and i have 249 successfully inserted filters in in filter category.
when trying to add the 250th, it returns that error.
any ideas? thank you.
later edit2:
i have found that max tables is set to 250. and cannot increase to 500.
now i'm working on that

http://tinypic.com/r/9zlev9/8
later edit 3:
well, the value will be increased to 500 by the host admin, and everything should work out great. i hope this feedback will help someone sometimes.
so, if you cannot add more filters in a filter category, check in sql config:
have a nice day
this is what i get still:
Code: Select all
Notice: Undefined index: filter_description in /home/dezmembraripeuge/public_html/admin/controller/catalog/filter.php on line 386Warning: Invalid argument supplied for foreach() in /home/dezmembraripeuge/public_html/admin/controller/catalog/filter.php on line 386Notice: Undefined index: sort_order in /home/dezmembraripeuge/public_html/admin/model/catalog/filter.php on line 40Notice: Undefined index: filter_description in /home/dezmembraripeuge/public_html/admin/model/catalog/filter.php on line 47Warning: Invalid argument supplied for foreach() in /home/dezmembraripeuge/public_html/admin/model/catalog/filter.php on line 47Warning: Cannot modify header information - headers already sent by (output started at /home/dezmembraripeuge/public_html/admin/index.php:85) in /home/dezmembraripeuge/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 44Warning: Cannot modify header information - headers already sent by (output started at /home/dezmembraripeuge/public_html/admin/index.php:85) in /home/dezmembraripeuge/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 45
i'm stuck...can't figure this thing out...
any help would be very much appreciated.
thanks.
later edit:
i have removed 3 filter entries, saved, and tried adding one by one.
so: i added: "test 2", saved ok
added "test 3", saved ok.
but when adding "test 4" filter, it returned the error posted earlier.
i counted all the filters and i have 249 successfully inserted filters in in filter category.
when trying to add the 250th, it returns that error.
any ideas? thank you.
later edit2:
i have found that max tables is set to 250. and cannot increase to 500.
now i'm working on that


http://tinypic.com/r/9zlev9/8
later edit 3:
well, the value will be increased to 500 by the host admin, and everything should work out great. i hope this feedback will help someone sometimes.
so, if you cannot add more filters in a filter category, check in sql config:
Code: Select all
$cfg['MaxTableList']
Type: integer
Default value: 250
What is your OC version? 1.5.x ?
Would you put the following code into a new file named info.php inside you admin folder, then open it in the browser:
http://your-domain.com/admin/info.php
and send me its output?
Would you put the following code into a new file named info.php inside you admin folder, then open it in the browser:
http://your-domain.com/admin/info.php
and send me its output?
Code: Select all
<?php
phpinfo();
Turned out that
was not enough.
The following line in admin/.htaccess fixed the issue
Code: Select all
max_input_vars = 1000
The following line in admin/.htaccess fixed the issue
Code: Select all
php_value max_input_vars 2000
Who is online
Users browsing this forum: No registered users and 3 guests