草庐IT

not_a_rect_shape

全部标签

php - 火力基地: "Could not parse auth token."

你好,我正在使用带有php的firebase并使用这个library.我收到此错误“无法解析身份验证token。”我的授权token是正确的,因为我也使用了与node.js相同的token。我的代码是这样的require"vendor/autoload.php";constDEFAULT_URL='https://xxxxxxxxx.firebaseio.com';constDEFAULT_TOKEN='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';$firebase=new\Firebase\FirebaseLib(DEFAULT_URL,DEFAULT_TOK

PHP-FPM 错误日志显示 "Not a JPEG file: starts with 0x47 0x49"

在我的PHP-FPM日志文件中,我有很多行如下所示[18-Sep-201603:59:06]WARNING:[poolwww]child5425saidintostderr:"NotaJPEGfile:startswith0x470x49"这是什么意思? 最佳答案 这是一个commonerror.看起来你正在用imagecreatefromjpeg打开一个文件,但它不是jpeg,它是一个gif文件,看看thisnote关于起始字节。 关于PHP-FPM错误日志显示"NotaJPEGfil

php - 十月 CMS : Not able to create a Form Widget

我是OctoberCMS的新手,正在学习创建表单小部件。但我收到以下错误:Thepartial'_field_actorbox.htm'isnotfound./opt/lampp/htdocs/octobermovies/modules/system/traits/ViewMaker.phpline65我的小部件文件夹名称是“formwidgets”我在partials文件夹中的partials文件名为“_widget.htm”我的formwidgets的内容>Actorbox.phpnamespaceWatchlearn\Movies\FormWidgets;useBackend\C

php - 404 page not found 您请求的页面在 codeigniter 中找不到

我们的代码如下应用程序/配置/config.php$config['base_url']='http://myworldmirror.com/';$config['index_page']='index.php/home';.htaccessRewriteEngineOnRewriteBase/RewriteCond%{REQUEST_FILENAME}!-fRewriteCond%{REQUEST_FILENAME}!-dRewriteRule^(.*)$index.php/$1[L]Options-Indexes应用程序/配置/database.php$active_group='

php - fatal error : Class 'ZMQContext' not found ( but it is installed and works on the terminal )

我想试试ZeroMQ,我写了两个php文件,service.php和client.php。我使用linux终端运行服务php/web/test/service.php,没问题,终端打印“正在等待客户端连接...”。但是,我通过chrome资源管理器请求我的client.php,发生了错误,我检查了我的error.log,有消息“phpfatalerror:class'ZMQContext'notfound.......”我使用命令php-m来检查我的php扩展,zmq已经在该列表中。 最佳答案 问题是ZMQ模块已加载到PHPCLI(

php - Laravel Eloquent Not Created_At 今天

好吧,所以我正在尝试进行查询,其中不是created_at的用户这一天被选中,我遇到了一点麻烦。我尝试过的所有内容仍然被选中。这是我尝试过的一些东西(没有成功):$users=User::where('created_at','!=',date('Y-m-dH:i:s'))->get()$users=User::where('created_at','!=',newDateTime())->get()$users=User::where('created_at','!=',date('Y-m-d'))->get()$users=User::where('created_at','!='

php - 拉维尔 4 : Fatal error: Class 'Patchwork\Utf8\Bootup' not found in autoload. PHP

我将"cviebrock/image-validator":"1.0.*"添加到composer.json的require部分。之后,我运行了composerupdate,我收到了这个fatalerror。:::错误:::Fatalerror:Class'Patchwork\Utf8\Bootup'notfoundinF:\xampp\htdocs\project\bootstrap\autoload.phponline46Scriptphpartisanclear-compiledhandlingthepost-update-cmdeventreturnedwithanerror[R

PHP : file_get_contents with json_decode not working together

我在使用file_get_contents读取json文件后遇到问题。当我运行这段代码时,它工作正常:结果:沙查尔加诺当我运行这段代码时,它是空的:结果:****空——没有出现****当我运行这段代码时,检查file_get_contents是否正常工作:结果:[{"fullName":"ShacharGanot","address":"YadRambam","phoneNumber":"050-1231233","email":"","note":"","role":"","area":""},{"fullName":"BettyGanot","address":"Modiin","

php - 安装了 php71w-gd 并收到错误 GD Library extension not available with this PHP installation

我在centos7服务器和nginx网络服务器上使用laravel网络框架,我安装了php71w-gd,但当我想上传文件时仍然出现此错误Intervention\Image\Exception\NotSupportedExceptionGDLibraryextensionnotavailablewiththisPHPinstallation.你可能需要知道这个#php-i|grepgd/etc/php.d/gd.ini,gdgd.jpeg_ignore_warning=>1=>1 最佳答案 @HamedAbdollahi请检查以下步

php - Codeigniter,php5, fatal error : Class 'Controller' not found

fatalerror:在\system\application\controllers\welcome.php中找不到“Controller”类在第3行load->view('welcome_message');}}/*Endoffilewelcome.php*//*Location:./system/application/controllers/welcome.php*/我是php框架的初学者,刚刚提取了CodeIgniterzip文件并尝试在Aptanastudio中运行welcome.phpController。(PHP5) 最佳答案