:::
Tad Gallery 電子相簿

批次上傳失敗

discuss pic 2015-08-10 19:59:01
最近才剛安裝了MyXoops及相關的模組, 在一一試用中
Tad Gallery 的部份, 壓縮上傳有把照片解開在 taggallery/upload_pics/user_01裡, 但批次上傳卻失敗, 14張照片加起來才 1M多, 但只有一張或二張能成功.

開除錯之後, 顯示的訊息如下, 不知道 Tad 老師或使用過的人知道是什麼問題嗎?

另外, 管理端有開設二個分類(資料夾), 但管理功能的「搬移到」的選單卻是空的.


通知: Undefined index: csn 在檔案中的第 /modules/tadgallery/language/tchinese_utf8/main.php 列 27

0.000062 - SET NAMES 'utf8'
0.000038 - SET SQL_BIG_SELECTS = 1
0.000055 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000169 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'j5jgkkcjh71qkhtv5709lbpfg3'
0.000055 - SELECT * FROM users WHERE uid = '1'
0.000048 - SELECT * FROM modules WHERE dirname = 'tadgallery'
0.000067 - SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
0.000049 - select csn,enable_upload_group from tad_gallery_cate
0.000174 - insert into tad_gallery ( `csn`, `title`, `description`, `filename`, `size`, `type`, `width`, `height`, `dir`, `uid`, `post_date`, `counter`, `exif`, `tag`, `good`, `photo_sort`) values('1','','','201412251638300.jpg','100080','image/jpeg','326','435','2015_08_10','1','','0','[FILE][FileName]=201412251638300.jpg||[FILE][FileType]=2||[FILE][MimeType]=image/jpeg||[FILE][FileSize]=100080||[COMPUTED][Width]=326||[COMPUTED][Height]=435||[IFD0][Make]=||[IFD0][Model]=||[IFD0][DateTime]=||[IFD0][Orientation]=||[EXIF][ExposureTime]=||[EXIF][ISOSpeedRatings]=||[COMPUTED][ApertureFNumber]=||[EXIF][Flash]=||[EXIF][FocalLength]=mm||[EXIF][ExposureBiasValue]=EV||[GPS][latitude]=0||[GPS][longitude]=0','','0',0)
0.000113 - select filename,dir from tad_gallery where sn='14'
0.000035 - select filename,dir from tad_gallery where sn='14'
0.000029 - select filename,dir from tad_gallery where sn='14'
總計: 12
discuss pic 2015-08-11 08:14:10
今天再測試單張上傳, 在新類別傳第一張正常, 但之後的上傳就會停留在空白頁, 照片是有上傳成功, 但疑問為什麼會這樣? 很不方便.

批次也是相同, 一次只建立一張照片, 必須反覆自行離開空白頁再來. 如果要傳600張, 就得做600次?

單張上傳, 第二張之後的錯誤訊息如下:

通知: Undefined index: csn 在檔案中的第 /modules/tadgallery/language/tchinese_utf8/main.php 列 27
通知: Undefined index: xoops_op 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 4
通知: Undefined variable: main 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 58
通知: Undefined index: IFD0 在檔案中的第 /modules/tadgallery/uploads.php 列 105
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 129
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 129
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 130
通知: Undefined index: GPS 在檔案中的第 /modules/tadgallery/function.php 列 130
通知: Undefined index: IFD0 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: IFD0 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: IFD0 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: IFD0 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: EXIF 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: EXIF 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: ApertureFNumber 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: EXIF 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: EXIF 在檔案中的第 /modules/tadgallery/function.php 列 132
通知: Undefined index: EXIF 在檔案中的第 /modules/tadgallery/function.php 列 132

0.000062 - SET NAMES 'utf8'
0.000038 - SET SQL_BIG_SELECTS = 1
0.000055 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000190 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'atq5mref5sk14ch8cscttqgm51'
0.000044 - SELECT * FROM users WHERE uid = '1'
0.000043 - SELECT * FROM modules WHERE dirname = 'tadgallery'
0.000043 - SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
0.000041 - select csn,enable_upload_group from tad_gallery_cate
0.000034 - select `tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` from `tadtools_setup` where `tt_theme`='school2015'
0.000094 - SELECT COUNT(*) FROM banner
0.000110 - SELECT * FROM banner LIMIT 1, 1
0.000119 - UPDATE banner SET impmade = 361 WHERE bid = 2
0.000040 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000041 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (2,1)
0.000043 - 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,11) AND b.bid IN (1,2,3,4,5,6,7,8,9,106,10,105,11,104,12,13,14,18,15,103,16,101,17,19,20,100,99,98,54,55,56,97,57,58,96,95,60,94,93,61,92,91,90,62,89,88,63,64,65,87,86,85,84,66,67,83,82,81,68,69,70,71,80,79,78,77,76,72,73,74,75,102) ORDER BY b.weight, m.block_id
0.000049 - select * from tad_themes where `theme_name`='school2015'
0.000044 - 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 = 'tadtools_qrcode.html') ORDER BY tpl_refid
0.000132 - insert into tad_gallery ( `csn`, `title`, `description`, `filename`, `size`, `type`, `width`, `height`, `dir`, `uid`, `post_date`, `counter`, `exif`, `tag`, `good`, `photo_sort`) values('2','','','201504171214124.jpg','184717','image/jpeg','580','326','2015_08_11','1','2015-08-11 00:17:27','0','[FILE][FileName]=phpXXyHK0||[FILE][FileType]=2||[FILE][MimeType]=image/jpeg||[FILE][FileSize]=184717||[COMPUTED][Width]=580||[COMPUTED][Height]=326||[IFD0][Make]=||[IFD0][Model]=||[IFD0][DateTime]=||[IFD0][Orientation]=||[EXIF][ExposureTime]=||[EXIF][ISOSpeedRatings]=||[COMPUTED][ApertureFNumber]=||[EXIF][Flash]=||[EXIF][FocalLength]=mm||[EXIF][ExposureBiasValue]=EV||[GPS][latitude]=0||[GPS][longitude]=0','','0',0)
0.000142 - select filename,dir from tad_gallery where sn='31'
0.000035 - select filename,dir from tad_gallery where sn='31'
0.000030 - select filename,dir from tad_gallery where sn='31'
總計: 21
discuss pic 2015-08-14 17:41:01
tad
大概是php.ini設定的問題
若無法自行解決,請給我網址帳密。
:::

快速登入


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

計數器

今天: 3912391239123912
昨天: 8625862586258625
總計: 8034519803451980345198034519803451980345198034519