歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 10, 2025, 07:29:53 上午
19595 文章 在 3865 主題 由 4579 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 11:04:17 下午
谢谢Mark!
我果然笨蛋,一直都是在做1呢! 害羞
2  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 09:53:48 下午
还是无法解决这个问题呢!我现在又重新安装了我的系统,配置是:
WindowsXP
Apache 2.0.53
mysql 4.1.11
php 5.0.4
结果仍然一样,我换别的template,仍然不生效。我已经试过clear我的browser的临时文件以及cookie了。

请各位帮帮忙!
3  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 10:54:17 上午
我delete掉原来的default template以后,blog访问出现以下error msg:
Exception message: Smarty error: unable to read resource: "standard/main.template"
Error code: 512
-- Backtrace --
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1108): trigger_error
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1604): cachedtemplate.trigger_error
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1405): cachedtemplate._fetch_resource_info
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1278): cachedtemplate._is_compiled
C:\apache\Apache2\htdocs\plog\class\template\cachedtemplate.class.php(48): smarty.fetch
C:\apache\Apache2\htdocs\plog\class\view\smartyview.class.php(190): cachedtemplate.fetch
C:\apache\Apache2\htdocs\plog\class\view\blogview.class.php(212): smartyview.render
C:\apache\Apache2\htdocs\plog\class\view\defaultview.class.php(82): blogview.render
C:\apache\Apache2\htdocs\plog\class\controller\controller.class.php(325): defaultview.render
C:\apache\Apache2\htdocs\plog\index.php(41): blogcontroller.process

Exception message: Smarty error: unable to read resource: "standard/main.template"
Error code: 512
-- Backtrace --
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1108): trigger_error
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1604): cachedtemplate.trigger_error
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1433): cachedtemplate._fetch_resource_info
C:\apache\Apache2\htdocs\plog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resource
C:\apache\Apache2\htdocs\plog\class\template\cachedtemplate.class.php(48): smarty.fetch
C:\apache\Apache2\htdocs\plog\class\view\smartyview.class.php(190): cachedtemplate.fetch
C:\apache\Apache2\htdocs\plog\class\view\blogview.class.php(212): smartyview.render
C:\apache\Apache2\htdocs\plog\class\view\defaultview.class.php(82): blogview.render
C:\apache\Apache2\htdocs\plog\class\controller\controller.class.php(325): defaultview.render
C:\apache\Apache2\htdocs\plog\index.php(41): blogcontroller.process
4  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 10:49:08 上午
不行呢,甚至我把原来设置的default template都delete掉了,然后再设置reic,都还是不行

不过,我试了新建一个blog,template设置成reic没问题,但也是不能再改变template了。

很奇怪的问题,感觉是什么地方有cache在起作用。
5  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 10:38:20 上午
还是不行呢,我刚才已经试了把tmp里面所有的东西都delete掉了
6  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 10:00:30 上午
btw: 问题的现象是无论我设置什么template,我在browser看我自己的blog,都是按最初的那个template的样子。并且,我也已经把mplate_http_cache_enabled设置成“否”了。
7  支援 / 安裝與設定 / a problem about template setting. 於: 四月 16, 2005, 09:57:32 上午
我已经把plog安装上我的电脑了,现在又碰到一个问题,请教一下。
我从网上下载了reic的template,并copy到templates目录里面了。在plog的管理面板的新建模板里头也找到了这个template,但是,我无法设置default template到reic,尽管我在模板设置里头设置了reic并且也已经有提示说“站点设置保存成功”,请问,我应该怎样做才能设置不同的template?

很抱歉我在论坛里找来找去也没有找到解决的办法,只好发post了!

mick
8  支援 / 安裝與設定 / ask for help! I met problem when I install plog 1.0 於: 四月 15, 2005, 10:36:21 上午
Mark, thanks a lot

I solved it follow the instructions you suggested. It's php4.3.x's problem. I just clear root's password on mysql and reinstall plog. It's ok now!

So, I think I have to use php4.1.x or php5 instead.

Any way, thank you for your kindly help! 微笑
9  支援 / 安裝與設定 / ask for help! I met problem when I install plog 1.0 於: 四月 15, 2005, 12:48:18 上午
I've checked my mysql's config and I'm sure that I have a account named "mick" and have assigned all privilges of database test to mick.
So I am mixed-up.
10  支援 / 安裝與設定 / ask for help! I met problem when I install plog 1.0 於: 四月 14, 2005, 11:44:07 下午
I am a newbie. I just install plog 1.0 on my computer. but I met a problem and I can not solve it. pls help me.

I got the error msg below:
Exception message: mysql_connect(): Access denied for user 'mick'@'localhost' (using password: NO)
Error code: 2
-- Backtrace --
C:\apache\Apache2\htdocs\plog\class\database\adodb\drivers\adodb-mysql.inc.php(339): mysql_connect
C:\apache\Apache2\htdocs\plog\class\database\adodb\adodb.inc.php(413): adodb_mysql._connect
C:\apache\Apache2\htdocs\plog\wizard.php(656): adodb_mysql.connect
C:\apache\Apache2\htdocs\plog\wizard.php(937): connectdb
C:\apache\Apache2\htdocs\plog\class\controller\controller.class.php(305): wizardsteptwo.perform
C:\apache\Apache2\htdocs\plog\wizard.php(1814): controller.process

Exception message: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource
Error code: 2
-- Backtrace --
C:\apache\Apache2\htdocs\plog\class\database\adodb\drivers\adodb-mysql.inc.php(394): mysql_get_server_info
C:\apache\Apache2\htdocs\plog\class\database\adodb\drivers\adodb-mysql.inc.php(347): adodb_mysql._issupportutf8
C:\apache\Apache2\htdocs\plog\class\database\adodb\adodb.inc.php(413): adodb_mysql._connect
C:\apache\Apache2\htdocs\plog\wizard.php(656): adodb_mysql.connect
C:\apache\Apache2\htdocs\plog\wizard.php(937): connectdb
C:\apache\Apache2\htdocs\plog\class\controller\controller.class.php(305): wizardsteptwo.perform
C:\apache\Apache2\htdocs\plog\wizard.php(1814): controller.process

btw: my environment is winXP, apache 2.0.53, php 4.3.11, mysql 4.1.11
頁: [1]