您好!application.ini 文件配置中没有 frontControl.baseUrl="" 配置。 到现在还没有运行成功!
application.ini以下:
------------------------------------------------------------------
[project]frontControl.baseUrl
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
phpSetting.date.timezone = 'Asia/Shanghai'
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.frontController.baseUrl = "/TM/20/public_html"
resources.layout.layoutPath = APPLICATION_PATH "/layouts"
resources.db.adapter="PDO_MYSQL"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.dbname = "db_known"
resources.db.params.charset = "utf8"
resources.db.params.isDefaultTableAdapter = true
cache.leftTime = "3600"
cache.cache_dir = APPLICATION_PATH "/tmp/"
resources.router.routes.bbsForum.type = "Zend_Controller_Router_Route_Regex"
resources.router.routes.bbsForum.route = "question/forum-(.*)"
resources.router.routes.bbsForum.defaults.module = "default"
resources.router.routes.bbsForum.defaults.controller = "question"
resources.router.routes.bbsForum.defaults.action = "forum"
resources.router.routes.bbsForum.map.1 = "param";
resources.router.routes.bbsThread.type = "Zend_Controller_Router_Route_Regex"
resources.router.routes.bbsThread.route = "question/thread-(.*)"
resources.router.routes.bbsThread.defaults.module = "default"
resources.router.routes.bbsThread.defaults.controller = "question"
resources.router.routes.bbsThread.defaults.action = "thread"
resources.router.routes.bbsThread.map.1 = "param";
pageInfo.default.title = "明日知道"
pageInfo.default.description = "明日知道"
pageInfo.default.domain = "http://www.mingrizd***.com"
pageInfo.default.siteRunTime = "1999-2010"
pageInfo.admin.title = "管理中心"
resources.router.routes.adminCenter.type = "Zend_Controller_Router_Route_Regex"
resources.router.routes.adminCenter.route = "adminCenter"
resources.router.routes.adminCenter.defaults.module = "admin"
resources.router.routes.adminCenter.defaults.controller = "index"
resources.router.routes.adminCenter.defaults.action = "frame"
mail.host = "smtp.sohu.com"
mail.username = "mingrisoft2205"
mail.password = "mingrisoft2205"
mail.from = "mingrisoft@mingrisoft.com"
mail.name = "明日知道"
mail.subject = "恭喜您!已经成功注册为明日知道会员!"
mail.bodyPath = APPLICATION_PATH "/resources/mailBody.txt"
default.title = "明日知道"
default.domain = "http://www.mingrizd.com"
default.upfilesdir = "./upfiles/default"
default.host = "www.mingrizd.com"
bbs.title = "明日知道"
bbs.keywords = "web|网站|java|jsp|php|.net|asp|css|javascript|div"
bbs.description = "明日知道"
bbs.upfilesdir = "./upfiles/bbs"
bbs.forumPageSize = 30
bbs.threadPageSize = 10
bbs.hotTitleBrowseStandard = 50
bbs.newTitleTimestampStandard = 86400