Hello everybody,
I'm working with SEBLOD a few weeks now and when it seemed I have everything under control, I've met a problem. I created a content type which pretty much reflects standard Article. However I've added two very important Fields:
- intro image (field 'Upload - Image'). Image is stored in JSON / Article / images[image_intro]
- gallery (Field X based on another 'Upload - Image' field, which isn't included in the form itself). Images are stored in Custom / Article / introtext
Intro appears at the beginning of the article, Gallery under the article. The thing is - when I add / edit article in Admin Form and add images to gallery through Field X, it saves only 24 of them. So I guess there must be a 25 file upload limit somewhere (24 pictures in gallery + 1 intro image). While editing I can freely add many new Field X instances (by clicking that green "+" button), but only 24 are being saved. Whenever I try to add more and save, I got message that the article was successfully saved, but still - only 24 files. Even if I upload these 24 files, save all changes and THEN try to add new files - still no luck.
Here's my 'technical' info:
- Joomla 2.5.11
- SEBLOD 3.1.3
- FieldX 'maximum' = 100
- Debian Squeeze, PHP ver. 5.3.3.-7
- php.ini: max_input_vars = 5000, memory_limit = 512M, post_max_size = 200M, upload_max_filesize = 200M, max_file_uploads = 200
After 'successful' saving article with more than 24 images in gallery there is no entry in apache error.log.
Any idea where is this limitation, so I can remove it?
EDIT
Here's some more info, it looks like it may be SEBLOD's bug; I enabled all PHP notices and in error.log found this after trying to save more pics in gallery:
mod_fcgid: stderr: PHP Notice: Undefined offset: 24 in /plugins/cck_field/upload_image/upload_image.php on line 393
mod_fcgid: stderr: PHP Notice: Undefined offset: 24 in /plugins/cck_field/upload_image/upload_image.php on line 394
mod_fcgid: stderr: PHP Notice: Undefined offset: 24 in /plugins/cck_field/upload_image/upload_image.php on line 395
mod_fcgid: stderr: PHP Notice: Undefined offset: 24 in /plugins/cck_field/upload_image/upload_image.php on line 396
mod_fcgid: stderr: PHP Notice: Undefined offset: 24 in /plugins/cck_field/upload_image/upload_image.php on line 397
It was 26th photo in the form (1st was intro photo, then 1st photo in gallery has number 0, so 24th photo in gallery is in fact 26th). I tried a few times to add more photos and every time in the log there are these notices regarding 'Undefined offset' from 24 on (for example - if I tried to add 3 photos over that 25 - in error log there were these 5 lines 'Undefined offset:' repeated for 24, 25 and 26).
I hope this helps tracking the problem.