thx omniscientdeveloper,
your remark brought me to some new ideas
I now tried to enable/disable the bridge to smf, and that turns out to be the problem.
With smf-bridge enabled, i cannot batch-add (single file sometimes works, dunno why)
With smf-bridge disabled, i can batch-add and single file upload works as well.
Here are the 2 debug infos:
smf-bridge enabled:
USER:
------------------
Array
(
[ID] => 6e0869699b5c9f18958644dc2a371dc5
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 342
[1] => 341
) )
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => Ilir
[groups] => Array
(
[0] => 101
)
[disk_max] =>
[disk_min] =>
[can_rate_pictures] =>
[can_send_ecards] =>
[ufc_max] =>
[ufc_min] =>
[custom_user_upload] =>
[num_file_upload] =>
[num_URI_upload] =>
[can_post_comments] =>
[can_upload_pictures] =>
[can_create_albums] =>
[has_admin_access] => 1
[pub_upl_need_approval] =>
[priv_upl_need_approval] =>
[group_name] =>
[upload_form_config] =>
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 101
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg141_filetypes; (0.001s)
[1] => select * from cpg141_plugins order by priority asc; (0s)
[2] => SELECT * FROM cpg141_bridge (0.001s)
[3] => SELECT group_id FROM cpg141_usergroups WHERE has_admin_access (0s)
[4] => SELECT ID_MEMBER as user_id FROM `bmwheaven`.smf_members WHERE ID_POST_GROUP in (1) (0s)
[5] => SELECT u.ID_MEMBER AS id, u.memberName AS username, u.passwd AS password, u.ID_POST_GROUP+100 AS group_id FROM `bmwheaven`.smf_members AS u INNER JOIN `bmwheaven`.smf_membergroups AS g ON u.ID_POST_GROUP=g.ID_GROUP WHERE u.ID_MEMBER='1' (0.001s)
[6] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg141_usergroups WHERE group_id in (101) (0.001s)
[7] => SELECT group_name FROM cpg141_usergroups WHERE group_id= 101 (0s)
[8] => SELECT user_favpics FROM cpg141_favpics WHERE user_id = 1 (0.001s)
[9] => DELETE FROM cpg141_banned WHERE expiry < '2005-03-09 13:21:26' (0s)
[10] => SELECT * FROM cpg141_banned WHERE (ip_addr='83.83.11.246' OR ip_addr='83.83.11.246' OR user_id=1) AND brute_force=0 (0s)
[11] => SELECT aid, title FROM cpg141_albums WHERE 1 (0.001s)
[12] => SELECT COUNT(*) FROM cpg141_pictures WHERE approved = 'NO' (0.001s)
[13] => SELECT filepath, filename FROM cpg141_pictures WHERE filepath LIKE 'gallery/models/6series/e63%' (0.003s)
[14] => SELECT aid, title FROM cpg141_albums WHERE category = 0 (0.001s)
[15] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg141_albums as a, cpg141_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.004s)
[16] => SELECT aid, CONCAT('(', memberName, ') ', a.title) AS title
FROM cpg141_albums AS a
INNER JOIN `bmwheaven`.smf_members AS u
ON category = (10000 + ID_MEMBER)
ORDER BY title (0.002s)
)
==========================
GET :
------------------
Array
(
[startdir] => gallery/models/6series/e63
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.3 - OK
------------------
mySQL version: 4.0.15
------------------
Coppermine version: 1.4.1(beta)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /home/httpd/vhosts/bmwheaven.bmwsport.net/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.307 seconds - 17 queries in 0.017 seconds - Album set : ; Meta set: ;
smf-bridge disabled:
USER:
------------------
Array
(
[ID] => 6e0869699b5c9f18958644dc2a371dc5
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 342
[1] => 341
) )
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => ilir
[groups] => Array
(
[0] => 1
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg141_filetypes; (0.001s)
[1] => select * from cpg141_plugins order by priority asc; (0s)
[2] => SELECT group_id FROM cpg141_usergroups WHERE has_admin_access (0s)
[3] => SELECT user_id as user_id FROM `bmwheaven`.cpg141_users WHERE user_group in (1) (0s)
[4] => delete from `bmwheaven`.cpg141_sessions where time<1110371011 and remember=0; (0s)
[5] => delete from `bmwheaven`.cpg141_sessions where time<1109165011; (0s)
[6] => select user_id from `bmwheaven`.cpg141_sessions where session_id=md5("b6ac5c14339683ed13201ecf1bd84342f5a469bb3a6ce0746fffeadb715f60a7"); (0s)
[7] => select user_id as id, user_password as password from `bmwheaven`.cpg141_users where user_id=1 (0s)
[8] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bmwheaven`.cpg141_users AS u INNER JOIN `bmwheaven`.cpg141_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[9] => SELECT user_group_list FROM `bmwheaven`.cpg141_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
[10] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg141_usergroups WHERE group_id in (1) (0.001s)
[11] => SELECT group_name FROM cpg141_usergroups WHERE group_id= 1 (0s)
[12] => update `bmwheaven`.cpg141_sessions set time='1110374611' where session_id=md5('b6ac5c14339683ed13201ecf1bd84342f5a469bb3a6ce0746fffeadb715f60a7'); (0.001s)
[13] => SELECT user_favpics FROM cpg141_favpics WHERE user_id = 1 (0.001s)
[14] => DELETE FROM cpg141_banned WHERE expiry < '2005-03-09 13:23:31' (0s)
[15] => SELECT * FROM cpg141_banned WHERE (ip_addr='83.83.11.246' OR ip_addr='83.83.11.246' OR user_id=1) AND brute_force=0 (0s)
[16] => SELECT aid, title FROM cpg141_albums WHERE 1 (0.001s)
[17] => SELECT COUNT(*) FROM cpg141_pictures WHERE approved = 'NO' (0.001s)
[18] => SELECT filepath, filename FROM cpg141_pictures WHERE filepath LIKE 'gallery/models/6series/e63%' (0.003s)
[19] => SELECT aid, title FROM cpg141_albums WHERE category = 0 (0.001s)
[20] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg141_albums as a, cpg141_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.004s)
[21] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
FROM cpg141_albums AS a
INNER JOIN `bmwheaven`.cpg141_users AS u
ON category = (10000 + user_id)
ORDER BY title (0.001s)
)
==========================
GET :
------------------
Array
(
[startdir] => gallery/models/6series/e63
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.3 - OK
------------------
mySQL version: 4.0.15
------------------
Coppermine version: 1.4.1(beta)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /home/httpd/vhosts/bmwheaven.bmwsport.net/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.2 seconds - 22 queries in 0.016 seconds - Album set : ; Meta set: ;
I'm really lost here, any ideas what's wrong with the bridge file?