Import CSV file of new contacts fails.

If you aren't speaking german, you can ask for support or post your request here.
Antworten
LMTAdm
Beiträge: 2
Registriert: 24. Apr 2024, 17:17

Import CSV file of new contacts fails.

Beitrag von LMTAdm »

New installation, new user. I am trying to import a CSV file of contacts and I receive this error: This page isn’t working. Website is currently unable to handle this request.
HTTP ERROR 500

I've found posts regarding earlier versions of Admidio but no recent posts. I've inserted a 0 in the ID column. Verified UTF-8. I have exported a Google Sheets file as CSV and also made modifications in Excel and exported as CSV. I would appreciate any advice. File permissions on server are 775.
Server_Info.jpg
Server_Info.jpg (38.69 KiB) 108 mal betrachtet
LMTAdm
Beiträge: 2
Registriert: 24. Apr 2024, 17:17

Re: Import CSV file of new contacts fails.

Beitrag von LMTAdm »

Self resolution:
The error indicates this is a server side error.
I activated PHP error logging by adding the following lines to the /home/webpage/www/www/php.ini file:

error_reporting = E_ALL | E_STRICT
log_errors = On
display_errors = Off
error_log = /home/webpage/private/php-errors.log


This configured the server to save an error log in the /home/webpage/private/php-errors.log file. The following error was recorded in the file after a failed import:...
Specifically some of my phone numbers had "." which are not allowed.
Benutzeravatar
fasse
Administrator
Beiträge: 6058
Registriert: 12. Nov 2005, 16:06

Re: Import CSV file of new contacts fails.

Beitrag von fasse »

Hi, thanks for this analysis. I will try to handle this error better in future versions so that you get a response and not a blank page.
Antworten