草庐IT

去找不到包

全部标签

php - 在 Linux 上找不到 xdebug.so

我在使用php7和Apache2在ElementaryOS(Ubuntu16.04.2)上运行xdebug时遇到了一些问题。我用sudoapt-getinstallphp-xdebug安装了它。安装没有报错。我已经添加了xdebug.remote_enable=1xdebug.remote_host=127.0.0.1xdebug.remote_connect_back=1;Notsafeforproductionserversxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.remote_mode=reqxdebug.re

php - Laravel 别名找不到类

我正在尝试为一个类注册别名,但Laravel找不到该类,我可以直接在我的Controller中引用该类,所以我知道它已正确加载。这是我的代码:'aliases'=>array('FrontendAssets'=>'Lib\FrontendAssets',)我要为其创建别名的类classFrontendAssets{protectedstatic$styles=[];protectedstatic$scripts=[];publicstaticfunctionstyles(){returnstatic::assets(static::$styles);}publicstaticfunct

php - 在 Lumen 中找不到类 'Validator'

尝试在Lumen中手动创建验证器。官方文档是这样写的:all(),['title'=>'required|unique:posts|max:255','body'=>'required',]);if($validator->fails()){returnredirect('post/create')->withErrors($validator)->withInput();}//Storetheblogpost...}}我写了'TestValidation'],['test'=>'required|unique:posts|max:255']);}}但是Lumen返回fatalerro

php - artisan 迁移找不到驱动程序

我正在尝试安装Laravel。我已经安装了Xampp,但是当我尝试使用phpartisanmigrate设置我的数据库时,我收到错误:[Illuminate\Database\QueryException]couldnotfinddriver(SQL:select*frominformation_schema.tableswheretable_schema=homesteadandtable_name=migrations)[PDOException]couldnotfinddriverconfig/database.php文件有相关连接:'connections'=>['sqlite

php - 没有 VM 重启,laravel 5.1 看不到作业文件的更改

我在Laravel5.1应用程序中创建了一个新作业,在HomesteadVM中运行。我已将其设置为排队并在handle方法中包含代码。handle()方法之前需要传递参数,但不再需要,我已经从handle方法中删除了参数。但是,当队列运行作业时,我收到一条错误消息:[2015-06-1714:08:46]local.ERROR:exception'ErrorException'withmessage'Missingargument1forSimile\Jobs\SpecialJob::handle()'in/home/vagrant/Code/BitBucket/simile-app/

php - 在 Laravel 5 中找不到类 'App\Http\Controllers\admin\Auth'

我在登录期间收到类似ClassApp\Http\Controllers\admin\AuthnotfoundinLaravel5的错误。Routes.phpRoute::group(array('prefix'=>'admin'),function(){Route::get('login','admin\AdminHomeController@showLogin');Route::post('check','admin\AdminHomeController@checkLogin');});AdminHomeController.php$request->get('username')

php - 在 Symfony 2 中找不到多个防火墙的 check_path

我正在尝试在Symfony2中设置后端和前端防火墙系统。我有两种登录表单,一种用于前端,另一种用于管理控制面板。不同的供应商等等。我的配置如下所示:security:firewalls:backend:pattern:^/adminanonymous:trueprovider:admin_usersform_login:login_path:/admin/logincheck_path:/admin/login_checkdefault_target_path:/adminsecured_area:pattern:^/provider:normal_usersanonymous:tru

php - 我看不到使用 php 在我的 Google 云端硬盘中通过 api 创建的文件和文件夹

我正在尝试使用googledriveapi创建文件夹。我能够在最后获得文件ID。但我无法在谷歌驱动器中找到我的文件夹。好像是权限问题?$scopes=array('https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/drive.appdata','https://www.googleapis.com/auth/drive.apps.readonly','https://www.googleapis.com/auth/drive.metadata','https://www.googleapis.

为解决Win11子系统的Ubuntu被删除后,重新安装出现找不到系统路径问题,无法正常安装

出现如下问题如下:C:\Users\HP>wsl无法将磁盘“C:\Users\HP\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx”附加到WSL2:系统找不到指定的文件。Errorcode:Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_FILE_NOT_FOUND怎么解决解决方法如下:一、先使用如下命令查看全部环境;wsl-l二、找到对应Ubuntu版本如下:(这里我设置了默认直接输入:Ubuntu就好)使用如下命令:wsl

PHP接口(interface)问题-找不到类

您好,我有一个实现接口(interface)的非常简单的类。类和接口(interface)都在同一个文件中。当我实现接口(interface)时出现fatalerror“找不到类”,但是当我删除实现然后尝试使用该类时我可以正常使用它吗???任何人都可以对此提供任何建议吗?抱歉,这是我目前用来测试的一些代码:$tester=newTypeOneTester();$tester->test("Hello");interfaceiTestInterface{publicfunctiontest($data);}classTypeOneTesterimplementsiTestInterfac