第 1 頁 (共 1 頁)
[問題]安裝完CPG1.2出現的問題
發表於 : 2004-02-22 12:21
由 chingkun
問題外掛:CPG1.2
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=22791
使用版本:phpBB 2.0.6 for apache1.3.29 php4.3.4 mysql-4.0.1
網站位置:
http://fun.pcadsl.net/phpBB2/gallery/
狀況描述:
依照參考連結之網址,安裝完之後,將除錯打開
在登入管理者,點設定(config)後出現的bug,請問那三個參數在那裡定義??
Notice: Undefined index: th_any in /usr/local/apache/htdocs/phpBB2/gallery/config.php on line 275
Notice: Undefined index: th_ht in /usr/local/apache/htdocs/phpBB2/gallery/config.php on line 276
Notice: Undefined index: th_wd in /usr/local/apache/htdocs/phpBB2/gallery/config.php on line 277
補充:
adv_top5 MOD 但是也沒作用,只有剛開始的last有作用,其餘top hot 都沒作用
發表於 : 2004-02-22 14:45
由 chingkun
找到該變數定義的地方了
gallery/lang/english.php 是原本變數定義的地方=>英文版
gallery/lang/chinese_big5.php 中文版變數定義的地方,依照自己所選的語系\r
打開chinese_big5.php 這個檔 找到 FILE config.php
在 'date_d' => 'Date descending', 後加入\r
'th_any' => 'Max Aspect',
'th_ht' => 'Height',
'th_wd' => 'Width',
修正之後是OK了,但是上傳圖片卻出現下面的message
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
而我明明有選GD version 2.0 為什麼還會出現上面的message呢??
[問題]無法上傳圖片
發表於 : 2004-02-23 12:05
由 us520
我在win xp主機上安裝phpbb2外掛coppermine photo gallery 1.21
於上傳圖片卻出現以下訊息\r
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
可否賜教
[問題]GD image library
發表於 : 2004-02-24 15:15
由 randwick
我上傳圖片也碰到相同的問題,麻煩那位高手指點一下,謝謝~~
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
[問題]GD image library的設定
發表於 : 2004-02-24 16:01
由 randwick
好不容易試出來了~~,參考
http://phpbb-tw.net/phpbb/viewtopic.php?p=104488
其中php.ini可以在c:使用搜尋來找(應該是放在c:\winnt 底下)

發表於 : 2004-02-24 19:08
由 chingkun
那..........Linux的有人解出方法了嗎??
我的PHP掛在/usr/local
而php.ini在/usr/local/php/lib 內\r
找了一下php.ini只有windows部份的php_gd2.dll的設定
還是找不到其他有關gd的設定..........
[Linux]linux的ImageMagick位置
發表於 : 2004-02-26 16:40
由 prowang
RedHat 8.0 在/usr/bin/X11
RedHat 9.0 在/usr/bin
注意大小寫\r
如果不行,請在comand模式鍵入rpm -qc ImageMagick(好像是)
可以man rpm查一下
[問題]圖片無法上傳
發表於 : 2004-03-01 17:07
由 us520
我使用的鉭主機是localhost
windows xp
php程式是:easyphp1-7
我有按照指示\r
php\extensions\php_gd2.dll <-確認有此檔
且已打開php.ini 修改\r
extension_dir = "C:\Program Files\EasyPHP1-7\php\extensions"
#############################################
#已修正更改路徑
#############################################
以下的也已修正為\r
extension=php_gd2.dll
重新啟動Apache後仍然無法上傳圖片,一樣顯示\r
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
請再次指導一下 感謝
[建議]我是用freeBSD 應該一樣吧!!!
發表於 : 2004-03-24 22:54
由 ggoodd
如前面所訴\r
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
應該是安裝php時沒有把應該支援的GD給加進去吧!!!重新安裝 php4 or mod_php4吧!!(不是phpBB喔!!!)
不建議使用ImageMagic因為不好用...
cyriax