Hi,
was getting error below with Front-end editing whenever I edit item. So I switched to latest router as recommended here. www.joomlaworks.net/forum/k2-de/53846-fehlermeldungen-in-router-php-line-292
While uploading 5.8Mb image on Front-end I got following errors.
So I switch from PHP 7.4 to 7.3. Now only error :
The error was only with big files. No issue with a 350kb jpg. I found out that a plugin was causing the issue : "content jdownloads".
1. Any chance I can uploads working with this plugin ? Change ordering ?
2. A 5.4Mb file will typically take nearly 3 minutes to upload. It might takes longer for slow connections. That said, can you recommend PHP settiongs for my case ?
Actually it is :
was getting error below with Front-end editing whenever I edit item. So I switched to latest router as recommended here. www.joomlaworks.net/forum/k2-de/53846-fehlermeldungen-in-router-php-line-292
[b]Notice[/b]: Trying to get property 'alias' of non-object in [b]/home/.../components/com_k2/router.php[/b] on line [b]292[/b]While uploading 5.8Mb image on Front-end I got following errors.
[b]Deprecated[/b]: Array and string offset access syntax with curly braces is deprecated in [b].../media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php[/b] on line [b]2726[/b]
[b]Notice[/b]: Trying to access array offset on value of type int in [b].
../media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php[/b] on line [b]2726[/b]
[b]Notice[/b]: Trying to access array offset on value of type int in
...[b]/media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php[/b] on line [b]2726[/b]
[b]Fatal error[/b]: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in [b].../media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php[/b] on line [b]2797[/b]So I switch from PHP 7.4 to 7.3. Now only error :
[b]Fatal error[/b]: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in [b].../media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php[/b] on line [b]2797[/b]The error was only with big files. No issue with a 350kb jpg. I found out that a plugin was causing the issue : "content jdownloads".
1. Any chance I can uploads working with this plugin ? Change ordering ?
2. A 5.4Mb file will typically take nearly 3 minutes to upload. It might takes longer for slow connections. That said, can you recommend PHP settiongs for my case ?
Actually it is :
allow_url_fopen = Off
display_errors = On
enable_dl = Off
file_uploads = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 128M
post_max_size = 7M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php74"
upload_max_filesize = 6M
zlib.output_compression = Off