nhayder
250
8
Laravel

Errors white deploying laravel application on cPanle shared hosting account

Posted 2 months ago by nhayder

Hi,

i'm trying to deploy a laravel 5.8 app on shared hosting account running cpanel, i'm getting a composer error not sure how to fix it

// error found in account log file
[12-May-2019 10:42:24 UTC] PHP Warning:  require(/home/demolinx/vendor/composer/../../App/Helpers/activeAdminSidebar.php): failed to open stream: No such file or directory in /home/demolinx/vendor/composer/autoload_real.php on line 66
[12-May-2019 10:42:24 UTC] PHP Warning:  require(/home/demolinx/vendor/composer/../../App/Helpers/activeAdminSidebar.php): failed to open stream: No such file or directory in /home/demolinx/vendor/composer/autoload_real.php on line 66
[12-May-2019 10:42:24 UTC] PHP Fatal error:  require(): Failed opening required '/home/demolinx/vendor/composer/../../App/Helpers/activeAdminSidebar.php' (include_path='.:/opt/cpanel/ea-php71/root/usr/share/pear') in /home/demolinx/vendor/composer/autoload_real.php on line 66


i made the helper file in /App/Helpers/activeAdminSidebar.php and its the files that is giving me the error,

any ideas on how to fix this error ???

Please sign in or create an account to participate in this conversation.