当前位置: 代码迷 >> warning的解决方案
 
  • 请教这个php程式为什么会出错

    请问这个php程式为什么会出错。PHPcode $s2="make_by_id"; echoconvString($s1); functionconvString($string) { $array=explode('_',$string); array_walk($array,"ucwords"); returnimplode('',$array);...

    141
    热度
  • 调用popen执行程序时,返回异常

    调用popen执行程序时,返回错误服务器端执行popen('startxxx.exe','r');返回错误:Warning:popen(startxxx.exe,r)[function.popen]:NoerrorinE:\xxx\test.phponline4查了很多资料,没有解决,期待大牛的答案这个功能我在开发电脑上调试已经可以了,部署到服务器上出现了问题开发电脑是:XP+Apache+PHP...

    192
    热度
  • smarty 有关问题咨询

    smarty问题咨询Warning:Smarty::require_once(Smarty_Compiler.class.php)[function.Smarty-require-once]:failedtoopenstream:Nosuchfileordirectoryin/www/users/luya.com.uhost/common/smarty/Smarty.class.phponline...

    40
    热度
  • include+dirname有关问题

    include+dirname问题在A.php中有这么一句,include'dirname(__FILE__)."/1.php"';本义是想把和A.PHP在同一路径下的1.php给包含进来,但在执行时,报错如下:PHPWarning:include(dirname(__FILE__)."/lcsClass.php"):failedtoopenstream:N...

    187
    热度
  • PHP调用快递API接口报错了,该如何解决

    PHP调用快递API接口报错了PHPcode Warning:file_get_contents(http://api.ickd.cn/?com=ems&nu=5231326611111&id=*************&type=html&encode=utf8) [function.file-get-contents]:failedtoopenstream:...

    211
    热度
  • 请教做过 DZ 论坛开发的进来看看这是什么原因

    请问做过DZ论坛开发的进来看看这是什么原因论坛上传上去后,安装运行后提示这个:Warning:require(./source/class/class_core.php)[function.require]:failedtoopenstream:NosuchfileordirectoryinE:\bbs.cctcct.com\wwwroot\admin.phponline18Fatalerror:...

    110
    热度
  • php中施用session

    php中使用session 在登录页面新建session session_start(); $_SESSION['username']=$username; ?在需要验证的页面使用 //验证session session_start(); //session中是否存在username并且session是否过期 if(!isset($_SESSION["username"])||time(...

    178
    热度
  • dbase_open打开dbf文件,只有2行代码

    求助:dbase_open打开dbf文件,只有2行代码~注:extension=php_dbase.dll已经默认开启代码如下:PHPcode <?php $file_dbf='test.dbf'; $db=dbase_open($file_dbf,0); ?> 出现错误提示:Warning:dbase_open()[function.dbase-open]:unabletoope...

    269
    热度
  • php mail()解决方法

    phpmail()<?php $name=$_POST['name']; $emial=$_POST['email']; $feedback=$_POST['feedback']; $toaddress='292200196@qq.com'; $subject='Feedbackfromwebsite'; $mailcontent="Customername:$name\n ...

    692
    热度
  • CodeIgniter加载session类 提示异常 如何解决

    CodeIgniter加载session类提示错误怎么解决APHPErrorwasencounteredSeverity:WarningMessage:Cannotmodifyheaderinformation-headersalreadysentby(outputstartedatF:\APMServ5.2.6\www\htdocs\application\config\config.php:1...

    202
    热度
  • PHP默许时区设置

    PHP默认时区设置 <ahref='function.strtotime'>function.strtotime</a>]:Itisnotsafetorelyonthesystem'stimezonesettings.Pleaseusethedate.timezonesetting,theTZenvironmentvariableorthedate_default_time...

    274
    热度
  • 解决php中Cannot send session cache limiter 的有关问题

    解决php中Cannotsendsessioncachelimiter的问题 今天在使用php的session的时候,出现了以前就遇见但是又解决不了的问题,在页面上出现如下提示: Warning:session_start()[function.session-start]:Cannotsendsessioncachelimiter-headersalreadysent(outputstarte...

    933
    热度
  • php初学者有关问题

    php菜鸟问题我用的是win7系统的我安装了那个AppServ的集成包,我把一个数据库成功导进了phpmyadmin里面了,可是想访问某个页面是出现这样的错误Warning:mysql_connect()[function.mysql-connect]:Accessdeniedforuser'root'@'localhost'(usingpassword:YES)inC:\AppServ\www\...

    26
    热度
  • 帮忙看看看这个代码有什么有关问题

    大虾帮忙看看看这个代码有什么问题?运行这个模块时,下面红字部分报错Warning:mkdir()[function.mkdir]:Nosuchfileordirectory/** *函数名称: createDir *函数功能: 创建文件夹 *输入参数: $root----------------根路径 $type----------------类型 *函数返回值: 返回值说明 *其它说明: 说明...

    103
    热度
  • 第一次用THINKPHP 报路径错解决办法

    第一次用THINKPHP报路径错网上抄的一个例子:生成一个index.php,如下:<?php//定义ThinkPHP框架路径define('THINK_PATH','../ThinkPHP');//定义项目名称和路径define('APP_NAME','myphp');define('APP_PATH','.');//加载框架入口文件require(THINK_PATH."/Th...

    252
    热度
  • 关于PHP安装VLD查看opcode,该如何解决

    关于PHP安装VLD查看opcode按照这篇帖子,进行了操作。http://blog.csdn.net/21aspnet/article/details/7002644但是显示的并不是帖子上的结果,求指教,如何验证VLD是否安装,并查看opcode[root@localhosthtdocs]#catindex.php<?php$a='123';echo$a;[root@localhostht...

    73
    热度
  • zen cart迁移空间后add to cart空白页解决思路

    zencart迁移空间后addtocart空白页添加到购物车出现空白页,错误日志:[15-Dec-201119:17:08]PHPWarning:session_start()[<ahref='function.session-start'>function.session-start</a>]:Cannotsendsessioncachelimiter-headersal...

    484
    热度
  • 安装好aptana插件后出现这个有关问题 [Could not detect registered XULRunner to use

    安装好aptana插件后出现这个问题[CouldnotdetectregisteredXULRunnertouse一开始就出现这个错误UnhandledeventloopexceptionNomorehandles[CouldnotdetectregisteredXULRunnertouse]然后点击确定后又出现AnSWTerrorhasoccurredYouarerecommentdetoexi...

    153
    热度
  • eclipse import异常

    eclipseimport错误在eclipse中处理图片,需要引入两个包:引用importcom.sun.image.codec.jpeg.JPEGCodec;importcom.sun.image.codec.jpeg.JPEGImageEncoder;但eclipse始终报错:引用Accessrestriction:ThetypeJPEGImageEncoderisnotaccessibled...

    48
    热度
  • eclipse上安装ADT

    eclipse下安装ADT我用的ECLIPSE版本是3.7,最近在搞ANDROID开发,在安装ADT的时候,添加网站https://dl-ssl.google.com/andriod/eclipse/后,选择在线安装,当安装到大概50%的时候,就提示warning:youareinstallinsoftwarethatcontainsunsignedcontent.Theauthenticityo...

    33
    热度