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: I am taking one mistake (Eat wrong since I wrote , i apologize)  (Read 2416 times)

0 Members and 1 Guest are viewing this topic.

Turkey

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Hello the friends,

There is one problem in the picture gallery


Fatal error :

While executing query "SELECT * FROM cpg14x_config" on 0

mySQL error: Table 'berberku_galeri.cpg14x_config' doesn't exist

I don't know good english.I because apologize from this.I am doing the translation with one programme.If you write we can agree.


I am waiting for your helps...
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: I am taking one mistake (Eat wrong since I wrote , i apologize)
« Reply #2 on: March 15, 2009, 03:08:39 pm »

The error message should be quite self-explanatory: at least one mySQL table is missing. If your gallery used to work before and has stopped working, then restore the missing table from a backup if you have one. If you don't have a backup, create the table from scratch using a third party tool like phpMyAdmin. The sql command to create the missing table would be
Code: [Select]
CREATE TABLE cpg14x_config (
  name varchar(40) NOT NULL default '',
  value varchar(255) NOT NULL default '',
  PRIMARY KEY  (name)
) TYPE=MyISAM COMMENT='Used to store the configuration options';
To populate that table with default values, perform the query
Code: [Select]
INSERT INTO cpg14x_config VALUES ('admin_activation', '0');
INSERT INTO cpg14x_config VALUES ('alb_list_thumb_size', '50');
INSERT INTO cpg14x_config VALUES ('album_list_cols', '2');
INSERT INTO cpg14x_config VALUES ('albums_per_page', '12');
INSERT INTO cpg14x_config VALUES ('allow_duplicate_emails_addr', '0');
INSERT INTO cpg14x_config VALUES ('allow_email_change', '0');
INSERT INTO cpg14x_config VALUES ('allow_memberlist', '0');
INSERT INTO cpg14x_config VALUES ('allow_private_albums', '1');
INSERT INTO cpg14x_config VALUES ('allow_unlogged_access', '1');
INSERT INTO cpg14x_config VALUES ('allow_user_registration', '0');
INSERT INTO cpg14x_config VALUES ('allowed_doc_types', 'doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb');
INSERT INTO cpg14x_config VALUES ('allowed_img_types', 'ALL');
INSERT INTO cpg14x_config VALUES ('allowed_mov_types', 'ALL');
INSERT INTO cpg14x_config VALUES ('allowed_snd_types', 'mp3/midi/mid/wma/wav/ogg');
INSERT INTO cpg14x_config VALUES ('auto_resize', '0');
INSERT INTO cpg14x_config VALUES ('ban_private_ip', '0');
INSERT INTO cpg14x_config VALUES ('bridge_enable', '0');
INSERT INTO cpg14x_config VALUES ('browse_batch_add', '1');
INSERT INTO cpg14x_config VALUES ('caption_in_thumbview', '1');
INSERT INTO cpg14x_config VALUES ('categories_alpha_sort', '0');
INSERT INTO cpg14x_config VALUES ('charset', 'utf-8');
INSERT INTO cpg14x_config VALUES ('clickable_keyword_search', '1');
INSERT INTO cpg14x_config VALUES ('comments_anon_pfx', 'Guest_');
INSERT INTO cpg14x_config VALUES ('comments_sort_descending', '0');
INSERT INTO cpg14x_config VALUES ('cookie_name', 'coppermine');
INSERT INTO cpg14x_config VALUES ('cookie_path', '/');
INSERT INTO cpg14x_config VALUES ('custom_footer_path', '');
INSERT INTO cpg14x_config VALUES ('custom_header_path', '');
INSERT INTO cpg14x_config VALUES ('custom_lnk_name', '');
INSERT INTO cpg14x_config VALUES ('custom_lnk_url', '');
INSERT INTO cpg14x_config VALUES ('debug_mode', '0');
INSERT INTO cpg14x_config VALUES ('debug_notice', '0');
INSERT INTO cpg14x_config VALUES ('default_dir_mode', '0755');
INSERT INTO cpg14x_config VALUES ('default_file_mode', '0644');
INSERT INTO cpg14x_config VALUES ('default_sort_order', 'na');
INSERT INTO cpg14x_config VALUES ('disable_comment_flood_protect', '0');
INSERT INTO cpg14x_config VALUES ('display_comment_count', '0');
INSERT INTO cpg14x_config VALUES ('display_faq', '0');
INSERT INTO cpg14x_config VALUES ('display_filename','0');
INSERT INTO cpg14x_config VALUES ('display_film_strip_filename', '0');
INSERT INTO cpg14x_config VALUES ('display_film_strip', '1');
INSERT INTO cpg14x_config VALUES ('display_pic_info', '0');
INSERT INTO cpg14x_config VALUES ('display_uploader', '0');
INSERT INTO cpg14x_config VALUES ('ecards_more_pic_target', 'http://coppermine.sourceforge.net/');
INSERT INTO cpg14x_config VALUES ('email_comment_notification', '0');
INSERT INTO cpg14x_config VALUES ('enable_encrypted_passwords','1');
INSERT INTO cpg14x_config VALUES ('enable_help', '2');
INSERT INTO cpg14x_config VALUES ('enable_plugins', '1');
INSERT INTO cpg14x_config VALUES ('enable_smilies', '1');
INSERT INTO cpg14x_config VALUES ('enable_zipdownload', '1');
INSERT INTO cpg14x_config VALUES ('filter_bad_words', '0');
INSERT INTO cpg14x_config VALUES ('first_level', '1');
INSERT INTO cpg14x_config VALUES ('forbiden_fname_char', '$/\\\\:*?"\'<>|` &');
INSERT INTO cpg14x_config VALUES ('fullpath', 'albums/');
INSERT INTO cpg14x_config VALUES ('gallery_admin_email', 'you@somewhere.com');
INSERT INTO cpg14x_config VALUES ('gallery_description', 'Your online photo album');
INSERT INTO cpg14x_config VALUES ('gallery_name', 'Coppermine Photo Gallery');
INSERT INTO cpg14x_config VALUES ('hit_details', '0');
INSERT INTO cpg14x_config VALUES ('home_target', 'index.php');
INSERT INTO cpg14x_config VALUES ('im_options', '-antialias');
INSERT INTO cpg14x_config VALUES ('impath', '');
INSERT INTO cpg14x_config VALUES ('jpeg_qual', '80');
INSERT INTO cpg14x_config VALUES ('keep_votes_time', '30');
INSERT INTO cpg14x_config VALUES ('lang', 'english');
INSERT INTO cpg14x_config VALUES ('language_fallback', '1');
INSERT INTO cpg14x_config VALUES ('language_flags', '0');
INSERT INTO cpg14x_config VALUES ('language_list', '0');
INSERT INTO cpg14x_config VALUES ('language_reset', '1');
INSERT INTO cpg14x_config VALUES ('link_pic_count', '0');
INSERT INTO cpg14x_config VALUES ('log_ecards', '0');
INSERT INTO cpg14x_config VALUES ('log_mode', '0');
INSERT INTO cpg14x_config VALUES ('login_expiry', '10');
INSERT INTO cpg14x_config VALUES ('login_threshold', '5');
INSERT INTO cpg14x_config VALUES ('main_page_layout', 'breadcrumb/catlist/alblist/random,2/lastup,2');
INSERT INTO cpg14x_config VALUES ('main_table_width', '100%');
INSERT INTO cpg14x_config VALUES ('make_intermediate', '1');
INSERT INTO cpg14x_config VALUES ('max_com_lines', '10');
INSERT INTO cpg14x_config VALUES ('max_com_size', '512');
INSERT INTO cpg14x_config VALUES ('max_com_wlength', '38');
INSERT INTO cpg14x_config VALUES ('max_film_strip_items', '5');
INSERT INTO cpg14x_config VALUES ('max_img_desc_length', '512');
INSERT INTO cpg14x_config VALUES ('max_tabs', '12');
INSERT INTO cpg14x_config VALUES ('max_upl_size', '1024');
INSERT INTO cpg14x_config VALUES ('max_upl_width_height', '2048');
INSERT INTO cpg14x_config VALUES ('media_autostart', '1');
INSERT INTO cpg14x_config VALUES ('min_votes_for_rating', '1');
INSERT INTO cpg14x_config VALUES ('normal_pfx', 'normal_');
INSERT INTO cpg14x_config VALUES ('offline', '0');
INSERT INTO cpg14x_config VALUES ('picture_table_width', '600');
INSERT INTO cpg14x_config VALUES ('picture_width', '400');
INSERT INTO cpg14x_config VALUES ('read_exif_data', '0');
INSERT INTO cpg14x_config VALUES ('read_iptc_data', '0');
INSERT INTO cpg14x_config VALUES ('reg_notify_admin_email', '0');
INSERT INTO cpg14x_config VALUES ('reg_requires_valid_email', '1');
INSERT INTO cpg14x_config VALUES ('report_post', '0');
INSERT INTO cpg14x_config VALUES ('show_bbcode_help', '1');
INSERT INTO cpg14x_config VALUES ('show_private', '0');
INSERT INTO cpg14x_config VALUES ('show_which_exif', |0|0|0|0|0|0|0|0|1|0|1|1|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|1|0|0|0|1|1|0|0|0|0|1|0|0|0|1|0|0|1|1|0|0|0|0|0|1|0|1|1');
INSERT INTO cpg14x_config VALUES ('slideshow_interval', '5000');
INSERT INTO cpg14x_config VALUES ('smtp_host', '');
INSERT INTO cpg14x_config VALUES ('smtp_password', '');
INSERT INTO cpg14x_config VALUES ('smtp_username', '');
INSERT INTO cpg14x_config VALUES ('subcat_level', '2');
INSERT INTO cpg14x_config VALUES ('theme_list', '0');
INSERT INTO cpg14x_config VALUES ('theme_reset', '1');
INSERT INTO cpg14x_config VALUES ('theme', 'core');
INSERT INTO cpg14x_config VALUES ('thumb_method', 'im');
INSERT INTO cpg14x_config VALUES ('thumb_pfx', 'thumb_');
INSERT INTO cpg14x_config VALUES ('thumb_use', 'any');
INSERT INTO cpg14x_config VALUES ('thumb_width', '100');
INSERT INTO cpg14x_config VALUES ('thumbcols', '4');
INSERT INTO cpg14x_config VALUES ('thumbrows', '3');
INSERT INTO cpg14x_config VALUES ('time_offset', '0');
INSERT INTO cpg14x_config VALUES ('upl_notify_admin_email', '0');
INSERT INTO cpg14x_config VALUES ('user_field1_name', '');
INSERT INTO cpg14x_config VALUES ('user_field2_name', '');
INSERT INTO cpg14x_config VALUES ('user_field3_name', '');
INSERT INTO cpg14x_config VALUES ('user_field4_name', '');
INSERT INTO cpg14x_config VALUES ('user_profile1_name', 'Location');
INSERT INTO cpg14x_config VALUES ('user_profile2_name', 'Interests');
INSERT INTO cpg14x_config VALUES ('user_profile3_name', 'Website');
INSERT INTO cpg14x_config VALUES ('user_profile4_name', 'Occupation');
INSERT INTO cpg14x_config VALUES ('user_profile5_name', '');
INSERT INTO cpg14x_config VALUES ('user_profile6_name', 'Biography');
INSERT INTO cpg14x_config VALUES ('userpics', 'userpics/');
INSERT INTO cpg14x_config VALUES ('users_can_edit_pics', '0');
INSERT INTO cpg14x_config VALUES ('vanity_block','1');
INSERT INTO cpg14x_config VALUES ('views_in_thumbview', '1');
INSERT INTO cpg14x_config VALUES ('vote_details', '0');
If you have no idea how to accomplish this, ask your webhost for support.

As Fabricio suggested: respect board rules in the future.
« Last Edit: March 15, 2009, 03:24:08 pm by Joachim Müller »
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.