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: CPMfetch Installation Error  (Read 5921 times)

0 Members and 1 Guest are viewing this topic.

nellygrl

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
CPMfetch Installation Error
« on: January 07, 2012, 05:23:03 am »

I'm starting a new fansite and a plugin like CPMfetch is definitely needed.

I just tried installing CPM fetch and followed the instructions (setting all permissions correctly), but the installation resulted in an error. The install was able to find the amount of images my gallery has, but it was not able to fetch ant images.

Here is the jumble of code it returned instead of the images:

Code: [Select]
SELECT p.filepath AS pFilepath, p.filename AS pFilename, p.aid AS pAid, p.filesize AS pFilesize, p.title AS pTitle, p.caption AS pCaption, p.owner_name AS pOwner_name, p.owner_id as pOwnerId, p.ctime AS pCtime, p.hits AS pHits, p.pid AS pPid, p.pic_rating AS pPic_Rating, p.votes AS pVotes, p.pwidth AS pWidth, p.pheight AS pHeight, p.user1 as pUser1, p.user2 as pUser2, p.user3 as pUser3, p.user4 as pUser4, c.cid as cCid, c.name as cName, c.description as cDescription, c.pos as cPos, c.parent as cParent, c.thumb as cThumb, u.user_lastvisit AS uUser_lastvisit,u.user_regdate AS uUser_regdate,u.user_email AS uUser_email,u.user_profile1 AS uUser_profile1,u.user_profile2 AS uUser_profile2,u.user_profile3 AS uUser_profile3,u.user_profile4 AS uUser_profile4,u.user_profile5 AS uUser_profile5,u.user_profile6 AS uUser_profile6, a.aid AS aAid, a.title AS aTitle, a.description AS aDescription, a.visibility as aVisibility, a.pos as aPos, a.category as aCategory, a.thumb as aThumb, a.keyword as aKeyword FROM cpg_pictures AS p LEFT JOIN cpg_users AS u ON p.owner_id = u.user_id LEFT JOIN cpg_albums AS a ON p.aid = a.aid LEFT JOIN cpg_categories AS c ON a.category = c.cid WHERE 1 AND p.approved='YES' AND ((a.visibility = 0 OR a.visibility IS NULL) AND (a.alb_password IS NULL OR a.alb_password = "")) ORDER BY p.ctime DESC LIMIT 0,4

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/onedirec/public_html/gallery/cpmfetch/cpmfetch_dao.php on line 1260

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/onedirec/public_html/gallery/cpmfetch/cpmfetch_dao.php on line 1264

Also, here is the debug report it returned:

Code: [Select]
CpmFetch Install Script version 2.0.0
do=install
path=
force=true
Command install issued to script
* * BEGIN SERVER SETTINGS * *
SERVER HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=
0.8
SERVER HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
SERVER HTTP_ACCEPT_ENCODING: gzip, deflate
SERVER HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
SERVER HTTP_CONNECTION: keep-alive
SERVER HTTP_COOKIE: cpg15x_data=YTo1OntzOjI6IklEIjtzOjMyOiJlMmU4YjI0Y2U4ZmFjM2M3
Zjk5Njk2YTEyMWZiYjBiMyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6
ImxpdiI7YTo1OntpOjA7czozOiI1OTkiO2k6MTtzOjM6IjM0OSI7aToyO3M6MzoiMzUwIjtpOjM7czoz
OiIzNTEiO2k6NDtzOjQ6IjEyNDMiO31zOjU6Imxpdl9hIjthOjE6e2k6MDtpOjEyO319; 488e634ec4
1a8240e5b86499768f9d50=bd7ad0971927e3eef12473baf2bebd58; PHPSESSID=f709d0c5fa1fb
602eb6b252c6942ca41; wordpress_test_cookie=WP+Cookie+check; wp-settings-time-1=1
325900878; wordpress_logged_in_807868698cc8101395bbef1565f175e4=admin%7C13260733
27%7C142eaa26c3df6b382f5731ad3445eaeb
SERVER HTTP_HOST: onedirectionconnection.com
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/2010
0101 Firefox/9.0.1
SERVER DOCUMENT_ROOT: /home/onedirec/public_html
SERVER REMOTE_ADDR: 71.232.130.81
SERVER REMOTE_PORT: 2981
SERVER SERVER_ADDR: 69.73.148.16
SERVER SERVER_NAME: onedirectionconnection.com
SERVER SERVER_ADMIN: webmaster@onedirectionconnection.com
SERVER SERVER_PORT: 80
SERVER REQUEST_URI: /gallery/cpmfetch/install.php?do=install&force=true
SERVER REDIRECT_STATUS: 200
SERVER SCRIPT_FILENAME: /home/onedirec/public_html/gallery/cpmfetch/install.php
SERVER QUERY_STRING: do=install&force=true
SERVER SCRIPT_URI: http://onedirectionconnection.com/gallery/cpmfetch/install.ph
p
SERVER SCRIPT_URL: /gallery/cpmfetch/install.php
SERVER SCRIPT_NAME: /gallery/cpmfetch/install.php
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER SERVER_SOFTWARE: LiteSpeed
SERVER REQUEST_METHOD: GET
SERVER PHP_SELF: /gallery/cpmfetch/install.php
SERVER PATH: /bin:/usr/bin
SERVER REQUEST_TIME: 1325909952
SERVER argv: Array
SERVER argc: 1
* * END SERVER SETTINGS * *
Found config file at ../include/config.inc.php
Found init file at ../include/init.inc.php
force set, skipping version checks
Opening config file at ../include/config.inc.php
Retrieving config from database
* * BEGIN CPG CONFIG TABLE * *
CONFIG: admin_activation: 0
CONFIG: alb_desc_thumb: 1
CONFIG: alb_list_thumb_size: 50
CONFIG: album_list_cols: 2
CONFIG: albums_per_page: 12
CONFIG: allow_duplicate_emails_addr: 0
CONFIG: allow_guests_enter_file_details: 0
CONFIG: allowed_doc_types: doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb
CONFIG: allowed_img_types: jpeg/jpg/png/gif
CONFIG: allowed_mov_types: asf/asx/mpg/mpeg/wmv/swf/avi/mov/flv/mp4
CONFIG: allowed_snd_types: mp3/midi/mid/wma/wav/ogg/aac
CONFIG: allow_email_change: 0
CONFIG: allow_memberlist: 0
CONFIG: allow_private_albums: 1
CONFIG: allow_unlogged_access: 3
CONFIG: allow_user_account_delete: 0
CONFIG: allow_user_album_keyword: 0
CONFIG: allow_user_edit_after_cat_close: 0
CONFIG: allow_user_move_album: 0
CONFIG: allow_user_registration: 0
CONFIG: allow_user_upload_choice: 1
CONFIG: auto_resize: 1
CONFIG: batch_proc_limit: 2
CONFIG: bridge_enable: 0
CONFIG: browse_batch_add: 1
CONFIG: browse_by_date: 0
CONFIG: caption_in_thumbview: 1
CONFIG: categories_alpha_sort: 0
CONFIG: charset: utf-8
CONFIG: clickable_keyword_search: 1
CONFIG: comment_akismet_api_key:
CONFIG: comment_akismet_counter: 0
CONFIG: comment_akismet_enable: 0
CONFIG: comment_akismet_group: 0
CONFIG: comment_approval: 0
CONFIG: comment_captcha: 1
CONFIG: comment_placeholder: 1
CONFIG: comment_promote_registration: 0
CONFIG: comments_anon_pfx: Guest_
CONFIG: comments_per_page: 20
CONFIG: comments_sort_descending: 0
CONFIG: comment_user_edit: 1
CONFIG: contact_form_guest_email_field: 2
CONFIG: contact_form_guest_enable: 0
CONFIG: contact_form_guest_name_field: 2
CONFIG: contact_form_registered_enable: 1
CONFIG: contact_form_sender_email: 1
CONFIG: contact_form_subject_content: Coppermine gallery contact form
CONFIG: contact_form_subject_field: 0
CONFIG: cookie_name: cpg15x
CONFIG: cookie_path: /
CONFIG: count_admin_hits: 0
CONFIG: count_album_hits: 1
CONFIG: count_file_hits: 1
CONFIG: custom_footer_path:
CONFIG: custom_header_path:
CONFIG: custom_lnk_name:
CONFIG: custom_lnk_url:
CONFIG: debug_mode: 0
CONFIG: debug_notice: 0
CONFIG: default_dir_mode: 0755
CONFIG: default_file_mode: 0644
CONFIG: default_sort_order: na
CONFIG: disable_comment_flood_protect: 0
CONFIG: display_comment_approval_only: 0
CONFIG: display_comment_count: 0
CONFIG: display_coppermine_news: 0
CONFIG: display_filename: 0
CONFIG: display_film_strip: 1
CONFIG: display_pic_info: 0
CONFIG: display_redirection_page: 0
CONFIG: display_reset_boxes_in_config: 0
CONFIG: display_sidebar_guest: 1
CONFIG: display_sidebar_user: 1
CONFIG: display_stats_on_index: 1
CONFIG: display_thumbnail_rating: 0
CONFIG: display_thumbs_batch_add: 1
CONFIG: display_uploader: 0
CONFIG: display_xp_publish_link: 0
CONFIG: ecard_flash: 0
CONFIG: ecards_more_pic_target: http://onedirectionconnection.com/gallery/
CONFIG: email_comment_notification: 0
CONFIG: enable_encrypted_passwords: 1
CONFIG: enable_help: 1
CONFIG: enable_menu_icons: 1
CONFIG: enable_plugins: 1
CONFIG: enable_smilies: 1
CONFIG: enable_thumb_watermark: 1
CONFIG: enable_unsharp: 1
CONFIG: enable_watermark: 0
CONFIG: enable_zipdownload: 0
CONFIG: filter_bad_words: 0
CONFIG: first_level: 1
CONFIG: forbiden_fname_char: $/\\:*?"'<>|` &#@
CONFIG: fullpath: albums/
CONFIG: fullsize_padding_x: 5
CONFIG: fullsize_padding_y: 3
CONFIG: gallery_admin_email: noelle@onedirectionconnection.com
CONFIG: gallery_description: One Direction Connection Gallery
CONFIG: gallery_name: One Direction Connection Gallery
CONFIG: global_registration_pw:
CONFIG: guest_token_cleanup: 1325878288
CONFIG: hit_details: 0
CONFIG: home_target: index.php
CONFIG: im_options: -antialias
CONFIG: impath:
CONFIG: jpeg_qual: 80
CONFIG: keep_votes_time: 30
CONFIG: keyword_separator: ;
CONFIG: lang: english
CONFIG: language_autodetect: 1
CONFIG: link_pic_count: 1
CONFIG: log_ecards: 0
CONFIG: login_expiry: 10
CONFIG: login_method: username
CONFIG: login_threshold: 5
CONFIG: log_mode: 0
CONFIG: main_page_layout: breadcrumb/catlist/alblist/random,2/lastup,2
CONFIG: main_table_width: 100%
CONFIG: make_intermediate: 1
CONFIG: max_com_lines: 10
CONFIG: max_com_size: 512
CONFIG: max_com_wlength: 38
CONFIG: max_film_strip_items: 5
CONFIG: max_img_desc_length: 512
CONFIG: max_tabs: 12
CONFIG: max_upl_size: 1024
CONFIG: max_upl_width_height: 2048
CONFIG: media_autostart: 1
CONFIG: min_votes_for_rating: 1
CONFIG: normal_pfx: normal_
CONFIG: offline: 0
CONFIG: old_style_rating: 0
CONFIG: orig_pfx: orig_
CONFIG: performance_page_generation_time: 0
CONFIG: performance_page_query_count: 0
CONFIG: performance_page_query_time: 0
CONFIG: performance_timestamp: 0
CONFIG: personal_album_on_registration: 0
CONFIG: picinfo_movie_download_link: 1
CONFIG: picture_table_width: 100%
CONFIG: picture_use: thumb
CONFIG: picture_width: 400
CONFIG: purge_expired_bans: 1
CONFIG: rate_own_files: 0
CONFIG: rating_stars_amount: 5
CONFIG: read_exif_data: 0
CONFIG: read_iptc_data: 0
CONFIG: reduce_watermark: 0
CONFIG: registration_captcha: 0
CONFIG: reg_notify_admin_email: 0
CONFIG: reg_requires_valid_email: 1
CONFIG: report_post: 0
CONFIG: session_cleanup: 1325909756
CONFIG: show_bbcode_help: 1
CONFIG: show_private: 0
CONFIG: 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
CONFIG: silly_safe_mode: 0
CONFIG: site_token: 618859ac8d7472db29f3ecdd491256c4
CONFIG: form_token_lifetime: 900
CONFIG: slideshow_hits: 1
CONFIG: slideshow_interval: 5000
CONFIG: smtp_host:
CONFIG: smtp_password:
CONFIG: smtp_username:
CONFIG: subcat_level: 1
CONFIG: tabs_dropdown: 1
CONFIG: theme: ipodlounge
CONFIG: theme_list: 0
CONFIG: thumbcols: 4
CONFIG: thumb_height: 90
CONFIG: thumb_method: gd2
CONFIG: thumbnail_to_fullsize: 0
CONFIG: thumb_pfx: thumb_
CONFIG: thumbrows: 3
CONFIG: thumb_use: ex
CONFIG: thumb_width: 80
CONFIG: time_offset: 0
CONFIG: transparent_overlay: 0
CONFIG: unsharp_amount: 120
CONFIG: unsharp_radius: 0.5
CONFIG: unsharp_threshold: 3
CONFIG: upl_notify_admin_email: 0
CONFIG: upload_mechanism: swfupload
CONFIG: user_field1_name:
CONFIG: user_field2_name:
CONFIG: user_field3_name:
CONFIG: user_field4_name:
CONFIG: userpics: userpics/
CONFIG: user_profile1_name: Location
CONFIG: user_profile2_name: Interests
CONFIG: user_profile3_name: Website
CONFIG: user_profile4_name: Occupation
CONFIG: user_profile5_name:
CONFIG: user_profile6_name: Biography
CONFIG: user_registration_disclaimer: 1
CONFIG: users_can_edit_pics: 0
CONFIG: views_in_thumbview: 1
CONFIG: vote_details: 0
CONFIG: watermark_file: images/watermark.png
CONFIG: watermark_transparency: 40
CONFIG: watermark_transparency_featherx: 0
CONFIG: watermark_transparency_feathery: 0
CONFIG: where_put_watermark: southeast
CONFIG: which_files_to_watermark: both
* * END CPG CONFIG TABLE * *
* * BEGIN CPG BRIDGE TABLE * *
BRIDGE: short_name:
BRIDGE: full_forum_url:
BRIDGE: relative_path_to_config_file:
BRIDGE: use_post_based_groups:
BRIDGE: cookie_prefix:
BRIDGE: recovery_logon_failures: 0
BRIDGE: recovery_logon_timestamp:
* * END CPG BRIDGE TABLE * *
Closed database connection
Opening init file at ../include/init.inc.php
Reading init file at ../include/init.inc.php
InitFile: CPG Version 1.5.16
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:/home/onedirec/public_html/gallery/
domain_name:onedirectionconnection.com
cpg_album_url:http://onedirectionconnection.com/gallery/albums/
cpg_url:http://onedirectionconnection.com/gallery/
* * Assigning bridged settings * *
Bridge_enable: 0
Bridge_short_name:
Bridging is not enabled in CPG
Opening cpmfetch config file: cpmfetch_config.php
Writing cpmfetch config file cpmfetch_config.php
Completed writing config file
Producing output screen and exiting

Is there anyone who can offer insight on this? Or is CPMfetch even compatible with the latest version of Coppermine?

Thanks for your time,

~Noelle
Logged

nellygrl

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CPMfetch Installation Error
« Reply #1 on: January 07, 2012, 05:40:06 am »

Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: CPMfetch Installation Error
« Reply #2 on: January 07, 2012, 10:02:26 am »

Glad you found the fix.  Hopefully this is now working for you.

If so, could you kindly mark your thead as solved please.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

nellygrl

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CPMfetch Installation Error
« Reply #3 on: January 08, 2012, 03:05:59 pm »

I would, gladly! But I'm honestly not sure how. If you could tell me, I'll mark it as solved ASAP!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: CPMfetch Installation Error
« Reply #4 on: January 10, 2012, 10:44:22 am »

you can tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.