cb profile gallery plugin error

15 years 6 months ago #77842 by mpausch
cb profile gallery plugin error was created by mpausch
Hi all,

I have joom 1.5.7, CB 1.2 RC3, php 5.2.6, etc etc.

I recently moved my database from a joom 1.0.15 site to a joom 1.5.7 site.

Everything seems to be working fine except with the profile gallery. 2 things:

1. In the front end, when you click an image, the popup window opens but it blank.
2. In admin, when I make a change to a user profile I get this error message (see image)

So far I have uninstalled and reinstalled comprofiler, the cb profile gallery plugin and cb gallery module. I also made sure to get the latest versions from this site.

I know for a fact that its the cb profile gallery plugin thats causing the problem because if I unpublish it, there are no errors in user manager when saving.

Any help would be greatly appreciated.

thanks
michael

(some unimportant stuff edited out of picture)
www.cascadealpacabreeders.com/images/error.jpg

Post edited by: mpausch, at: 2008/10/20 23:00

Post edited by: mpausch, at: 2008/10/20 23:06
Attachments:

Please Log in to join the conversation.

15 years 6 months ago #77846 by mpausch
Hi CB team,

I might have found a typo in the code for the cb gallery plugin.

Take a look at cb.profilegallery.php

I made the change and it fixed the part of my problem in admin.

The code I changed was...

if ($ui == 2) {

// Last Update Date (information field only):

$cb_pglastupdate = $this->_getReqParam("cb_pglastupdate", null);

if ($cb_pglastupdate !== null) {

$user->cb_pglastupdate = $cb_pglasupdate;


missing letter "t".

When display format is set to pictures gallery list format, I'm still not getting an image displayed in the popup window.
Both lightbox and file list format work fine though.

thanks,
michael

Post edited by: mpausch, at: 2008/10/21 01:02

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.172 seconds

Facebook Twitter LinkedIn