Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: SMF COPPERMINE help  (Read 3096 times)

0 Members and 1 Guest are viewing this topic.

Master-D

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
SMF COPPERMINE help
« on: June 29, 2006, 01:52:56 pm »

i want to remove the 'user galleries' as i get this
Quote
While executing query "SELECT ID_MEMBER as user_id,memberName as user_name,COUNT(DISTINCT a.aid) as alb_count,COUNT(DISTINCT pid) as pic_count,MAX(pid) as thumb_pid, MAX(galleryicon) as gallery_pid FROM cpg_albums AS a INNER JOIN `zgbcpbiv_smf1`.smf_members as u on u.ID_MEMBER+10000=a.category LEFT JOIN cpg_pictures AS p ON p.aid = a.aid WHERE ((isnull(approved) or approved='YES') AND category > 10000)  GROUP BY category ORDER BY category LIMIT 0, 12 " on 0

mySQL error:
Quote
the bridging works fine from the forum, but i need to disable the link it puts in for user galleries, as that feature switches off as soon as i bridge it over.
PLEASE HELP ???

File: /home/*******/public_html/gallery/include/functions.inc.php - Line: 248






Code: [Select]
        if (!$CONFIG['debug_mode']) {
            cpg_die(CRITICAL_ERROR, $lang_errors['database_query'], __FILE__, __LINE__);
        } else {

                $the_error .= "\n\nmySQL error: ".mysql_error()."\n";

                $out = "<br />".$lang_errors['database_query'].".<br /><br/>
                    <form name=\"mysql\"><textarea rows=\"8\" cols=\"60\">".htmlspecialchars($the_error)."</textarea></form>";

            cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
        }
}

// Fetch all rows in an array

/**
 * cpg_db_fetch_rowset()
 *
 * Fetch all rows in an array
 *
these are lines 239 - 258
« Last Edit: June 29, 2006, 02:32:34 pm by Master-D »
Logged

Nibbler

  • Guest
Re: SMF COPPERMINE help
« Reply #1 on: June 29, 2006, 07:08:53 pm »

You can remove user galleries by deleting all albums in user galleries and then disabling creation of new user galleries. Make sure you are using the latest version of Coppermine and refer to the manual and the forums.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.