Hello, I think I have an apache or php configuration issue, because my autoloader file is not working, whereas if I use apache / php on virtualmin without any other modification, it works fine. Code: [Wed Sep 02 15:03:33.320481 2020] [proxy_fcgi:error] [pid 12715] [client 93.22.149.62:47574] AH01071: Got error 'PHP message: PHP Notice: Undefined index: in /var/www/clients/client1/web15/web/Controller/Controller.php on line 251\nPHP message: PHP Fatal error: Uncaught exception 'Doctrine\\Common\\Persistence\\Mapping\\MappingException' with message 'The class 'IBoutiq3\\Entity\\Utilisateur' was not found in the chain configured namespaces IBoutiq3/var/www/clients/client1/web15/web\\Entity' in /var/www/clients/client1/web15/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php:37\nStack trace:\n#0 /var/www/clients/client1/web15/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php(112): Doctrine\\Common\\Persistence\\Mapping\\MappingException::classNotFoundInNamespaces('IBoutiq3\\\\Entity...', Array)\n#1 /var/www/clients/client1/web15/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(151): Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriverChain->loadMetadataForClass('IBoutiq3\\\\Entity...', Object(Doctrine\\ORM\\Mapping\\ClassMetadata))\n#2 /var/www/clients/client1/web15/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractCl...\n' Info server :: Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 10 (buster) [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.15p3 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.3.19-1~deb10u1 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 7862) [INFO] I found the following mail server(s): Postfix (PID 12453) [INFO] I found the following pop3 server(s): Dovecot (PID 32454) [INFO] I found the following imap server(s): Dovecot (PID 32454) [INFO] I found the following ftp server(s): PureFTP (PID 30833) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:25 (12453/master) [localhost]:953 (30847/named) [anywhere]:993 (32454/dovecot) [anywhere]:995 (32454/dovecot) [localhost]:10023 (23665/postgrey) [localhost]:10024 (23346/amavisd-new) [localhost]:10025 (12453/master) [localhost]:10026 (23346/amavisd-new) [localhost]:3306 (30383/mysqld) [localhost]:10027 (12453/master) [anywhere]:587 (12453/master) [localhost]:11211 (22559/memcached) [anywhere]:110 (32454/dovecot) [anywhere]:143 (32454/dovecot) [anywhere]:465 (12453/master) ***.***.***.***:53 (30847/named) [localhost]:53 (30847/named) [anywhere]:21 (30833/pure-ftpd) [anywhere]:22 (475/sshd) *:*:*:*::*:25 (12453/master) *:*:*:*::*:953 (30847/named) *:*:*:*::*:443 (7862/apache2) *:*:*:*::*:993 (32454/dovecot) *:*:*:*::*:995 (32454/dovecot) *:*:*:*::*:10023 (23665/postgrey) *:*:*:*::*:10024 (23346/amavisd-new) *:*:*:*::*:10026 (23346/amavisd-new) *:*:*:*::*:587 (12453/master) [localhost]10 (32454/dovecot) [localhost]43 (32454/dovecot) *:*:*:*::*:8080 (7862/apache2) *:*:*:*::*:80 (7862/apache2) *:*:*:*::*:8081 (7862/apache2) *:*:*:*::*:465 (12453/master) *:*:*:*::*:53 (30847/named) *:*:*:*::*:21 (30833/pure-ftpd) *:*:*:*::*:22 (475/sshd) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination f2b-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain f2b-sshd (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-pureftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0
I guess you are using ISPConfig despite posting in Linux forum? If yes, do this first: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ Reading the very long error message that for some reason is all on one long line makes me think you have additional apps installed. What are those? My first guess is some PHP module the website needs is not installed.
@Taleman: I've moved his post to server operation from tips & tricks forum, so it's not his fault that the post ended up here.
I am indeed using ispconfig, I will compare between the 2 panels the php modules installed. For this site I am using php 5.6. On the 2 panels I installed php 50.6 by following this: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ So the same php mods should be present I guess