Reputation: 1755
hey guys i was following the laravel installation guide for cloud9 IDE here
and when go run the app i get following in the screen shot below
im still new so my debugging solutions are very limited, does anyone know whats wrong on cloud9 ide?
Upvotes: 2
Views: 11509
Reputation: 1
The name (path) is the same as the file name in (general) you must change the file name
Upvotes: -1
Reputation: 9
I had the same problem.
In my case, I added next line in routes.php Route::resource('image','ImageController');
But, in /public directory, it was /public/image directory.
Solution:
change directory's name for: /public/img
or change routes.php: Route::resource('imageSite','ImageController');
Regards!
Upvotes: 1
Reputation: 820
I was facing same issue while running ZF application. Actually I was executing following command
php -S 127.0.0.1:80 -t /d/MyProjectRootFolder/
Actually I forgot to add public folder path as
php -S 127.0.0.1:80 -t /d/MyProjectRootFolder/public/
This fixed issue for me.
Upvotes: 4
Reputation: 643
Under the tab called 'PHP - Running' which opens when you click the 'Run Project' button, click on where it says 'Runner: ' (between the green bug icon and 'CWD') and select 'Appache httpd (PHP, HTML)'
After changing that setting I had to log out and back in again to get the project to run, but the problem appeared to be fixed.
Upvotes: 4