coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: ferrer on February 06, 2006, 04:30:29 PM

Title: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 04:30:29 PM
Hi,

I have been reading and reading and reading on this. No anwsers..
I have my joomla site, and a coppermine install. All I want to do is sycronise the users / passwords and have a unified login. I use the bridge included with coppermine (selecting the mambo option), but then coppermine doesnt error, but wont see me as logged in. If i click on the "login" buttone i just get redirected to my joomla index.php. I login again, and no joy in my coppermine install. Does not see me as logged in.

i know about the copperminevis component, but its commericial. Anyone got a joomla integration working?
Other info.

joomla site is on www.site.com/content
coppermine is on www.site.com/gallery

Both have different MySQl databases, but permissions to read / write to both.

I have read the installation / intergration instructions

(GauGau - i have read your requirements for posting on here, but my site is on an intranet and not available externally, i dont mean to make life difficult)



help!
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: Nibbler on February 06, 2006, 04:39:02 PM
It sounds like a cookie issue. Make sure that the joomla cookies are readable from where Coppermine is located. That means that the path should be '/'. Posting debug info would help in this case.
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 05:00:13 PM
My cookie path is set to / in the coppermine config. Are there any permissions I should check on the server?

How do i get my debug info?

Thank you very much for your quick reply.

T
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: Nibbler on February 06, 2006, 05:12:14 PM
I was referring to the cookie path in joomla. Debug info can be obtained by enabling debug mode in config. Make sure you post the debug info that you get when you should in theory be logged into coppermine with your joomla user.
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 05:34:24 PM
I cannot find a setting in admin of joomla to check / alter my cookie path. Im googling now, to see if there is something I am missing.
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 05:52:15 PM
I added a new user in joomla and it passed it WAS pased on to coppermine, but when clicking "users" in coppermine, i got this error

While executing query "SELECT id as user_id, username as user_name, email as user_email, UNIX_TIMESTAMP(registerDate) as user_regdate, UNIX_TIMESTAMP(lastvisitDate) as user_lastvisit, 1-block as user_active, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota FROM `joomla`.jos_users AS u INNER JOIN cpg143_usergroups AS g ON u.gid+100 = g.group_id LEFT JOIN cpg143_pictures AS p ON p.owner_id = u.id GROUP BY user_id ORDER BY user_regdate DESC LIMIT 0, 25;" on Resource id #17

mySQL error: Table 'joomla.cpg143_usergroups' doesn't exist

debug info

USER:
------------------
Array
(
    [ID] => bd9439e84bf9cd6eb0b48ed44199c336
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 65
    [user_name] => test
    [groups] => Array
        (
           
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 06:35:14 PM
No changes, and it doesnt recognise my test login anymore. Is there anything more i can post that may help?
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: Nibbler on February 06, 2006, 06:36:58 PM
I don't know enough about mambo/joomla to fix this, sorry.
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 06, 2006, 06:38:20 PM
Thanks for your candour...

its very strange, hopefully someone else has succesfully achieved this.

Thanks anyway, t
Title: Re: Cannot create simple bridge between Joomla and CPG
Post by: ferrer on February 13, 2006, 10:45:17 PM
After more research It seems this is a common problem. Perhaps there is a problem with the bridge included with this release, do any members of the dev team have any ideas?

Thanks for your help, and work on a great product.

Tristan