EntryPoint error? Not sure, need help tracking down where an error is. PHP MySQL novice to ninja 6th edition

So I’ve look through the github repo of the PHP & MySQL Novice to Ninja with the corresponding chapter version, but I’m still stuck. I’ve uploaded my own github repo here. Everything is in the Project directory, I keep getting the following errors even though I’ve checked my code more times than I’d like to count haha:

Warning: include(/home/vagrant/Code/Project/includes/…/classes/Ninja/EntryPoint.php): failed to open stream: No such file or directory in /home/vagrant/Code/Project/includes/autoload.php on line 6

( ! ) Warning: include(): Failed opening ‘/home/vagrant/Code/Project/includes/…/classes/Ninja/EntryPoint.php’ for inclusion (include_path=‘.:/usr/share/php’) in /home/vagrant/Code/Project/includes/autoload.php on line 6

( ! ) Fatal error: Uncaught Error: Class ‘Ninja\EntryPoint’ not found in /home/vagrant/Code/Project/public/index.php on line 6
( ! ) Error: Class ‘Ninja\EntryPoint’ not found in /home/vagrant/Code/Project/public/index.php on line 6

Any help is appreciated!

Your repository does not contain a directory called “Ninja”. It contains a directory called “Ninja.php”, which is not the same thing.

1 Like

facepalm All that searching and it was right in my face, thanks a ton!

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.