草庐IT

found_dir

全部标签

php - fatal error : Class 'Stripe' not found in C:\wamp\www\

我收到一个找不到类的错误,但我清楚地知道它所在位置的正确路径:我遇到的每篇文章都声称问题出在(不包括正确的路径)require_one、include或require。(我已经尝试了所有3个)。但仍然没有运气。我的数据库调用遵循相同的格式,我的WAMP服务器在创建我的数据库类时没有问题。这是直接从我的文件explore复制过来的(复制粘贴)网站\stripe-php-2.1.0\stripe\lib\Stripe.php我用来尝试访问Stripe的php文件与“网站”位于同一位置。PHP版本5.5.12教程引用:http://www.larryullman.com/2013/01/09

php - Dompdf 错误 "No block-level parent found. Not good."

require_once("function/dompdf/dompdf_config.inc.php");$dompdf=newDOMPDF();foreach($modulesas$module){$output="Hello".$module['name'];$dompdf->load_html($output);$dompdf->render();$output_pdf=$dompdf->output();file_put_contents($dir.$name_modulo.".pdf",$output_pdf);}Fatalerror:Uncaughtexception'D

第 0 行未知中的 PHP 警告 : PHP Startup: Unable to load dynamic library '- The specified procedure could not be found.

我想将php版本更改为7.1,但出现错误:PHPWarning:PHPStartup:Unabletoloaddynamiclibrary'C:\ProgramFiles\PHP\v7.1\ext\php_sqlsrv_7_nts_x86.dll'-Thespecifiedprocedurecouldnotbefound.inUnknownonline0先想想。这不是重复的问题,因为我检查了许多类似的问题。我正在使用IIS、PHP7.1和SQLserver(这就是我需要sqlsrv驱动程序的原因)。我检查了php.ini文件,并将扩展目录路径更改为完整路径,但没有任何反应。(从逻辑上讲

php - Vagrant/Puppet --- 确保 : change from present failed: Could not set 'present on ensure: No such file or dir

我正在使用Vagrant和Puppet在Ubuntu上安装Apache和PHP。但是,我在vagrantup期间收到以下错误。我认为模板的路径是正确的,那为什么会出错呢?我正在使用设置here修改以确保apt-getupdate在任何其他操作之前运行错误←[1;35merr:/Stage[main]/Php/File[/etc/php5/apache2/apc.ini]/ensure:从缺席出席失败:无法设置“出席确保:没有这样的文件或目录ectory-/etc/php5/apache2/apc.ini.puppettmp_6187在/tmp/vagrant-puppet/module

php - 使用 codeigniter PHP fatal error : Class 'MY_Model' not found

现在我正在学习CodeIgniter_2.1.4,但是我遇到了一个php错误;我在/data/www/application/core中有一个my_model.php文件db->insert($this::DB_TABLE,$this);$this->{$this::DB_TABLE_PK}=$this->db->insert_id();}privatefunctionupdate(){$this->db->update($this::DB_TABLE,$this,$this::DB_TABLE_PK);}publicfunctionpopulate($row){foreach($ro

php - 如何解决 HTTP/1.1 302 Found error when trying to get a contents of a form in php?

关闭。这个问题是notreproducibleorwascausedbytypos.它目前不接受答案。这个问题是由于错别字或无法再重现的问题引起的。虽然类似的问题可能是on-topic在这里,这个问题的解决方式不太可能帮助future的读者。关闭上个月。Improvethisquestion我的应用程序有一个错误,当我尝试提交包含大量信息的表单(POST方法)时,接收信息并重定向到的文件发生HTTP/1.1302Found错误我的索引html代码和php都很简单,但是信息量很大表单代码unareseñaTítulo"placeholder="hasta70-100caractereso

php - 错误 Illuminate Database Eloquent Not Found

在Controller中,当我试图通过异常调用模型中的函数时Symfony\Component\Debug\Exception\FatalErrorException(E_ERROR)Class'Illuminate\Database\Eloquent'notfoundController很简单,我曾经创建namespace来管理子目录Controller和模型layout)){$this->layout=View::make($this->layout)->with(Dashboard::all());}}}和模型 最佳答案 类是

php - ' fatal error : Class 'CURLFile' not found' error in Facebook PHP Application for 'upload photo to user' s timeline'

我刚刚尝试使用FacebookPHPSDK开发一个Facebook应用程序。Facebook开发者网站中给出的示例代码如下。'YOUR_APP_ID','secret'=>'YOUR_APP_SECRET','fileUpload'=>true,'allowSignedRequest'=>false//optionalbutshouldbesettofalsefornon-canvasapps);$facebook=newFacebook($config);$user_id=$facebook->getUser();$photo='./mypic.png';//Pathtothepho

apache - 无法设置 php_value 'soap.wsdl_cache_dir'

我有运行Apache2.2.4和PHP-FPM(FastCGI进程管理器)的VPS服务器(CentOS6.5)。查看php-fpmerror_log我注意到每个spawnphp-fpm子进程都有错误:WARNING:[poolwww]child24086saidintostderr:"ERROR:Unabletosetphp_value'soap.wsdl_cache_dir'"我无法通过谷歌搜索找到有关此警告的任何信息。有人知道这是什么意思以及如何摆脱这个警告吗?更新1:apache的fastcgi.conf:UserapacheGroupapacheLoadModulefastcg

php - 我在 Ubuntu 14.04 中使用 codeigniter 得到 URL not found 问题错误

我已将我的codeigniter项目与Ubuntu14.04集成。在默认Controller(即登录Controller)之后,它给我urlnotfound错误。请找到以下.htaccess文件RewriteEngineOnRewriteBase/myapp/#Removesaccesstothesystemfolderbyusers.#AdditionallythiswillallowyoutocreateaSystem.phpcontroller,#previouslythiswouldnothavebeenpossible.#'system'canbereplacedifyouh