Comments (13)
果然,上传了这个就ok了
from alidayu.
FatalThrowableError in Controller.php line 68:
Class 'Flc\Alidayu\Client' not found
Laravel 5.4版本
from alidayu.
忘了说了环境,Centos 7,php7.0
from alidayu.
你是什麼方式引入的?
from alidayu.
直接compose,composer require flc/alidayu
然后
use Flc\Alidayu\Client;
use Flc\Alidayu\App;
use Flc\Alidayu\Requests\AlibabaAliqinFcSmsNumSend;
use Flc\Alidayu\Requests\IRequest;
from alidayu.
那我可以说不会吗?我试过很多次均正常。而且众多网友也有用过,而且不限于laravel。都没有此问题!
from alidayu.
我在我自己mac上也没问题,一到服务器里面就报错了。。我具体的环境PHP 7.0.7,centos 6.8,php探针http://123.57.138.167/p.php
from alidayu.
你是通过什么方式将代码传到服务器上的?是不是git?如果是,那需要考虑相关文件是不是对应传上去了。git本身忽略了一部分文件,包括根目录的vendor目录
from alidayu.
直接ftp的呢,我在ssh里面看了一下flc的文件夹里面东西也不缺啊
from alidayu.
建议你把整个vendor文件夹重新上传。如果你只是传了flc那个文件夹,对应的autoload的一些文件没有上传,就会出现你这个问题!
from alidayu.
好的,我试试看看
from alidayu.
vendor\composer
主要是这个文件夹!
from alidayu.
建议去了解下composer
自动载入文件的原理
from alidayu.
Related Issues (17)
- composer require flc/alidayu Error HOT 4
- 报这个错误 HOT 9
- 短信发送的返回值格式不一样? HOT 2
- 现在阿里大鱼已经停止新用户加入了,都转到阿里云->短信里了,最重要的是他们的短信发送的API无法共用,请问什么时候能支持阿里短信 HOT 22
- 请问可否支持阿里云语音服务 HOT 5
- 您好,有两个问题 HOT 4
- 关于阿里2017年12月20日至2018年1月21日短信平台迁移公告 HOT 1
- 可支持国际短信吗? HOT 14
- 阿里大鱼一直给我报11 Insufficient isv permissions错误 HOT 1
- 短信发送 提示Invalid app Key HOT 1
- 请增加一个配置选项,允许设置使用sandbox选项。 HOT 3
- 如何集成进ThinkPHP 3.2.3? HOT 1
- linux下报method不存在 应该是路径有问题 HOT 6
- 报错Warning: current() expects parameter 1 to be array, null given in vendor\flc\alidayu\src\Alidayu\Client.php on line 129 HOT 7
- 些许建议 HOT 4
- 有没有验证码功能? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alidayu.