php - Laravel 5 upload shows blank page -
i have website cms developed using laravel 5 have following folder structure
i trying upload server did created folder called beta inside public_html contained of public folder contents i.e backend,frontend source,uploads , db folder shown in image below , kept cms folder outside public_html modified few paths i.e. in index.php have paths set-up
require __dir__.'/../../cms/bootstrap/autoload.php' ; $app = require_once __dir__.'/../../cms/bootstrap/app.php';
all blank page missing changes in paths or might problem. problem killing me.
this error log although i've helper.php file inside required folder
[15-jun-2015 06:37:39 america/detroit] php warning: require(/home/dinwaub/cms/app/http/helpers/backend/helpers.php): failed open stream: no such file or directory in /home/domain/cms/vendor/composer/autoload_real.php on line 59
this part of composer.json file contains path helper.php file
"autoload": { "classmap": [ "database" ], "psr-4": { "app\\": "app/" }, "files": [ "app/http/helpers/backend/helpers.php", "app/http/helpers/frontend/viewhelper.php" ] },
this how looks in server
this cms folder outside public_html folder
this beta folder inside public_html
these folders inside beta folder
i think configuration should be
require __dir__.'/../../../cms/bootstrap/autoload.php' ; $app = require_once __dir__.'/../../../cms/bootstrap/app.php';
since __dir__
current file directory , ../
going 1 level
Comments
Post a Comment