Using Templates to Export to export subentity's List of Related records would give an HTTP ERROR 500.
I was able to reproduce the bug on this demo link but I can't provide the PHP error logs since it doesn't show up.
https://pdemo.rukovoditel.pro/3.4/index ... mo_id=2506.
To reproduce the bug on the demo, go to With Selected > Export Dispatch
Rukovoditel 3.4.3 w/ Extension running PHP 8.1
[SOLVED] HTTP ERROR 500 when exporting subentity's List of Records
[SOLVED] HTTP ERROR 500 when exporting subentity's List of Records
Last edited by wdph23 on 08 Sep 2023, 12:57, edited 1 time in total.
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: HTTP ERROR 500 when exporting subentity's List of Records
1) The first issue was with option "Display as: In one line". I have fixed this (in demo too). File from archive replace to: plugins\ext\classes\templates\
2) The second issue with your xls template file. I have used fresh xls file to testing export as In line and as Table. See configuration https://pdemo.rukovoditel.pro/3.4/index ... mo_id=2506
and it works ok.
But app can't read your xls file. Try to create new one.
2) The second issue with your xls template file. I have used fresh xls file to testing export as In line and as Table. See configuration https://pdemo.rukovoditel.pro/3.4/index ... mo_id=2506
and it works ok.
But app can't read your xls file. Try to create new one.
- Attachments
-
- export_templates_xlsx.zip
- (4.43 KiB) Downloaded 34 times
[SOLVED] Re: HTTP ERROR 500 when exporting subentity's List of Records
Hi,
I've replaced the .php file and created a new .xslx template. Now, it works great.
Thanks a lot
I've replaced the .php file and created a new .xslx template. Now, it works great.
Thanks a lot