{"action":"created","issue":{"url":"https://api.github.com/repos/lrsjng/h5ai/issues/535","repository_url":"https://api.github.com/repos/lrsjng/h5ai","labels_url":"https://api.github.com/repos/lrsjng/h5ai/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/lrsjng/h5ai/issues/535/comments","events_url":"https://api.github.com/repos/lrsjng/h5ai/issues/535/events","html_url":"https://github.com/lrsjng/h5ai/issues/535","id":155887694,"number":535,"title":"\"Input variables exceeded 1000\"","user":{"login":"mozai","id":2396738,"avatar_url":"https://avatars.githubusercontent.com/u/2396738?v=3","gravatar_id":"","url":"https://api.github.com/users/mozai","html_url":"https://github.com/mozai","followers_url":"https://api.github.com/users/mozai/followers","following_url":"https://api.github.com/users/mozai/following{/other_user}","gists_url":"https://api.github.com/users/mozai/gists{/gist_id}","starred_url":"https://api.github.com/users/mozai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozai/subscriptions","organizations_url":"https://api.github.com/users/mozai/orgs","repos_url":"https://api.github.com/users/mozai/repos","events_url":"https://api.github.com/users/mozai/events{/privacy}","received_events_url":"https://api.github.com/users/mozai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lrsjng/h5ai/labels/Bug","name":"Bug","color":"F44336"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-20T05:04:53Z","updated_at":"2016-08-11T18:05:12Z","closed_at":"2016-08-11T18:05:12Z","body":"I have a directory of 300 images.  not all the thumbnails are generated; some appear, but then I see these error messages:\r\n\r\nPHP Warning:  Unknown: Input variables exceeded 2047. To increase the limit change max_input_vars in php.ini. in Unknown on line 0\r\nPHP Notice:  Undefined index: width in .../private/php/core/class-context.php on line 259\r\nPHP Notice:  Undefined index: height in .../private/php/core/class-context.php on line 259\r\nPHP Warning:  Division by zero in .../private/php/ext/class-thumb.php on line 211\r\nPHP Warning:  imagecreatetruecolor(): Invalid image dimensions in .../private/php/ext/class-thumb.php on line 229\r\nPHP Warning:  imagecolorallocate() expects parameter 1 to be resource, boolean given in .../private/php/ext/class-thumb.php on line 230\r\nPHP Warning:  imagefill() expects parameter 1 to be resource, boolean given in .../private/php/ext/class-thumb.php on line 231\r\nPHP Warning:  imagecopyresampled() expects parameter 1 to be resource, boolean given in .../private/php/ext/class-thumb.php on line 232\r\n\r\nI tried upping the max_input_vars in php.ini, and that gets me more thumbnails, but even at 2048 max_input_vars it's not enough for all three hundred images in the directory.  Yikes."},"comment":{"url":"https://api.github.com/repos/lrsjng/h5ai/issues/comments/239241792","html_url":"https://github.com/lrsjng/h5ai/issues/535#issuecomment-239241792","issue_url":"https://api.github.com/repos/lrsjng/h5ai/issues/535","id":239241792,"user":{"login":"lrsjng","id":181815,"avatar_url":"https://avatars.githubusercontent.com/u/181815?v=3","gravatar_id":"","url":"https://api.github.com/users/lrsjng","html_url":"https://github.com/lrsjng","followers_url":"https://api.github.com/users/lrsjng/followers","following_url":"https://api.github.com/users/lrsjng/following{/other_user}","gists_url":"https://api.github.com/users/lrsjng/gists{/gist_id}","starred_url":"https://api.github.com/users/lrsjng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrsjng/subscriptions","organizations_url":"https://api.github.com/users/lrsjng/orgs","repos_url":"https://api.github.com/users/lrsjng/repos","events_url":"https://api.github.com/users/lrsjng/events{/privacy}","received_events_url":"https://api.github.com/users/lrsjng/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T18:05:11Z","updated_at":"2016-08-11T18:05:11Z","body":"this should be fixed in the latest [dev builds](https://release.larsjung.de/h5ai/develop/). Actually it should be fixed in two ways:\r\n\r\n1. API request are now single var json request (most of the time)\r\n2. there is an additional `chunksize` option for thumbnails now, that breaks down the request into smaller requests (defaults to `20`)\r\n"}}
{"actor":{"display_login":"lrsjng"}}