coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: electroduende on June 23, 2004, 04:10:26 AM

Title: [Solved]: Undefined variable?
Post by: electroduende on June 23, 2004, 04:10:26 AM
hello, sorry my basic english..
i installed coppermine + yabbse 1.5.5 and is very good but when access users it appears this notice..

Notice: Undefined variable: cm_group_id in /xxxxx/xxxxx/xxxxx/yabbse.inc.php on line 186
i dont't understand everywell this notice  :-\\, can you helpme please

thanks
Title: Re: Undefined variable?
Post by: Joachim Müller on June 23, 2004, 05:28:34 AM
link and test user login (non-admin account).

GauGau
Title: Re: Undefined variable?
Post by: electroduende on June 23, 2004, 03:56:58 PM
I install coppermine with one administrative user (I put the same one to him which in yabbse but with different password because but he does not leave me) for the administrative user requests to me is no error, but for anyone of the normal users tue error is present.
I modify before the installation the file include/init.inc.php stops:  define('UDB_INTEGRATION', ' yabbse ');  and separate modique also the file bridge/yabbse.inc.php in the the correct route.  i dont understand  ???
Title: Re: Undefined variable?
Post by: Joachim Müller on June 23, 2004, 05:57:45 PM
do as I suggested if you want me to try to help.

GauGau
Title: Re: Undefined variable?
Post by: electroduende on June 23, 2004, 06:10:20 PM
I believe that I understand to you but it does not work..  :-\\
in the admin panel i put on all users options & not work, the notice is the same one
Title: Re: Undefined variable?
Post by: Joachim Müller on June 25, 2004, 01:04:48 AM
let me repeat, in case this is a language issue: I want you to paste the URL of your coppermine gallery into your next posting, together with a username and password of a test user that doesn't have admin privileges on your gallery. If you don't, I'm not willing to look into this any further.

GauGau
Title: Re: Undefined variable?
Post by: electroduende on June 25, 2004, 12:49:46 PM
resolved  :)
the problem was that it does not hold the additional groups that are created in yabbse, thanks
Title: Re: [Solved]: Undefined variable?
Post by: Fireraid on August 13, 2004, 09:08:47 PM
Hi
i installed CPG 1.3.1 Standalone + yabbse 1.5.5


I got this notice when a regisered user tried to access CPG / (There is no problem when login in with admin account or if u are a guest)

Notice: Undefined variable: cm_group_id in /xxxxx/xxxxx/xxxxx/yabbse.inc.php on line 186

So i edited yabbse.inc.php and removed

if (!$cm_group_id)  on line 186

This solved the problem.