This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

slicer

  • ****
  • 204 posts
Limit creating sub values
« on: February 13, 2018, 02:28:54 AM »
Before anything else, thanks a lot for that great plugin we really missed, it's pretty well done man I'm so happy.

Hey after creating a moderate number of values for vehicle makes something stopped working,  Ex: each time you drag a value to a sub-value it says: success it's all right

but after adding a lot of make and models it somehow stopped working, so I can't drag  a value to sub-value it says: error as you can see in the picture.



if you update attribute it remains as main value, not a child



*

ferry

  • ****
  • 155 posts
Re: Limit creating sub values
« Reply #1 on: February 13, 2018, 02:57:34 AM »
Maybe you need to have a higher value for max_input_vars/ Change this to 5000 or so

*

MB Themes

Re: Limit creating sub values
« Reply #2 on: February 13, 2018, 12:04:09 PM »
@slicer
How many is there?
In case of error, it should report error into console. Can you see it?
What is maximum nesting level?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #3 on: February 13, 2018, 02:52:08 PM »
Maybe you need to have a higher value for max_input_vars/ Change this to 5000 or so

I tried 10,000 and got the results =(


@frosticeck:

I don't know exactly but there should be around 18 makes and sub models,  probably 300 values or more in totals.

on error reports here are some screens hope it helps







máximun nesting levels:

;max_input_nesting_level = 64

« Last Edit: February 13, 2018, 03:03:15 PM by slicer »

*

MB Themes

Re: Limit creating sub values
« Reply #4 on: February 13, 2018, 02:54:14 PM »
@slicer
Image not readable... again same question, can you reproduce on demo site? It helps with debug.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #5 on: February 13, 2018, 07:07:13 PM »
I'm not able to reproduce on demo site due to permissions.

fixed the images on post.

gotta try recreating the issue in a plain server from scratch and send you the links.


*

MB Themes

Re: Limit creating sub values
« Reply #6 on: February 14, 2018, 01:08:14 PM »
@slicer
Ok, attach ftp login as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #7 on: February 14, 2018, 07:13:47 PM »
@frosticek
Ok my ftp login is a little bit complicated since I'm using a EC2 server, if needed I can PM you the private key so you can use SFTP or SCP connection.

*

MB Themes

Re: Limit creating sub values
« Reply #8 on: February 14, 2018, 08:12:51 PM »
@slicer
I am bit amateur in security things :D
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #9 on: February 14, 2018, 09:54:02 PM »
I wish we could find out what's going on, and why I can't use more sub values, I will try to reproduce and send you the link asap.

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #10 on: February 14, 2018, 10:46:31 PM »
Totally reproduced the issue you can login with credentials I sent you in PM and see for your self.

try draggin a value to => sub value and the error message shows up.

It looks like theres a limit on how many you can create, but it's certain theres something related the amount because you delete some values and it start working again, and once you reach that limit the it says error and the console beging showing up error 414.

^_^  8)

Marked as best answer by frosticek on February 15, 2018, 09:45:06 AM
*

MB Themes

Re: Limit creating sub values
« Reply #11 on: February 15, 2018, 09:44:50 AM »
@slicer
This is problem:
Failed to load resource: the server responded with a status of 414 (Request-URI Too Long)


Link is getting too long:
Code: [Select]
http://184.73.14.220/oc-admin/index.php?page=ajax&action=runhook&hook=atr_val_position&list={"0":{"parent_id":null},"1":{"id":"18","parent_id":null},"2":{"id":"23","parent_id":"18"},"3":{"id":"26","parent_id":"23"},"4":{"id":"27","parent_id":"23"},"5":{"id":"24","parent_id":"18"},"6":{"id":"28","parent_id":"24"},"7":{"id":"25","parent_id":"18"},"8":{"id":"19","parent_id":null},"9":{"id":"29","parent_id":"19"},"10":{"id":"33","parent_id":"29"},"11":{"id":"32","parent_id":"29"},"12":{"id":"30","parent_id":"19"},"13":{"id":"34","parent_id":"30"},"14":{"id":"36","parent_id":"30"},"15":{"id":"31","parent_id":"19"},"16":{"id":"35","parent_id":"31"},"17":{"id":"20","parent_id":null},"18":{"id":"37","parent_id":"20"},"19":{"id":"38","parent_id":"20"},"20":{"id":"39","parent_id":"20"},"21":{"id":"21","parent_id":null},"22":{"id":"41","parent_id":"21"},"23":{"id":"44","parent_id":"41"},"24":{"id":"42","parent_id":"21"},"25":{"id":"45","parent_id":"42"},"26":{"id":"43","parent_id":"21"},"27":{"id":"22","parent_id":null},"28":{"id":"46","parent_id":"22"},"29":{"id":"47","parent_id":"22"},"30":{"id":"48","parent_id":"22"},"31":{"id":"63","parent_id":null},"32":{"id":"64","parent_id":"63"},"33":{"id":"65","parent_id":"63"},"34":{"id":"66","parent_id":"63"},"35":{"id":"67","parent_id":"63"},"36":{"id":"68","parent_id":"63"},"37":{"id":"69","parent_id":"63"},"38":{"id":"70","parent_id":"63"},"39":{"id":"71","parent_id":"63"},"40":{"id":"72","parent_id":"63"},"41":{"id":"73","parent_id":"63"},"42":{"id":"74","parent_id":"63"},"43":{"id":"75","parent_id":"63"},"44":{"id":"76","parent_id":"63"},"45":{"id":"77","parent_id":"63"},"46":{"id":"78","parent_id":"63"},"47":{"id":"79","parent_id":"63"},"48":{"id":"80","parent_id":"63"},"49":{"id":"81","parent_id":"63"},"50":{"id":"82","parent_id":"63"},"51":{"id":"83","parent_id":null},"52":{"id":"84","parent_id":"83"},"53":{"id":"85","parent_id":"83"},"54":{"id":"86","parent_id":"83"},"55":{"id":"87","parent_id":"83"},"56":{"id":"88","parent_id":"83"},"57":{"id":"89","parent_id":"83"},"58":{"id":"90","parent_id":"83"},"59":{"id":"91","parent_id":"83"},"60":{"id":"92","parent_id":"83"},"61":{"id":"93","parent_id":"83"},"62":{"id":"94","parent_id":"83"},"63":{"id":"95","parent_id":"83"},"64":{"id":"96","parent_id":"83"},"65":{"id":"97","parent_id":"83"},"66":{"id":"98","parent_id":"83"},"67":{"id":"99","parent_id":null},"68":{"id":"100","parent_id":"99"},"69":{"id":"101","parent_id":"99"},"70":{"id":"102","parent_id":"99"},"71":{"id":"103","parent_id":"99"},"72":{"id":"104","parent_id":"99"},"73":{"id":"105","parent_id":null},"74":{"id":"106","parent_id":"105"},"75":{"id":"107","parent_id":"105"},"76":{"id":"108","parent_id":"105"},"77":{"id":"109","parent_id":"105"},"78":{"id":"110","parent_id":"105"},"79":{"id":"111","parent_id":"105"},"80":{"id":"112","parent_id":"105"},"81":{"id":"113","parent_id":"105"},"82":{"id":"114","parent_id":"105"},"83":{"id":"115","parent_id":"105"},"84":{"id":"116","parent_id":null},"85":{"id":"117","parent_id":"116"},"86":{"id":"118","parent_id":"116"},"87":{"id":"119","parent_id":"116"},"88":{"id":"120","parent_id":"116"},"89":{"id":"121","parent_id":"116"},"90":{"id":"122","parent_id":"116"},"91":{"id":"123","parent_id":"116"},"92":{"id":"124","parent_id":"116"},"93":{"id":"125","parent_id":"116"},"94":{"id":"126","parent_id":"116"},"95":{"id":"127","parent_id":"116"},"96":{"id":"128","parent_id":"116"},"97":{"id":"129","parent_id":"116"},"98":{"id":"130","parent_id":"116"},"99":{"id":"131","parent_id":"116"},"100":{"id":"132","parent_id":"116"},"101":{"id":"133","parent_id":"116"},"102":{"id":"134","parent_id":"116"},"103":{"id":"135","parent_id":"116"},"104":{"id":"136","parent_id":"116"},"105":{"id":"137","parent_id":"116"},"106":{"id":"138","parent_id":"116"},"107":{"id":"139","parent_id":"116"},"108":{"id":"140","parent_id":"116"},"109":{"id":"141","parent_id":"116"},"110":{"id":"142","parent_id":"116"},"111":{"id":"143","parent_id":"116"},"112":{"id":"144","parent_id":"116"},"113":{"id":"145","parent_id":"116"},"114":{"id":"146","parent_id":null},"115":{"id":"147","parent_id":"146"},"116":{"id":"175","parent_id":null},"117":{"id":"176","parent_id":"175"},"118":{"id":"177","parent_id":null},"119":{"id":"178","parent_id":null},"120":{"id":"179","parent_id":null},"121":{"id":"180","parent_id":null},"122":{"id":"181","parent_id":null},"123":{"id":"182","parent_id":"181"}}
I've updated plugin to use "c" instead of "id" and "p" instead of "parent_id" so it shorten link as well as using POST instead of GET (I found just get having limitation).

Updated on your site, check please.
I've check minifier as well, there is 1 javascript error, needs to find out why...

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Limit creating sub values
« Reply #12 on: February 15, 2018, 02:32:51 PM »
Do I need to fully reinstall or just replace some files? save me :P I don't wanna create all those makes again lolol

*

MB Themes

Re: Limit creating sub values
« Reply #13 on: February 15, 2018, 04:02:57 PM »
@slicer
It's applied on your installation already.
Just files replacement is required.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots