If I enter an incorrect path I get a 404 response. The admin page works fine.
I put a new Ubuntu server installation on a laptop locally and installed phpList on it, with the same result, so I assume I must be doing something wrong. I have been through the forum, checked that .htaccess is working and looks correct. My bash history got cleared so I have trouble remembering exactly what else I tried.
I’m unsure how to debug from here, any suggestions would be welcome!
It’s getting somewhere! There were some errors in var/log/apache2/error.log caused by permissions on the lists/base/var/cache and lists/base/var/logs folders. I also had to declare $databse_port and $table_prefix in lists/config.php.
Now it returns a 500 server error, but nothing gets logged to /var/log/apache2/error.log. I’ll keep investigating.
There are instructions I didn’t notice for enabling api logging here, but I don’t see any log files being generated in the phplist directory and there’s still nothing in system or apache logs. I also added error_reporting(-1); to api.ini as you suggested. Maybe the errors are logged somewhere I didn’t check, do you know where that might be?
I’m willing to use the plugin, but the built in API is enough for me, I just need it to add subscribers.
Could the php version be at fault? I’m using 7.4.33.