[SOLVED] HTTP ERROR 500 when exporting subentity's List of Records

Post Reply
wdph23
Posts: 9
Joined: 18 Aug 2023, 14:11
Name: Jonathan A
Location: Cavite, Philippines

[SOLVED] HTTP ERROR 500 when exporting subentity's List of Records

Post by wdph23 »

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
Attachments
http error.png
http error.png (11.62 KiB) Viewed 353 times
bug.png
Last edited by wdph23 on 08 Sep 2023, 12:57, edited 1 time in total.
User avatar
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

Post by support »

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.
Attachments
export_templates_xlsx.zip
(4.43 KiB) Downloaded 34 times
wdph23
Posts: 9
Joined: 18 Aug 2023, 14:11
Name: Jonathan A
Location: Cavite, Philippines

[SOLVED] Re: HTTP ERROR 500 when exporting subentity's List of Records

Post by wdph23 »

Hi,

I've replaced the .php file and created a new .xslx template. Now, it works great.

Thanks a lot :D
Post Reply