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 trialJenny Swift
21,999 PointsNo input file specified (Laravel production site)
Hi, I know there are already posts here about 'No input file specified', and it's even in the top 5 questions asked by students taking Laravel Basics.
But they refer to the Homestead.yaml file, and if I understand correctly, that has nothing to do with the production site. And I am getting the error on my production site, not on my local site.
So, in other words, I go to my production site, and my application is not there. All that is there is 'No input file specified.'
How do I fix this, please?
By the way, in case the issue is related, if I enter my IP address as the URL, I get a 404 not found error.
1 Answer
Jenny Swift
21,999 PointsSo it's working now.
The funny thing is I'm not sure what I did to get it to work. I asked Forged support about my 'No input file specified' error and received the following response:
'That typically means the public directory when the site was created does not match the location of the index.php file.'
So I fiddled around, deleting my site from Forge and adding it again with different paths. Eventually my site displayed properly when I thought I had the same setup I had before!
I still get the 404 error though when I enter my IP address as the URL.
Jenny Swift
21,999 PointsJenny Swift
21,999 PointsI see now Firebug is giving me a 404 error. So I suppose the other issue I mentioned probably is related.