forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: gtroll on December 06, 2003, 03:59:47 am
-
This is settable in the album properties and group control panel.
BUT there is a bug in cpgnuke1.2.1 scroll down for the answer...
-
Hi Again
I still getting problem all options are activated in group menu. and there is no option in category menu. http://liquidsnake.net/1.jpg See this screen shot. plese tell me in detail. what to do. i check all options but i think this is a problem of SQL or coding. if you want admin pass then tell me. i will gave you in mail. but please solve my problem
Thanks
-
OK this is a bug
FIND line 543 displayimage.php
/*
// Retrieve data for the current album
if (isset($CURRENT_PIC_DATA)) {
$result = db_query("SELECT title, comments, votes, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='{$CURRENT_PIC_DATA['aid']}' LIMIT 1");
if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['pic_in_invalid_album'], $CURRENT_PIC_DATA['aid']), __FILE__, __LINE__);
$CURRENT_ALBUM_DATA = mysql_fetch_array($result);
if (is_numeric($album)) {
Replace with:
// Retrieve data for the current album
if (isset($CURRENT_PIC_DATA)) {
$result = db_query("SELECT title, comments, votes, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='{$CURRENT_PIC_DATA['aid']}' LIMIT 1");
if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['pic_in_invalid_album'], $CURRENT_PIC_DATA['aid']), __FILE__, __LINE__);
$CURRENT_ALBUM_DATA = mysql_fetch_array($result);
}
/*
if (is_numeric($album)) {
This happened when we changed the breadcrumb display....one change can have many effects be careful mod-ing out there....
-
Thanks For helping me.
but tell me where is this file, in which file i replace the code
thanks
-
line 543 modules/coppermine/displayimage.php
The only difference if you notice is the comment /* is moved and a } is added above I provided the example find and replace for your reference...and added the file and line# though editing...
-
I have a kind of similar error. After having updated cpg1.1d to cpg1.2.1nuke i cant post comments. The comments that was added in the 1.1d album is still there, but i cant post new ones.
-
Thanks its working
-
I have a kind of similar error. After having updated cpg1.1d to cpg1.2.1nuke i cant post comments. The comments that was added in the 1.1d album is still there, but i cant post new ones.
I have the same too! I CAN see comments now, but it's not possible to place comments and give votes, is there a fix for it? Thnx in advance!
-
album properties and config?
-
album properties and config?
I've checked that already, but that seems to be OK :-)
This is my DEBUG info:
Debug info Integretion vars
Selected Nuke Theme: Xmas2
Nuke Version: 7.0
Module path modules/coppermine
Nukelink modules.php?name=coppermine
Coppermine Theme: default
$_SERVER vars
DOCUMENT_ROOT: /home/httpd/vhosts/blaat.us/httpdocs
HTTP_ACCEPT_LANGUAGE: nl
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
SCRIPT_FILENAME: /home/httpd/vhosts/blaat.us/httpdocs/modules.php
QUERY_STRING: name=coppermine
PHP_SELF: /modules.php
CPG Config
TABLE_PICTURES cpg_pictures
TABLE_ALBUMS cpg_albums
TABLE_COMMENTS cpg_comments
TABLE_CATEGORIES cpg_categories
TABLE_CONFIG cpg_config
TABLE_USERGROUPS cpg_usergroups
TABLE_VOTES cpg_votes
TABLE_USERS nuke_users
allow_private_albums 0
Site url (ecards_more_pic_target) http://www.blaat.us/
fullpath modules/coppermine/albums/
ALBUM_SET
FORBIDDEN_SET
Language Directory modules/coppermine
Queries
GET Array
(
[name] => coppermine
)
POST Array
(
)
Page generated in 1.131 seconds - 47 queries in 0.19 seconds - Album set :
Advanced debug mode PHP version: 4.3.3
mySQL version: 3.23.56
--------------------------------------------------------------------------------
Image Lib(s)
gd
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On
include_path .:/php/includes:/usr/share/php .:/php/includes:/usr/share/php
open_basedir /home/httpd/vhosts/blaat.us/httpdocs:/tmp no value
email
Directive Local Value Master Value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP localhost localhost
smtp_port 25 25
Size and Time
Directive Local Value Master Value
max_execution_time 6000 6000
max_input_time -1 -1
upload_max_filesize 100M 100M
post_max_size 80M 80M
Maybe you can see an error there? 8)
-
I have the same probleme everything works perfectly i've set up all the configs to what they should be and yet the ranking and the comments do not show up.....
I have installed cpgnuke1.2.1 from scrath (twice) and yet no difference i've also edited to code like you said to do earlier on but with no effect...
I would greatly appreciated it if you could releast a fix to this probleme as this option is what my whole site depends on.
Thanks in Advance,
LaPrank Webmaster
-
I hear ya:
http://coppermine.findhere.org/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=23
-
maybe its just me but your site only has blocks i cannot see any modules and the link you gave doesn't seem to work :?
-
Scrath that last post the fixed work......... Thanks Alot
I suggest that you put it in the releast because this is a quite important to many people and well i think they would apreciate it :D
Smell you later