×

Warning

You do not have a menu item pointing to the list all Akeeba Ticket System categories for the English (United Kingdom) language. Ticket links may be broken until you add such a menu item.

We've moved to a different support system.

The ticket system here is in read only mode and will be turned off in the next couple of days.

#4010 – Issue with event file upload

Posted in ‘Matukio Events’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 04 November 2016 14:28 UTC
RTAOTAN
 Hello everyone, I'm having an issue with the files that I attach to an event.
My php.ini says max_upload_filesize=10M. I pushed my Matukio settings to 10000 to be in sync with php.ini.

I have created an event and I attached a PDF, size 53 Kb. No problem uploading it. When I try and attach a second pdf file, if it exceeds about 550K, then the application hangs and I get a blank page and upload fails.
If I empty the event files then I try and upload a 3.5 Mb pdf, it fails again.
Has anyone encountered this issue? Is there a setting somewhere that I should have modified?
Many thanks in advance for your help.
Kind regards
Custom Fields
Have I searched the tickets before posting?
Yes
Have I searched the forum before posting?
Yes
Have I read the documentation before posting (which pages?)?
N/A
Joomla! version
3.6.4
PHP version
5.4.45
MySQL version
5.1.73 community
Direct link to the page that shows the issue
not in production environment
Matukio version
6.0.13
 
Saturday, 05 November 2016 18:34 UTC
Yves
Hello,

hmm is you php max post size also high enough?

We currently save the files as binary data in the database. Make sure this is possible without limits too.

Best,
Yves
If you like our extensions please leave a review in the Joomla extensions directory!

http://extensions.joomla.org/extensions/extension/calendars-a-events/events/matukio-events

Skype: yves.hoppe
Monday, 07 November 2016 13:36 UTC
RTAOTAN
Yves, I forgot to say that I'm running this on a MS IIS server.
 
Tuesday, 15 November 2016 17:15 UTC
Yves
Hmm that should normally not make a difference.. Weird, tested it now on 2 server and hadn't had this issue.

Is it completely self-hosted?

Yves
If you like our extensions please leave a review in the Joomla extensions directory!

http://extensions.joomla.org/extensions/extension/calendars-a-events/events/matukio-events

Skype: yves.hoppe
Friday, 18 November 2016 10:00 UTC
RTAOTAN
Hi Yves, yes it's completely self-hosted. I've pushed the value to 60M in php.ini then I ran a iisreset reset and I was able to upload 15MB in a nanosecond.
So I grabbed a 36MB zip and I got this response from IIS that it exceeds the max content length defined in the IIS configuration. So I modified this then did iisreset again and I got my blank window when I tried and upload my big zip. So I let that run and eventually I got a script timeout from IIS.
 
Monday, 21 November 2016 13:19 UTC
Yves
Hmm weird, not sure on IIS.. :( Going to do some tests, maybe i find something.

The current file system is a left over from Seminar, the product Matukio was based of 5 years ago.. So it's generally a bit of a mess and will be completely rewritten with Matukio 6.1 and 7.

Yves[*]
If you like our extensions please leave a review in the Joomla extensions directory!

http://extensions.joomla.org/extensions/extension/calendars-a-events/events/matukio-events

Skype: yves.hoppe
Friday, 16 December 2016 09:13 UTC
RTAOTAN
Hello Yves and Daniel, only me!
I'm still annoyed with this issue. I've told Joomla to be a little more explicit and here's what I get when I try and upload a file over 750KB":

Strict Standards: Only variables should be passed by reference in wwwroot\administrator\components\com_matukio\helpers\events.php on line 3274

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 6811737 bytes) in wwwroot\libraries\joomla\database\driver.php on line 2047




I also get a lot of these errors in the event log of the W2012 server:
The description for Event ID 4 from source PHP-5.6.24 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

php[3112]
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.6\ext\php_wincache.dll' - The specified module could not be found.
("C:\Program Files (x86)\PHP\v5.6\php-cgi.exe")
 
Sunday, 18 December 2016 10:54 UTC
Yves
That's a php memory limit issue. Please increase the memory available to PHP:

memory_limit = 512M ;

Best,
Yves
If you like our extensions please leave a review in the Joomla extensions directory!

http://extensions.joomla.org/extensions/extension/calendars-a-events/events/matukio-events

Skype: yves.hoppe
Monday, 19 December 2016 10:03 UTC
RTAOTAN
Hi Yves
I had done that. I'd increased it to 2048M and it still returned with this error.
I've just put it back to what you recommended, 512M, and it still returns with this error.
 
Monday, 19 December 2016 16:27 UTC
RTAOTAN
Hi Yves, we've modified the mysql config file and now we can attach up to about 45MB per file per event.
please review the values below and tell me if we can improve things. Thanks.

Added:
[mysqld]
key_buffer_size = 384M
table_open_cache = 4000
max_allowed_packet = 64M

updated:
[mysqld]
# By default 3M
innodb_additional_mem_pool_size=512M
# By Default 107M (Eric)
innodb_buffer_pool_size=5G
 
Tuesday, 27 December 2016 12:18 UTC
Yves
Hmm, is it working now?

Best,
Yves
If you like our extensions please leave a review in the Joomla extensions directory!

http://extensions.joomla.org/extensions/extension/calendars-a-events/events/matukio-events

Skype: yves.hoppe
Friday, 27 January 2017 07:00 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.