View [pages.index] not found

Username (e.g. epiz_XXX) or Website URL

my website http://upkkaguitm.infinityfreeapp.com/

Error Message

(1/1) InvalidArgumentException
View [pages.index] not found.
in FileViewFinder.php line 137

Other Information

My file structure for index.blade.php

|-- lsapp
    |-- app
    |-- bootstrap
    |-- config
    |-- database
    |-- note_modules
    |-- resources
        |-- assets
        |-- lang
        |-- views
            |-- index.blade.php
    |-- routes
    |-- storage
    |-- tests
    |-- vendor


|-- htdocs
    |-- css
    |-- icon
    |-- js
    |-- vendor
    |-- storage

Laravel Version 5.4
Php Version 5.6.

In my localhost, everything is fine.

There is no index.blade.php

image

1 Like

This shd be the correct path???
http://upkkaguitm.infinityfreeapp.com/lsapp/resources/views/pages/index.blade.php

1 Like

Move your Files to htdocs Directory

    |-- htdocs
        |-- css
        |-- icon
        |-- js
        |-- vendor
        |-- storage
        |-- lsapp
                 |-- app
                 |-- bootstrap
                 |-- config
                 |-- database
                 |-- note_modules
                 |-- resources
                         |-- assets
                         |-- lang
                         |-- views
                               |-- index.blade.php
                 |-- routes
                 |-- storage
                 |-- tests
                 |-- vendor
2 Likes

if http://upkkaguitm.infinityfreeapp.com/lsapp/resources/views/ this is your correct directory . try to re-upload index.blade.php manually .
this is the uploading mistakes ! (May be internet issue )
Thanks !

1 Like

yes. the correct path. im using laravel 5.4

i have upload it. still the same. i also put it outside of pages folder. still the same.

So which application is broken exactly? The installation on http://upkkaguitm.infinityfreeapp.com/lsapp/public, the one on http://upkkaguitm.infinityfreeapp.com/public or the one on http://upkkaguitm.infinityfreeapp.com ? I’m going to assume it’s the first one, because it’s the only one which has a complete Laravel installation.

That one crashes because you’ve precompiled the config on your own computer with the wrong paths. This crashes your application. If you remove the PHP files in htdocs/lsapp/bootstrap/cache, it should work.

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.