العودة   منتدى نيو حب > منتديات الحاسب والاتصالات > تطوير المواقع > منتدى السيرفرات

after Uploading laravel 5 Server Composer Update generates Error

منتدى السيرفرات


02-05-2018, 04:13 AM
admin
 
after Uploading laravel 5 Server Composer Update generates Error

after Uploading laravel 5 to Server

i cant run
Composer Update
or run
composer dumpauto

generates Error

When Uploading to Server Composer Update generates Error

PHP Warning: Uncaught exception 'ErrorException' with message 'require(/webroot/public_html/src/vendor/composer/../../app/helpers.php): failed to open stream: No such file or directory' in /webroot/public_html/src/vendor/composer/autoload_real.php:66
Stack trace:

--------------
fixed

Most probably (I'm pretty sure) your local environment is Windows and live server is Linux. So if the class company class file is used as company.php on local server then it's same Company.php on local server but as Linux follows case sensitive rules so it reads the company.php and Company.php as two different files.

So, if you have file name used Company.php then make sure you are refering the class using same case as Company not company (lower), in windows c and C doesn't matter but on Linux/Unix it does because of it's case sensitive nature.
من مواضيع : admin مشكله php 5.2 suhosin
حل مشكله بريد السيرفر roundcube
Call to undefined function imagecreatefromwebp() on PHP Version 7.2.2
CentOS packages don't update from node v5.12.0 to 8
بخصوص Enable DKIM on this account || Enable SPF on this account
 

أدوات الموضوع

الانتقال السريع

المواضيع المتشابهه
Laravel Mix npm run dev error | fixed and work
Windows Server 2003 | تحميل ويندوز سيرفر 2003

after Uploading laravel 5 Server Composer Update generates Error

الساعة الآن 03:24 AM