Hi,
Some strange things are happening. I developed a small project which works well on PC (WAMP), when I deploy the project to my development server (CentOS) I get the following error.
Whoops, looks like something went wrong.
1/1 ReflectionException in Container.php line 737: Class App\Http\Controllers\HomeController does not exist
SNIP
The absolute weird thing is that above that error I see the code from the HomeController. When I check the source of the page the page starts with
<!--?phpnamespace App\Http\Controllers;use App\Http\Controllers\Controller;class HomeController extends Controller { public function index() { return View('checkout-6'); } *SNIP* I have no clue whats going on, my server logs are not throwing any errors. Any ideas?I created a new controller, copied the code and now it works, except that the javascript can+t be loaded because of the error Uncaught SyntaxError: Unexpected token function
I have this strange feeling that something is fucking up on my end on how the files get saved
Ok, now I definitly know something is fucking with the way my files get saved. Deleted the javascript file, created new one, copied raw source from bitbucket and voila, it worked...
Is it a case sensitivity issue? Usually is I find going from Windows to UNIX.
Check your strings, namespaces and files.
erik404 said:
I hate computers.
Yep. Pain in the ass. I'm off to be a sheep farmer in Wales!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community