Hi,
I am using Mambo 4.5.2.3 and Coppermine 1.4.1 with the bridge you guys are working with here and I am having a problem as well that might be related to this.
I would be interested in helping you fix this so maybe I can use coppermine on my site properly.
The site is at falomi.net/gallery
I have tried to visually integrate it using steps found here
http://forum.mamboserver.com/showthread.php?p=254241#post254241Now, there are a lot of people who do this so I think it only seems right for you to look at it this way too. It isnt much of an edit we are doing with this but it is pretty neat if it works.
Whether you decide to look at this or not, lots of people are trying to use coppermine this way and I feel it would be a good idea to work together on this.
If you have a look at the site at falomi.net/gallery you will see whats happening.
I have followed all the steps numerous times and Im not quite sure whats happening but...
I get this {MAIN_MENU} {COPPERMINE_PATHWAY} and You are not authorized to view this resource. You need to login.
It seems to be not parsing things together properly. Some people are able to do this ok but not me.
Here is some info about the server...
PHP built On: Linux locus.webserversystems.com 2.4.31-grsec #2 SMP Wed Jul 20 16:19:09 EDT 2005 i686
Database Version: 4.0.24-standard
PHP Version: 4.3.11
Web Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
WebServer to PHP interface: cgi
Mambo Version: Mambo 4.5.2.3 Stable [ Titan Reassigned ] 15-June-2005 04:30 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Relevant PHP Settings: Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor
Here is the debug info from Coppermine
USER:
------------------
Array
(
[ID] => ed652fbdfda9a6afb2a09fb96ae45866
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 0
[user_name] => Guest
[groups] => Array
(
[0] => 3
)
[group_quota] => 0
[can_rate_pictures] => 0
[can_send_ecards] => 0
[can_post_comments] => 0
[can_upload_pictures] => 0
[can_create_albums] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[upload_form_config] => 3
[num_file_upload] => 5
[num_URI_upload] => 3
[custom_user_upload] => 0
[disk_max] => 0
[disk_min] => 0
[ufc_max] => 3
[ufc_min] => 3
[has_admin_access] => 0
[group_name] => Guests
[can_see_all_albums] => 0
[group_id] => 3
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg140_filetypes; (0.002s)
[1] => select * from cpg140_plugins order by priority asc; (0.001s)
[2] => SELECT * FROM cpg140_bridge (0.001s)
[3] => delete from `falomi_mamb1`.mos_session where (time < 1122369815); (0.039s)
[4] => select userid from `falomi_mamb1`.mos_session where session_id=md5("054a847093091395e2d075a4f38a0a7570.49.11.114"); (0s)
[5] => select id, password from `falomi_mamb1`.mos_users where id=0 (0.013s)
[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 cpg140_usergroups WHERE group_id in (3) (0.002s)
[7] => SELECT group_name FROM cpg140_usergroups WHERE group_id= 3 (0s)
[8] => update `falomi_mamb1`.mos_session set time="1122370715" where session_id=md5("054a847093091395e2d075a4f38a0a7570.49.11.114"); (0s)
[9] => DELETE FROM cpg140_banned WHERE expiry < '2005-07-26 09:38:40' (0.085s)
[10] => SELECT * FROM cpg140_banned WHERE (ip_addr='70.49.11.114' OR ip_addr='70.49.11.114' OR user_id=0) AND brute_force=0 (0s)
[11] => SELECT aid FROM cpg140_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0.035s)
[12] => SELECT aid FROM cpg140_albums WHERE category = 0 (0.001s)
[13] => SELECT cid FROM cpg140_categories WHERE parent = '0' (0.006s)
[14] => SELECT aid FROM cpg140_albums as a WHERE category>=10000 (0s)
[15] => SELECT cid FROM cpg140_categories WHERE parent = '1' (0s)
[16] => SELECT aid FROM cpg140_albums WHERE category = 2 (0s)
[17] => SELECT cid FROM cpg140_categories WHERE parent = '2' (0.001s)
[18] => SELECT aid FROM cpg140_albums WHERE category = 7 (0s)
[19] => SELECT cid FROM cpg140_categories WHERE parent = '7' (0s)
[20] => SELECT aid FROM cpg140_albums WHERE category = 8 (0s)
[21] => SELECT cid FROM cpg140_categories WHERE parent = '8' (0s)
[22] => SELECT aid FROM cpg140_albums WHERE category = 9 (0s)
[23] => SELECT cid FROM cpg140_categories WHERE parent = '9' (0s)
[24] => SELECT aid FROM cpg140_albums WHERE category = 3 (0s)
[25] => SELECT cid FROM cpg140_categories WHERE parent = '3' (0s)
[26] => SELECT aid FROM cpg140_albums WHERE category = 10 (0s)
[27] => SELECT cid FROM cpg140_categories WHERE parent = '10' (0s)
[28] => SELECT aid FROM cpg140_albums WHERE category = 11 (0s)
[29] => SELECT cid FROM cpg140_categories WHERE parent = '11' (0s)
[30] => SELECT aid FROM cpg140_albums WHERE category = 12 (0s)
[31] => SELECT cid FROM cpg140_categories WHERE parent = '12' (0s)
[32] => SELECT aid FROM cpg140_albums WHERE category = 13 (0s)
[33] => SELECT cid FROM cpg140_categories WHERE parent = '13' (0s)
[34] => SELECT aid FROM cpg140_albums WHERE category = 14 (0s)
[35] => SELECT cid FROM cpg140_categories WHERE parent = '14' (0s)
[36] => SELECT aid FROM cpg140_albums WHERE category = 15 (0s)
[37] => SELECT cid FROM cpg140_categories WHERE parent = '15' (0s)
[38] => SELECT aid FROM cpg140_albums WHERE category = 4 (0s)
[39] => SELECT cid FROM cpg140_categories WHERE parent = '4' (0s)
[40] => SELECT aid FROM cpg140_albums WHERE category = 16 (0s)
[41] => SELECT cid FROM cpg140_categories WHERE parent = '16' (0s)
[42] => SELECT aid FROM cpg140_albums WHERE category = 17 (0s)
[43] => SELECT cid FROM cpg140_categories WHERE parent = '17' (0s)
[44] => SELECT aid FROM cpg140_albums WHERE category = 18 (0s)
[45] => SELECT cid FROM cpg140_categories WHERE parent = '18' (0s)
[46] => SELECT aid FROM cpg140_albums WHERE category = 5 (0s)
[47] => SELECT cid FROM cpg140_categories WHERE parent = '5' (0s)
[48] => SELECT aid FROM cpg140_albums WHERE category = 19 (0s)
[49] => SELECT cid FROM cpg140_categories WHERE parent = '19' (0s)
[50] => SELECT aid FROM cpg140_albums WHERE category = 20 (0s)
[51] => SELECT cid FROM cpg140_categories WHERE parent = '20' (0s)
[52] => SELECT aid FROM cpg140_albums WHERE category = 21 (0s)
[53] => SELECT cid FROM cpg140_categories WHERE parent = '21' (0s)
[54] => SELECT aid FROM cpg140_albums WHERE category = 22 (0s)
[55] => SELECT cid FROM cpg140_categories WHERE parent = '22' (0s)
[56] => SELECT aid FROM cpg140_albums WHERE category = 23 (0s)
[57] => SELECT cid FROM cpg140_categories WHERE parent = '23' (0s)
[58] => SELECT aid FROM cpg140_albums WHERE category = 24 (0s)
[59] => SELECT cid FROM cpg140_categories WHERE parent = '24' (0s)
[60] => SELECT aid FROM cpg140_albums WHERE category = 6 (0s)
[61] => SELECT cid FROM cpg140_categories WHERE parent = '6' (0s)
[62] => SELECT aid FROM cpg140_albums WHERE category = 25 (0s)
[63] => SELECT cid FROM cpg140_categories WHERE parent = '25' (0s)
[64] => SELECT aid FROM cpg140_albums WHERE category = 26 (0s)
[65] => SELECT cid FROM cpg140_categories WHERE parent = '26' (0s)
[66] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '' ORDER BY pos (0s)
[67] => SELECT aid FROM cpg140_albums WHERE category = 2 (0s)
[68] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 2 (0.002s)
[69] => SELECT count(*) FROM cpg140_albums as a WHERE category = '2' (0s)
[70] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1 (0s)
[71] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword FROM cpg140_albums AS a LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved = 'YES' WHERE a.aid IN (1)GROUP BY p.aid (0.001s)
[72] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='7' (0s)
[73] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '2' ORDER BY pos (0s)
[74] => SELECT aid FROM cpg140_albums WHERE category = 7 (0s)
[75] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 7 (0s)
[76] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '7' ORDER BY pos (0s)
[77] => SELECT aid FROM cpg140_albums WHERE category = 8 (0s)
[78] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 8 (0s)
[79] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '8' ORDER BY pos (0s)
[80] => SELECT aid FROM cpg140_albums WHERE category = 9 (0s)
[81] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 9 (0s)
[82] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '9' ORDER BY pos (0s)
[83] => SELECT aid FROM cpg140_albums as a WHERE category>=10000 (0s)
[84] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category >= 10000 (0s)
[85] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '1' ORDER BY pos (0s)
[86] => SELECT aid FROM cpg140_albums WHERE category = 3 (0s)
[87] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 3 (0s)
[88] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '3' ORDER BY pos (0s)
[89] => SELECT aid FROM cpg140_albums WHERE category = 10 (0s)
[90] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 10 (0s)
[91] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '10' ORDER BY pos (0s)
[92] => SELECT aid FROM cpg140_albums WHERE category = 11 (0s)
[93] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 11 (0s)
[94] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '11' ORDER BY pos (0s)
[95] => SELECT aid FROM cpg140_albums WHERE category = 12 (0s)
[96] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 12 (0s)
[97] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '12' ORDER BY pos (0.001s)
[98] => SELECT aid FROM cpg140_albums WHERE category = 13 (0s)
[99] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 13 (0s)
[100] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '13' ORDER BY pos (0s)
[101] => SELECT aid FROM cpg140_albums WHERE category = 14 (0s)
[102] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 14 (0s)
[103] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '14' ORDER BY pos (0s)
[104] => SELECT aid FROM cpg140_albums WHERE category = 15 (0s)
[105] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 15 (0s)
[106] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '15' ORDER BY pos (0s)
[107] => SELECT aid FROM cpg140_albums WHERE category = 4 (0s)
[108] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 4 (0.001s)
[109] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '4' ORDER BY pos (0.001s)
[110] => SELECT aid FROM cpg140_albums WHERE category = 16 (0s)
[111] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 16 (0s)
[112] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '16' ORDER BY pos (0s)
[113] => SELECT aid FROM cpg140_albums WHERE category = 17 (0s)
[114] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 17 (0s)
[115] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '17' ORDER BY pos (0s)
[116] => SELECT aid FROM cpg140_albums WHERE category = 18 (0s)
[117] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 18 (0s)
[118] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '18' ORDER BY pos (0s)
[119] => SELECT aid FROM cpg140_albums WHERE category = 5 (0s)
[120] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 5 (0.001s)
[121] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '5' ORDER BY pos (0s)
[122] => SELECT aid FROM cpg140_albums WHERE category = 19 (0s)
[123] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 19 (0s)
[124] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '19' ORDER BY pos (0s)
[125] => SELECT aid FROM cpg140_albums WHERE category = 20 (0s)
[126] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 20 (0s)
[127] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '20' ORDER BY pos (0s)
[128] => SELECT aid FROM cpg140_albums WHERE category = 21 (0s)
[129] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 21 (0s)
[130] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '21' ORDER BY pos (0s)
[131] => SELECT aid FROM cpg140_albums WHERE category = 22 (0s)
[132] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 22 (0s)
[133] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '22' ORDER BY pos (0s)
[134] => SELECT aid FROM cpg140_albums WHERE category = 23 (0s)
[135] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 23 (0s)
[136] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '23' ORDER BY pos (0s)
[137] => SELECT aid FROM cpg140_albums WHERE category = 24 (0s)
[138] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 24 (0s)
[139] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '24' ORDER BY pos (0s)
[140] => SELECT aid FROM cpg140_albums WHERE category = 6 (0s)
[141] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 6 (0s)
[142] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '6' ORDER BY pos (0s)
[143] => SELECT aid FROM cpg140_albums WHERE category = 25 (0s)
[144] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 25 (0s)
[145] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '25' ORDER BY pos (0s)
[146] => SELECT aid FROM cpg140_albums WHERE category = 26 (0s)
[147] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 26 (0s)
[148] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '26' ORDER BY pos (0s)
[149] => SELECT aid FROM cpg140_albums as a WHERE category = '0' (0s)
[150] => SELECT count(*) FROM cpg140_albums as a WHERE 1 (0s)
[151] => SELECT count(*) FROM cpg140_pictures as p LEFT JOIN cpg140_albums as a ON a.aid=p.aid WHERE 1 (0s)
[152] => SELECT count(*) FROM cpg140_comments as c LEFT JOIN cpg140_pictures as p ON c.pid=p.pid LEFT JOIN cpg140_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
[153] => SELECT count(*) FROM cpg140_categories WHERE 1 (0s)
[154] => SELECT sum(hits) FROM cpg140_pictures as p LEFT JOIN cpg140_albums as a ON p.aid=a.aid WHERE 1 (0s)
[155] => SELECT count(*) FROM cpg140_albums as a WHERE category = '0' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
Page generated in 5.413 seconds - 156 queries in 0.194 seconds - Album set : ; Meta set: AND aid IN (1,2,3) ;
Notices
/bridge/mambo.inc.php
Warning line 354: Missing argument 1 for session_extraction()
Notice line 150: Undefined index: usercookie
/themes/coppermambo/template.html
Notice line 72: Undefined variable: str
/index.php
Notice line 726: Undefined variable: file
I dont know what the errors mean but I have tried everything and I cant figure it out. It seems that other users are having this same problem and some are able to solve it and others are not. So hopefully this information can help you in some way
Ryan