Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

my nav links are working properly when clicked goes to localhost/community instead of localhost:8000/community, then it

when i click on the links on my nav it displays object not found; i took the laravel basic course and tried to follow the coding. also having issues with the tinker its not displaying the list of courses; i get this error message class not found.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Onyeka Nwakobi! This is a little hard to debug when I'm not sure which course you're currently on nor what your code looks like. However, my inclination is to say that the problem is probably in your .env file.

My best suggestion is to look in the .env file and make sure you see this line:

APP_URL=http://localhost:8000

And not:

APP_URL=http://localhost

Hope this helps! :sparkles:

Thank you so much it worked. i modified my .env to this APP_URL=http://localhost:8000. i took the laravel Basic course