首页上一页 1 下一页尾页 1 条记录 1/1页
速解决
发表在PHP图书答疑
2013-09-03
是否精华
是
否
版块置顶:
是
否
Warning: require(./ThinkPHPCommon/runtime.php) [function.require]: failed to open stream: No such file or directory in D:\AppServ\www\test\25\ThinkPHP\ThinkPHP.php on line 34
Fatal error: require() [function.require]: Failed opening required './ThinkPHPCommon/runtime.php' (include_path='.;C:\php5\pear') in D:\AppServ\www\test\25\ThinkPHP\ThinkPHP.php on line 34
<?php
define('THINK_PATH', './ThinkPHP'); //定义ThinkPHP框架路径(相对于入口文件)
define('APP_NAME', 'Home'); //定义项目名称
define('APP_PATH', 'Home'); //定义项目路径
require(THINK_PATH."/ThinkPHP.php"); //加载框架入口文件
App::run(); //实例化一个网站应用实例
?>
[font color=#FF0000]这是你们的原始代码 貌似本身就存在问题[/font]
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Fatal error: Class 'Dispatcher' not found in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
<?php
define('THINK_PATH', './ThinkPHP'); //定义ThinkPHP框架路径(相对于入口文件)
define('APP_NAME', 'Admin'); //定义项目名称
define('APP_PATH', './Admin/'); //定义项目路径
require(THINK_PATH."/ThinkPHP.php"); //加载框架入口文件
App::run(); //实例化一个网站应用实例
?>
[font color=#00FF00]
我改后的代码 还是不对[/font]
Fatal error: require() [function.require]: Failed opening required './ThinkPHPCommon/runtime.php' (include_path='.;C:\php5\pear') in D:\AppServ\www\test\25\ThinkPHP\ThinkPHP.php on line 34
<?php
define('THINK_PATH', './ThinkPHP'); //定义ThinkPHP框架路径(相对于入口文件)
define('APP_NAME', 'Home'); //定义项目名称
define('APP_PATH', 'Home'); //定义项目路径
require(THINK_PATH."/ThinkPHP.php"); //加载框架入口文件
App::run(); //实例化一个网站应用实例
?>
[font color=#FF0000]这是你们的原始代码 貌似本身就存在问题[/font]
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
Fatal error: Class 'Dispatcher' not found in D:\AppServ\www\test\25\Home\Runtime\~runtime.php on line 2
<?php
define('THINK_PATH', './ThinkPHP'); //定义ThinkPHP框架路径(相对于入口文件)
define('APP_NAME', 'Admin'); //定义项目名称
define('APP_PATH', './Admin/'); //定义项目路径
require(THINK_PATH."/ThinkPHP.php"); //加载框架入口文件
App::run(); //实例化一个网站应用实例
?>
[font color=#00FF00]
我改后的代码 还是不对[/font]