Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start api #7

Open
garenk02 opened this issue Apr 16, 2017 · 7 comments
Open

Cannot start api #7

garenk02 opened this issue Apr 16, 2017 · 7 comments

Comments

@garenk02
Copy link

Hi @esbenp : I already follow all the instruction step by step, then when I try to run the app, it return error:
Class Infrastructure ....\infrastructure\Api\Controllers\DefaultApiController does not exist

is there any installation that I missed

Thank's in advance

@esbenp
Copy link
Owner

esbenp commented Apr 17, 2017

Can you paste the code for controller that you try to access?

@garenk02
Copy link
Author

This is the screenshot of error that occur:
larapi

Thank's

@seyyedRezaRazavi
Copy link

seyyedRezaRazavi commented Apr 18, 2017

Hello
I have the same problem. (Windows)
screenshot

Thank's

@esbenp
Copy link
Owner

esbenp commented Apr 18, 2017

Hmm have you guys tried running Larapi without it being served using Laravels build-in server? Have you tried using something like nginx or similar?

@seyyedRezaRazavi
Copy link

Thank you for your prompt response to the questions

yes i tried with xampp

i added full path in every route and resolved this issue.
$router->get('/', '\Infrastructure\Api\Controllers\DefaultApiController@index');
instead of
$router->get('/', 'DefaultApiController@index');

can we fix this issue ?

@garenk02
Copy link
Author

@esbenp I already tried without laravel build-ind server, but still error
@seyyedRezaRazavi I will try follow that way

Thank you guys

@pishguy
Copy link

pishguy commented Nov 27, 2017

@seyyedRezaRazavi salam, bebakhshid shoma ba in repo moshkeli nadareed, man error exception migiram, mitoonid komak konid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants