question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation Issue: Class Exodus4D\Pathfinder\Controller\Controller does not exist

See original GitHub issue
*225 FastCGI sent in stderr: "PHP message: Class 'Exodus4D\Pathfinder\Controller\Controller' not found [/var/www/pathfinder/app/Controller/AppController.php:16]PHP message: [vendor/composer/ClassLoader.php:478] include()PHP message: [vendor/composer/ClassLoader.php:346] Composer\Autoload\includeFile()PHP message: [index.php:27] Base->run()PHP message: Invalid class Exodus4D\Pathfinder\Controller\ControllerPHP message: PHP Fatal error:  Uncaught ReflectionException: Class Exodus4D\Pathfinder\Controller\Controller does not exist in /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php:1875
Stack trace:
#0 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(1875): ReflectionClass->__construct()
#1 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(1898): Base->grab()
#2 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(1343): Base->call()
#3 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(2308): Base->error()
#4 [internal function]: Base->{closure}()
#5 {main}
  thrown in /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php on line 1875PHP message: Invalid class Exodus4D\Pathfinder\Controller\ControllerPHP message: PHP Fatal error:  Uncaught ReflectionException: Class Exodus4D\Pathfinder\Controller\Controller does not exist in /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php:1875
Stack trace:
#0 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(1875): ReflectionClass->__construct()
#1 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(1898): Base->grab()
#2 /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php(2191): Base->call()
#3 [internal function]: Base->unload()
#4 {main}
  thrown in /var/www/pathfinder/vendor/bcosca/fatfree-core/base.php on line 1875" while reading response header from upstream, client: 89.187.175.137, server: pathfinder.fancypants.space, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "pathfinder.fancypants.space"

Installed Pathfinder on a new server (cloned from master). Requirements are installed and directory permissions are configured.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
drkthunder02commented, May 1, 2021

I have fixed the issue. Rename ./app/Db/Sql/Mysql/tablemodifier.php to TableModifier.php Rename ./app/Model/Universe/abstractuniversemodel.php to AbstractUniverseModel.php Rename ./app/Model/Pathfinder/AbstractPathfinderModell.php to AbstractPathfinderModel.php Rename ./app/Model/AbstractModell.php to AbstractModel.php

Then in the pathfinder directory run composer dump-autoload to reoptimize the files, and all should be good.

1reaction
Cooperwcommented, Oct 13, 2022

There is another rename for Controller

Controllerr.php -> Controller.php

mv ./app/Controller/Controllerr.php ./app/Controller/Controller.php
mv ./app/Db/Sql/Mysql/tablemodifier.php ./app/Db/Sql/Mysql/TableModifier.php
mv ./app/Model/Universe/abstractuniversemodel.php ./app/Model/Universe/AbstractUniverseModel.php
mv ./app/Model/Pathfinder/AbstractPathfinderModell.php ./app/Model/Pathfinder/AbstractPathfinderModel.php
mv ./app/Model/AbstractModell.php ./app/Model/AbstractModel.php
composer dump-autoload
Read more comments on GitHub >

github_iconTop Results From Across the Web

[PATHFINDER] Mapping Tool [v.1.1.6] - EVE Technology Lab
Question: when I load pathfinder everything is out of focus, I hit the MAP button(top right) and she's sweet. Is there something I'm...
Read more >
php - Error “Target class controller does not exist” when using ...
For the solution, just uncomment line 29: protected $namespace = 'App\\Http\\Controllers'; in the app\Providers\RouteServiceProvider. php file.
Read more >
Unable to load index.php server 500 "PHP Fatal error: Invalid ...
I'm trying to setup pathfinder on my debian box and have ... server 500 "PHP Fatal error: Invalid class Controller\\Controller" #63.
Read more >
[PATHFINDER] New Mapping Tool (beta) - EVE Search
"PATHFINDER" is a new open source mapping tool for "EVE ONLINE", primarily developed to enrich the gameplay of small scale PvP and PvE...
Read more >
Fixed | Target class controller does not exist | Laravel 8 Issue
If You Have any Question ! Click on the Bellow Link and in Comment section , Ask your Question ?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found