@RigPa Use the developer tools in your browser to see the actual response from phplist.
Also check the event log page in phplist for any error being reported.
@RigPa I meant the page where you have added the ajax form.
Does the subscribe page meet the requirements shown in “Add an AJAX subscribe box on your website” Creating a subscribe page | phpList manual and your page includes the correct html and javascript?
phplist returns a 500 code when the subscribe attempt was unsuccessful for almost any reason.
Its been working for a while, but recently I had to move to another host and it stopped working.
Signup: https://lytica.dk/mail.html
phplist location: www.lytica.dk/lists/
Tried to install at the exact same location as before but it said: The pageroot in your config does not match the current location"". Check your config file. Which I did and there was no pageroot. Got this error over and over on fresh installations according to the manual. Gave up.
Not installing in a subdir made phplist run but the signup fails.
There is something wrong but I can’t find it. Read the documentation 20 times and spent 6 hours trying different things. Signup fails. No errors and nothing in the log. Checked the settings 20 times and it seems to be ok.
The manual says: * For consistency, the ID in brackets in the list[11] input should be that of your Subscribers list, the one that the Subscriber page is configured for (see Config/Subscribe Pages)
But the ID is listed nowhere on the referred pages. Only the Subscribe Pages are. So I took the number from the database.
The subscribe page is set to:
Don’t offer choice, default to html
Don’t display email address confirmation field