歡迎光臨, 訪客. 請先 登入註冊一個帳號.
一月 17, 2018, 07:59:04 下午
19594 文章 在 3864 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  似乎沒成功~再發一次求救!! « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 似乎沒成功~再發一次求救!!  (閱讀 6060 次)
karlcjs
新手見習
*
文章: 3


檢視個人資料
« 於: 二月 04, 2008, 07:01:18 下午 »

http://www.thps.hc.edu.tw/lifetype-1.0.6/wizard.php

進行安裝時發生問題:

Error creating table: Table 'pblog_article_categories_link' already exists
Error creating table: Table 'pblog_custom_fields_definition' already exists
Error creating table: Table 'pblog_custom_fields_values' already exists
Error creating table: Table 'pblog_articles_text' already exists
Error modifying table Articles: Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Table 'lifetype.pblog_articles' doesn't exist
Error modifying table Article Categories: Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Table 'lifetype.pblog_articles_categories' doesn't exist
Error modifying table User Comments: Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Table 'lifetype.pblog_articles_comments' doesn't exist
Error modifying table Notifications: Table 'lifetype.pblog_articles_notifications' doesn't exist
Table 'lifetype.pblog_articles_notifications' doesn't exist
Table 'lifetype.pblog_articles_notifications' doesn't exist
Error modifying table Blogs: Table 'lifetype.pblog_blogs' doesn't exist
Table 'lifetype.pblog_blogs' doesn't exist
Table 'lifetype.pblog_blogs' doesn't exist
Table 'lifetype.pblog_blogs' doesn't exist
Table 'lifetype.pblog_blogs' doesn't exist
Table 'lifetype.pblog_blogs' doesn't exist
Error modifying table Referrers: Table 'lifetype.pblog_referers' doesn't exist
Table 'lifetype.pblog_referers' doesn't exist
Table 'lifetype.pblog_referers' doesn't exist
Error modifying table Trackbacks: Table 'lifetype.pblog_trackbacks' doesn't exist
Error modifying table Filtered Content: Table 'lifetype.pblog_filtered_content' doesn't exist
Error modifying table Blocked hosts: Table 'lifetype.pblog_host_blocking_rules' doesn't exist
Error modifying table Gallery Albums: Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Table 'lifetype.pblog_gallery_albums' doesn't exist
Error modifying table Gallery Resources: Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Table 'lifetype.pblog_gallery_resources' doesn't exist
Error modifying table Links: Table 'lifetype.pblog_mylinks' doesn't exist
Table 'lifetype.pblog_mylinks' doesn't exist
Table 'lifetype.pblog_mylinks' doesn't exist
Table 'lifetype.pblog_mylinks' doesn't exist
Table 'lifetype.pblog_mylinks' doesn't exist
Error modifying table Links Categories: Table 'lifetype.pblog_mylinks_categories' doesn't exist
Table 'lifetype.pblog_mylinks_categories' doesn't exist
Error modifying table Users: Table 'lifetype.pblog_users' doesn't exist
Table 'lifetype.pblog_users' doesn't exist
Table 'lifetype.pblog_users' doesn't exist
Table 'lifetype.pblog_users' doesn't exist
Error modifying table Bayesian Filter data table: Table 'lifetype.pblog_bayesian_filter_info' doesn't exist
Error modifying table Permissions: Table 'lifetype.pblog_users_permissions' doesn't exist
Table 'lifetype.pblog_users_permissions' doesn't exist
Table 'lifetype.pblog_users_permissions' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist
There was an error executing: Table 'lifetype.pblog_config' doesn't exist

我的設定:(/ www/ html/ lifetype-1.0.6/ config/config.properties.php )

<?php
#
# database settings
#
$config["db_host"] = "localhost";
$config["db_username"] = "lifetypeadm";
$config["db_password"] = "**********";
$config["db_database"] = "lifetype";
#
# the database prefix will be appended to the name of each database tables in case you want
# to have more than one version of plog running at the same time, such as the stable and
# unstable one for testing. Each one could use a different prefix and therefore they could
# coexist in the same unique database. If you change this after the initial configuration done
# with the installation wizard, please make sure that you also rename the tables.
#
$config["db_prefix"] = "pblog";
?>


已記錄
winman
版主
超級會員
*****
文章: 525


winman


檢視個人資料 個人網站
« 回覆文章 #1 於: 二月 05, 2008, 01:18:17 上午 »

从提示信息看,你之前已经安装过一次LifeType,安装程序在Database里建立了
LifeType所需的数据库了。如果你现在想重新进行一次安装,可以把Database里
所有“pblog"的表删除,然后重新执行安装程序就OK咯。
已記錄

俗语说:授予鱼,不如授予渔。因此在发问前先搜寻论坛,或许困扰你
的问题,在之前已经有朋友遇到并得到解答了。这样不但提高解决问题
的效率,还能令自己的能力不断加强。加油啊。
karlcjs
新手見習
*
文章: 3


檢視個人資料
« 回覆文章 #2 於: 二月 05, 2008, 07:57:51 上午 »

从提示信息看,你之前已经安装过一次LifeType,安装程序在Database里建立了
LifeType所需的数据库了。如果你现在想重新进行一次安装,可以把Database里
所有“pblog"的表删除,然后重新执行安装程序就OK咯。


昨天晚上在測試第三次之後就放棄了1.0.6的安裝,改為使用1.1.2版~一次就修訂完成了。

不過安裝完畢之後才發現又出錯了!!

Exception message: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'lifetypeadm'@'localhost' (using password: YES)
Error code: 2
-- Backtrace --
/data/www/html/lifetype-devel-20061112/class/database/pdb/drivers/pdbmysqldriver.class.php(97): mysql_pconnect
/data/www/html/lifetype-devel-20061112/class/database/db.class.php(73): pdbmysqldriver.pconnect
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(522): db.getdb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(129): lifetypeuserdataprovider._initializedb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(186): lifetypeuserdataprovider.execute
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(71): lifetypeuserdataprovider.get
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(37): lifetypeuserdataprovider.getuserinfofromusername
/data/www/html/lifetype-devel-20061112/class/dao/users.class.php(62): lifetypeuserdataprovider.authenticateuser
/data/www/html/lifetype-devel-20061112/class/action/admin/adminloginaction.class.php(65): users.authenticateuser
/data/www/html/lifetype-devel-20061112/class/controller/controller.class.php(310): adminloginaction.perform
/data/www/html/lifetype-devel-20061112/admin.php(43): admincontroller.process

Exception message: mysql_error(): supplied argument is not a valid MySQL-Link resource
Error code: 2
-- Backtrace --
/data/www/html/lifetype-devel-20061112/class/database/pdb/drivers/pdbmysqldriver.class.php(125): mysql_error
/data/www/html/lifetype-devel-20061112/class/database/db.class.php(75): pdbmysqldriver.errormsg
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(522): db.getdb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(129): lifetypeuserdataprovider._initializedb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(186): lifetypeuserdataprovider.execute
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(71): lifetypeuserdataprovider.get
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(37): lifetypeuserdataprovider.getuserinfofromusername
/data/www/html/lifetype-devel-20061112/class/dao/users.class.php(62): lifetypeuserdataprovider.authenticateuser
/data/www/html/lifetype-devel-20061112/class/action/admin/adminloginaction.class.php(65): users.authenticateuser
/data/www/html/lifetype-devel-20061112/class/controller/controller.class.php(310): adminloginaction.perform
/data/www/html/lifetype-devel-20061112/admin.php(43): admincontroller.process

Exception message: Fatal error: could not connect to the database! Error:
Error code: 0
-- Backtrace --
/data/www/html/lifetype-devel-20061112/class/database/db.class.php(76): throw
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(522): db.getdb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(129): lifetypeuserdataprovider._initializedb
/data/www/html/lifetype-devel-20061112/class/dao/model.class.php(186): lifetypeuserdataprovider.execute
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(71): lifetypeuserdataprovider.get
/data/www/html/lifetype-devel-20061112/class/dao/userdata/lifetypeuserdataprovider.class.php(37): lifetypeuserdataprovider.getuserinfofromusername
/data/www/html/lifetype-devel-20061112/class/dao/users.class.php(62): lifetypeuserdataprovider.authenticateuser
/data/www/html/lifetype-devel-20061112/class/action/admin/adminloginaction.class.php(65): users.authenticateuser
/data/www/html/lifetype-devel-20061112/class/controller/controller.class.php(310): adminloginaction.perform
/data/www/html/lifetype-devel-20061112/admin.php(43): admincontroller.process

詭異!!
« 最後編輯時間: 二月 05, 2008, 08:27:07 上午 由 karlcjs » 已記錄
winman
版主
超級會員
*****
文章: 525


winman


檢視個人資料 個人網站
« 回覆文章 #3 於: 二月 07, 2008, 01:01:17 上午 »

昨天晚上在測試第三次之後就放棄了1.0.6的安裝,改為使用1.1.2版~一次就修訂完成了。

不過安裝完畢之後才發現又出錯了!!

Exception message: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'lifetypeadm'@'localhost' (using password: YES)

从这个提示信息看,应该是连接数据库的密码或者用户名错误哦。建议确认一下用户名和密码,

然后修改 Your_LifeType/config/config.properties.php 这个文件里数据库用户名和密码的相应部分。
已記錄

俗语说:授予鱼,不如授予渔。因此在发问前先搜寻论坛,或许困扰你
的问题,在之前已经有朋友遇到并得到解答了。这样不但提高解决问题
的效率,还能令自己的能力不断加强。加油啊。
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  似乎沒成功~再發一次求救!! « 上篇主題 下篇主題 »
    前往: