hello world
hello world

Reputation: 1755

The requested resource / was not found on this server. Laravel on Cloud9 IDE

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 enter image description here

im still new so my debugging solutions are very limited, does anyone know whats wrong on cloud9 ide?

Upvotes: 2

Views: 11509

Answers (4)

Ali Hassan
Ali Hassan

Reputation: 1

The name (path) is the same as the file name in (general) you must change the file name

Upvotes: -1

Nicolas Fuentes
Nicolas Fuentes

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

vikram eklare
vikram eklare

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

wkille
wkille

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

Related Questions