草庐IT

EXCEPTION_FLT_UNDERFLOW

全部标签

php - 未捕获的异常 'Exception' 消息为“DateTime::__construct():

我在输出在我的PHP文件中创建的日期时遇到问题。我一直在关注如何制作一个真正的Basic-CMS平台的教程,以帮助我了解databases和PHP的一些基础知识,一切都已经完成一切顺利,直到我尝试输出页面的创建日期。这是我得到的错误Fatalerror:Uncaughtexception'Exception'withmessage'DateTime::__construct():Itisnotsafetorelyonthesystem'stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_defa

php - 为什么 Exception 不是 Throwable 的实例?

我认为在所有编程语言中,Exception类都是Throwable接口(interface)的实例。看看下面的代码,它显示Exception不是php中Throwable的实例。try{thrownewInvalidArgumentException("errormessage");}catch(InvalidArgumentException$e){if($einstanceofException){echo'$eisexception';//thislinegetsexecuted}if($einstanceofThrowable){echo'$eisthrowable';//bu

PHP 和 FPDI/FPDF : Fatal error: Uncaught Exception: FPDF error: Incorrect output destination

我有一个PDF文件,我想用FDI/FPDF添加一个新页面Fatalerror:UncaughtException:FPDFerror:Incorrectoutputdestination:outfiles/111111.pdfinC:\wamp\www\pdf\fpdi\fpdf.phponline271(!)Exception:FPDFerror:Incorrectoutputdestination:outfiles/111111.pdfinC:\wamp\www\pdf\fpdi\fpdf.phponline271require_once('fpdi/fpdf.php');requ

php - 更新到 PHP 7 后出现 CodeIgniter CI_Exceptions::show_exception 错误

我在PHP5.6中使用CodeIgniter3.0.0。昨天我更新到PHP7并开始出现以下错误:-UncaughtTypeError:Argument1passedtoCI_Exceptions::show_exception()mustbeaninstanceofException,instanceofErrorgiven,calledin/my/file/path/app/system/core/Common.phponline658anddefinedin/my/file/path/hgx_portal/app/system/core/Exceptions.php:190Stac

php - fatal error : Uncaught exception 'Exception' in PHPExcel classes

谁能告诉我,为什么从PHPExcel类中抛出以下错误Fatalerror:Uncaughtexception'Exception'withmessage'Couldnotclosezipfile/var/www/mydomain/myexcel.xlsx.'in/var/www/mydomain/Classes/PHPExcel/Writer/Excel2007.php:400Stacktrace:#0/var/www/mydomain/myexcel.php(173):PHPExcel_Writer_Excel2007->save('/var/www/mydomain...')#1{

php - Kohana_Exception [ 0 ]:需要有效的 cookie 盐。请设置 Cookie::$salt

我正在学习本教程(http://kowsercse.com/2011/09/04/kohana-tutorial-beginners/)并遇到此错误消息:Kohana_Exception[0]:Avalidcookiesaltisrequired.PleasesetCookie::$salt.我是一个n00b,甚至不知道在应用程序中的哪里寻找Cookie::$salt。 最佳答案 您必须提供盐,您可以在officialdocumentation中看到//bootstrap.phpCookie::$salt='foobar';我强烈推

php - Zend_Controller_Router_Exception : "xyz" is not specified

我当前的ZendFramework应用程序有问题。在我的Bootstrap中,我注册了这些路由:protectedfunction_initRouter(){$this->bootstrap("FrontController");$frontController=$this->getResource("FrontController");$route=newZend_Controller_Router_Route(":module/:id",array("controller"=>"index","action"=>"index"),array("id"=>"\d+"));$front

php - 在 Laravel Forge 上部署抛出 faker not found Exception

我正在尝试在forge上部署一个laravel项目,但出现以下异常:Symfony\Component\Debug\Exception\FatalErrorException]Class'Faker\Factory'notfound我在composer.json的require-dev中有faker引用!composer.json文件{"name":"laravel/laravel","description":"TheLaravelFramework.","keywords":["framework","laravel"],"license":"MIT","type":"projec

php - Laravel 4 迁移 : class not found exception

很明显,当我想迁移我的数据库时,我得到了这个奇怪的错误{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class''notfound","file":"C:\\xampp\\htdocs\\l4crm\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Migrations\\Migrator.php","line":301}}[Finishedin1.3s]过去当然一切正常,我尝试迁移哪些文件并不重

php - 通配符子域异常(exception)

我启用了通配符子域,并通过按原样将其传递到我的index.php(例如somecity.domain.com)来动态解析URL。现在,我希望创建一些静态的子域,我可以在其中安装不同的应用程序,而不是与我当前的应用程序混在一起(例如blog.domain.com)。我的.htaccess当前读取:RewriteEngineOnRewriteBase/RewriteCond%{REQUEST_FILENAME}!-fRewriteCond%{REQUEST_FILENAME}!-dRewriteRule./index.php[L]我可以操纵这个.htaccess来实现我需要的吗?可以通过A