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

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 حل مشكله عند بدء تنصيب السى بانل على سيرفر جديد
حل مشكله Warning: preg_replace() [function.preg-replace]: Compilation failed: lookbeh
طريقة اضافة رساله ترحيب قبل الدخول الى الشل
السى بانل تطلق تحديث جديد يشمل IonCube Sqlite phpMyAdmin
عمل باك اب من الشل بدون الدخول الى السى بانل
 

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

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

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

after Uploading laravel 5 Server Composer Update generates Error

الساعة الآن 12:17 AM