首页上一页 1 下一页尾页 3 条记录 1/1页
php从入门到精通 第2版
发表在PHP图书答疑
2011-03-08
是否精华
是
否
版块置顶:
是
否
你好:请问第21章的第11个实例运行一下怎么出现下面的提示; 文件路径错误吗,第10个实例就没事
Notice: Undefined index: page in D:\php\www\index.php on line 3
Notice: Undefined variable: str in D:\php\www\system\system.class.inc.php on line 90
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 59
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./index.html" on line 19 "{php}" unknown tag "php"' in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php:431 Stack trace: #0 D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ph...', 19) #1 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2322): Smarty_Internal_TemplateCompilerBase->compileTag('php', Array) #2 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r36() #3 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(36) #4 D:\php\Smarty\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(11, '?? ') #5 D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<html>??<head>?...') in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 431
Notice: Undefined index: page in D:\php\www\index.php on line 3
Notice: Undefined variable: str in D:\php\www\system\system.class.inc.php on line 90
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 59
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./index.html" on line 19 "{php}" unknown tag "php"' in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php:431 Stack trace: #0 D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ph...', 19) #1 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2322): Smarty_Internal_TemplateCompilerBase->compileTag('php', Array) #2 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r36() #3 D:\php\Smarty\sysplugins\smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(36) #4 D:\php\Smarty\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(11, '?? ') #5 D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<html>??<head>?...') in D:\php\Smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 431