:::
Tad Gallery 電子相簿

使用電子相簿 3.74 上傳照片/多張上傳 出現了錯誤

discuss pic 2017-03-02 21:10:03
上傳照片/多張上傳 出現了以下錯誤,請問如何解決?
HTTP ERROR 500

錯誤
通知: Undefined index: csn 在檔案中的第 /modules/tadgallery/language/tchinese_utf8/main.php 列 27
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 128
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 128
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 129
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 129
不建議使用
'Database::getInstance();' is deprecated since XOOPS 2.5.4, please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
MyTextSanitizer::makeTboxData4Show is deprecated
問題
0.000100 - SET NAMES 'utf8'
0.000053 - SET SQL_BIG_SELECTS = 1
0.000089 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000291 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'gbjtajastmo6m88g5bn9r6sm97'
0.000047 - SELECT * FROM users WHERE uid = '1'
0.000039 - SELECT * FROM modules WHERE dirname = 'tadgallery'
0.000050 - SELECT * FROM config WHERE (conf_modid = '41') ORDER BY conf_order ASC
0.000050 - select csn,enable_upload_group from tad_gallery_cate
0.000051 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000065 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (2,1)
0.000076 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,41) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,18,15,16,17,19,20,54,55,56,57,58,59,60,61,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,97,98,99,101,102,103,104,105,139,106,137,113,130,131,132,133,134,135,136,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158) ORDER BY b.weight, m.block_id
0.000038 - SELECT * FROM modules WHERE dirname = 'tad_cal'
0.000033 - SELECT * FROM config WHERE (conf_modid = '21') ORDER BY conf_order ASC
0.000041 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'tad_cal_calendar.tpl') ORDER BY tpl_refid
0.000037 - SELECT * FROM modules WHERE dirname = 'tinyd0'
0.000036 - SELECT * FROM config WHERE (conf_modid = '26') ORDER BY conf_order ASC
0.000035 - SELECT storyid,title,link,UNIX_TIMESTAMP(last_modified) FROM tinycontent0 WHERE visible=1 AND 1 ORDER BY blockid
0.000068 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'tinycontent0_nav_block.html') ORDER BY tpl_refid
0.000036 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
0.000038 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_search.html') ORDER BY tpl_refid
0.000043 - SELECT cfgname, cfgvalue FROM logcounterx_cfg
0.000034 - SELECT cnt FROM logcounterx_count WHERE ymd = '2017-03-02'
0.000024 - SELECT cnt FROM logcounterx_count WHERE ymd = '2017-03-01'
0.000024 - SELECT cnt FROM logcounterx_count WHERE (ymd = '1111-11-11') OR (ymd = '1111/11/11')
0.000035 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'lcx_block_display.html') ORDER BY tpl_refid
0.000208 - insert into tad_gallery (`csn`, `title`, `description`, `filename`, `size`, `type`, `width`, `height`, `dir`, `uid`, `post_date`, `counter`, `exif`, `tag`, `good`, `photo_sort`,`is360`) values('1','','','28_IMG_0426.JPG','232748','image/jpeg','1280','960','2012_04_14','1','2017-03-02 21:05:10','0','[FILE][FileName]=phpGQyF0x||[FILE][FileType]=2||[FILE][MimeType]=image/jpeg||[FILE][FileSize]=232748||[COMPUTED][Width]=1280||[COMPUTED][Height]=960||[IFD0][Make]=Canon||[IFD0][Model]=Canon PowerShot SX40 HS||[IFD0][DateTime]=2012:04:14 10:19:16||[IFD0][Orientation]=1||[EXIF][ExposureTime]=1/640||[EXIF][ISOSpeedRatings]=100||[COMPUTED][ApertureFNumber]=f/4.0||[EXIF][Flash]=16||[EXIF][FocalLength]=4300/1000mm||[EXIF][ExposureBiasValue]=0/3EV||[GPS][latitude]=0||[GPS][longitude]=0','','0', 0, '0')
0.000128 - select filename,dir from tad_gallery where sn='5'
0.000027 - select filename,dir from tad_gallery where sn='5'
0.000023 - select filename,dir from tad_gallery where sn='5'
總計: 29

discuss pic 2017-03-03 14:31:43
tad
所有模組都有更新了嗎?
XOOPS版本是?
discuss pic 2017-03-03 22:20:31
都更新了
版本是 xoops 2.5.7.2
discuss pic 2017-03-09 14:29:32
更新了,但是還沒有解決,怎麼辦?
系統是ubuntu 14.04.
discuss pic 2017-03-09 14:42:01
tad
關除錯就好
基本上只是「通知」訊息,不是錯誤訊息
discuss pic 2017-03-09 21:55:07
會出現這個畫面

discuss pic 2017-03-09 22:39:46
tad
php.ini 中的 display_errors 沒設成 on 吧?
真正的錯誤訊息沒出現。

印象中ubuntu的某個版本有少一個圖片函數,或許是這個原因。
discuss pic 2017-03-12 22:33:27
解決了,謝謝您!
原來還要安裝gd
discuss pic 2018-12-10 17:11:40

請問安裝gd是什麼呢??我也出現這個錯誤訊息,無法多張照片上傳,

煩請解惑,謝謝!

discuss pic 2018-12-10 17:20:11
tad

gd 函式庫

不同作業系統有不同處理方法

無法多上傳跟GD沒啥關係

:::

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D22%26DiscussID%3D2985

計數器

今天: 3509350935093509
昨天: 8625862586258625
總計: 8034116803411680341168034116803411680341168034116