forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: panhead on June 17, 2009, 01:23:50 pm

Title: [Closed]: CPGMark installation error
Post by: panhead on June 17, 2009, 01:23:50 pm
I installed CPGmark, got the following messages:

CREATE TABLE `cpg11d_mark_watermark` ( `pid` INT NOT NULL, `watermarked` TINYINT NOT NULL, PRIMARY KEY (`pid`) ) TYPE=MyISAM   OK
CREATE TABLE `cpg11d_mark_users` ( `user_id` int(11) NOT NULL default '0', `use_watermark_img` tinyint(4) NOT NULL default '0', `img_vpos` varchar(10) NOT NULL default '', `img_hpos` varchar(10) NOT NULL default '', `use_watermark_txt` tinyint(4) NOT NULL default '0', `watermark_text` varchar(255) NOT NULL default '', `watermark_text_size` tinyint(4) NOT NULL default '0', `large_watermark_text_size` tinyint(4) NOT NULL default '0', `watermark_text_color` varchar(6) NOT NULL default '', `txt_vpos` varchar(10) NOT NULL default '', `txt_hpos` varchar(10) NOT NULL default '', PRIMARY KEY (`user_id`) ) TYPE=MyISAM   OK
CREATE TABLE `cpg11d_mark_config` ( `name` varchar(40) NOT NULL default '', `value` varchar(255) NOT NULL default '', PRIMARY KEY (`name`) ) TYPE=MyISAM   OK
INSERT INTO `cpg11d_mark_config` VALUES ('watermark_path', 'watermarks/')   OK
INSERT INTO `cpg11d_mark_config` VALUES ('small_watermark_image', 'watermark.png')   OK
INSERT INTO `cpg11d_mark_config` VALUES ('large_watermark_image', 'watermark_large.png')   OK
INSERT INTO `cpg11d_mark_config` VALUES ('display_image_mark', '0')   OK
INSERT INTO `cpg11d_mark_config` VALUES ('upload_mark', '1')   OK
INSERT INTO `cpg11d_mark_config` VALUES ('user_watermark', '0')


But next:

Critical error
There was an error while processing a database query

What went wrong? I downloaded the most recent verion and have the most recent coppermine version.
Title: Re: CPGMark installation error
Post by: Nibbler on June 17, 2009, 02:13:17 pm
Enable debug mode and post the actual error.

http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: CPGMark installation error
Post by: panhead on June 17, 2009, 02:23:01 pm
This is was I got:

USER:
------------------
Array
(
    [ID] => b26cf9f44f2bd90ab8414117dfd49c4b
    [am] => 1
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => panhead
    [group_name] => Administrators
    [groups] => Array
        (
            [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
Title: Re: CPGMark installation error
Post by: panhead on June 17, 2009, 02:26:07 pm
And this one:

While executing query "SELECT * FROM cpg11d_mark_users WHERE user_id = 3" on 0

mySQL error:
Title: Re: CPGMark installation error
Post by: panhead on June 17, 2009, 03:20:04 pm
I solved the problem by deleting CPGmark from the plugin folder.

Can you please delete CPGMark form the plugins download list?
Title: Re: CPGMark installation error
Post by: Joachim Müller on June 17, 2009, 07:27:41 pm
Can you please delete CPGMark form the plugins download list?
Certainly not - just because you have no idea how to use it we certainly won't remove it for others. What a silly request.
Title: Re: [Closed]: CPGMark installation error
Post by: panhead on June 17, 2009, 08:38:02 pm
What makes you suggest I have no idea how to use it? Just following the description gave this result.
Title: Re: [Closed]: CPGMark installation error
Post by: Joachim Müller on June 17, 2009, 08:46:58 pm
Sure, whatever ::). I'm not going to argue with you. Case closed, thread locked.