Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: Healing Beyond Medicine on 13 April 2023, 17:33:33

Title: Export / Import gives HTTP ERROR 500
Post by: Healing Beyond Medicine on 13 April 2023, 17:33:33
Hi Alexandria,

I using com_abook 3.1.5 and encounter this HTTP ERROR 500 when selecting Import/Export in the main menu of the ABook component.
It tries to open up the URL ending with /index.php?option=com_abook&view=importexport
and comes back with 'page is missing' error

Is this a known error and do you know a solution ?

Looking forward to hear from you !!!
Kind regards
~Philip

Title: Re: Export / Import gives HTTP ERROR 500
Post by: federica on 14 April 2023, 18:04:46
Hi Philip,
Abook 3.1.5 are no longer maintained but perhaps you can fix the error yourself.

Open file administrator/components/com_abook/models/importexport.php
go to this line (line 163)
if ($qry != '' && $qry{0} != '#'){
modify braces to bracket:
if ($qry != '' && $qry[0] != '#'){
Title: Re: Export / Import gives HTTP ERROR 500
Post by: Healing Beyond Medicine on 17 April 2023, 15:23:50
Hi Federica,

I can access the import-/export functionality now, but encounter the next problems now.
I'll first upgrade to J4 and see if I can work from here.

Many thnx !!!
Warm regards
~ Philip