I recently had to change servers and am now hosted on a windows server I reran the cpmfetch 2.0 installation and am receiving the following message:
CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error
The path is correct, the number of files is correct; I can click the links and be brought to the correct images just the actual image or thumbnail does not show up
here is the details from the install any help or direction would be greatly appreciated- I have never had this not work for me; I verified my permissions were set and they were....
CpmFetch Installer for release 2.0.0
http://cpmfetch.fistfullofcode.comTest images - found a total of 20569 images:
If all went well, you will see some random images from your gallery displayed here. If not, you may in fact have a problem and will need to seek help by clicking here.
CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error CF-Error
hd5.jpg
24 views hd3.jpg
35 views hd4.jpg
30 views hd1.jpg
23 views
These images were found and displayed by using the following PHP code:
<?php
include "./cpmfetch.php";
$objCpm = new cpm("./cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
Please note: Unless you are running this code from the same directory as the cpmfetch_config.php file, you need to alter that path so it can be found. The same goes for the include statement.
For example, if you want to add these images into your home page and your cpmfetch directory is inside your gallery directory (which is named gallery) it would look more like this:
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
Please see the web site or the included documentation for more information.
Warnings:
CpmFetch draws configuration information from your CPG database when this installer is run. If you make any significant changes to the CPG configuration, you will need to re-run this installer. Most changes to the CPG config will not require this to be done. Some times that you may want to include:
* You've made changes to the Coppermine Photo Gallery configuration
* You've messed up the cpmfetch_config.php file beyond repair
* Bridged CPG with a forum of some sort
Debug Information:
If you have problems with this installation, you may be asked to provide all or some of the following information. Support for CpmFetch is handled on the Coppermine Photo Gallery forums in this particular board.
CpmFetch Install Script version 2.0.0
do=
path=
force=
Running default command: install
* * BEGIN SERVER SETTINGS * *
SERVER ALLUSERSPROFILE: C:\Documents and Settings\All Users
SERVER APP_POOL_ID: DefaultAppPool
SERVER CommonProgramFiles: C:\Program Files\Common Files
SERVER COMPUTERNAME: AMR-WEB-11
SERVER ComSpec: C:\WINDOWS\system32\cmd.exe
SERVER FP_NO_HOST_CHECK: NO
SERVER NUMBER_OF_PROCESSORS: 2
SERVER OS: Windows_NT
SERVER Path: C:\idw;c:\program files\imagemagick-6.3.5-q16;C:\WINDOWS\Microsoft.
NET\Framework\v2.0.50727;C:\Program Files\PHP\;C:\Perl\site\bin;C:\Perl\bin;C:\W
INDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL
Server 5.0\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\
SERVER PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
SERVER PHPRC: C:\Program Files\PHP\
SERVER PROCESSOR_ARCHITECTURE: x86
SERVER PROCESSOR_IDENTIFIER: x86 Family 15 Model 6 Stepping 4, GenuineIntel
SERVER PROCESSOR_LEVEL: 15
SERVER PROCESSOR_REVISION: 0604
SERVER ProgramFiles: C:\Program Files
SERVER SystemDrive: C:
SERVER SystemRoot: C:\WINDOWS
SERVER TEMP: C:\WINDOWS\TEMP
SERVER TMP: C:\WINDOWS\TEMP
SERVER USERPROFILE: C:\Documents and Settings\Default User
SERVER windir: C:\WINDOWS
SERVER HTTP_CONNECTION: keep-alive
SERVER HTTP_KEEP_ALIVE: 300
SERVER HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0
.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_COOKIE: __utma=46542654.1542760887.1188878622.1189042194.1189045324.
45; __utmz=46542654.1188769090.14.3.utmccn=(referral)|utmcsr=smallbusiness.yahoo
.com|utmcct=/services/index.php|utmcmd=referral; wordpressuser_6b8ac769b70abe6a8
f1ac10bd03fcad2=jessica; wordpresspass_6b8ac769b70abe6a8f1ac10bd03fcad2=fa2fcd5c
2e82b8e5f30faed5cc1437df; c439841f90e8006815c0660fef3d3974=2c44f9680d0388cc63724
55e444b648c; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIxYWM5YjUyNzViZjE5MGQ5NzFhZjE
zNjM2MGNhZDJkNyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI
7YToxOntpOjA7czo1OiIyMTc3NiI7fX0%3D; __utmb=46542654; __utmc=46542654
SERVER HTTP_HOST: hayden-collective.net
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1
.11) Gecko/20071127 Firefox/2.0.0.11
SERVER HTTP_X_REWRITE_URL: /gallery/cpmfetch/install.php
SERVER AUTH_TYPE:
SERVER AUTH_PASSWORD:
SERVER AUTH_USER:
SERVER CERT_COOKIE:
SERVER CERT_FLAGS:
SERVER CERT_ISSUER:
SERVER CERT_SERIALNUMBER:
SERVER CERT_SUBJECT:
SERVER CONTENT_LENGTH: 0
SERVER CONTENT_TYPE:
SERVER GATEWAY_INTERFACE: CGI/1.1
SERVER HTTPS: off
SERVER HTTPS_KEYSIZE:
SERVER HTTPS_SECRETKEYSIZE:
SERVER HTTPS_SERVER_ISSUER:
SERVER HTTPS_SERVER_SUBJECT:
SERVER INSTANCE_ID: 1014242230
SERVER LOCAL_ADDR: 216.176.191.69
SERVER LOGON_USER:
SERVER QUERY_STRING:
SERVER REMOTE_ADDR: 72.91.13.155
SERVER REMOTE_HOST: 72.91.13.155
SERVER REMOTE_USER:
SERVER REQUEST_METHOD: GET
SERVER SCRIPT_NAME: /gallery/cpmfetch/install.php
SERVER SERVER_NAME: hayden-collective.net
SERVER SERVER_PORT: 80
SERVER SERVER_PORT_SECURE: 0
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER SERVER_SOFTWARE: Microsoft-IIS/6.0
SERVER UNMAPPED_REMOTE_USER:
SERVER SCRIPT_FILENAME: C:\inetpub\wwwroot\hayden-collective.net\gallery\cpmfetc
h\install.php
SERVER ORIG_PATH_INFO: /gallery/cpmfetch/install.php
SERVER ORIG_PATH_TRANSLATED: C:\inetpub\wwwroot\hayden-collective.net\gallery\cp
mfetch\install.php
SERVER PHP_SELF: /gallery/cpmfetch/install.php
SERVER REQUEST_TIME: 1200368607
* * END SERVER SETTINGS * *
Found config file at ../include/config.inc.php
Found init file at ../include/init.inc.php
Checking for existing cpmfetch config file
Found cpmfetch_config.php file - now reading
Blank installation config found
Opening config file at ../include/config.inc.php
Retrieving config from database
* * BEGIN CPG CONFIG TABLE * *
CONFIG: albums_per_page: 14
CONFIG: album_list_cols: 2
CONFIG: display_pic_info: 0
CONFIG: alb_list_thumb_size: 80
CONFIG: allowed_mov_types: ALL
CONFIG: allowed_doc_types: doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb
CONFIG: allowed_snd_types: mp3/midi/mid/wma/wav/ogg
CONFIG: allowed_img_types: ALL
CONFIG: allow_private_albums: 1
CONFIG: allow_user_registration: 1
CONFIG: allow_unlogged_access: 1
CONFIG: allow_duplicate_emails_addr: 0
CONFIG: caption_in_thumbview: 1
CONFIG: views_in_thumbview: 1
CONFIG: charset: utf-8
CONFIG: cookie_name: cpg143
CONFIG: cookie_path: /
CONFIG: debug_mode: 0
CONFIG: debug_notice: 0
CONFIG: default_dir_mode: 0777
CONFIG: default_file_mode: 0666
CONFIG: default_sort_order: na
CONFIG: ecards_more_pic_target:
http://hayden-collective.net/gallery/CONFIG: home_target: index.php
CONFIG: custom_lnk_name: Back to HPC
CONFIG: custom_lnk_url:
http://hayden-collective.netCONFIG: enable_smilies: 1
CONFIG: filter_bad_words: 1
CONFIG: forbiden_fname_char: $/\\:*?"'<>|` &
CONFIG: fullpath: albums/
CONFIG: gallery_admin_email: jessica@hayden-collective.net
CONFIG: gallery_description:
CONFIG: gallery_name:
CONFIG: im_options: -antialias
CONFIG: impath: /usr/bin/
CONFIG: jpeg_qual: 100
CONFIG: keep_votes_time: 30
CONFIG: lang: english
CONFIG: main_page_layout: breadcrumb/lastalb,2/catlist/alblist/random,2/lastup,2
/statistics/onlinestats/
CONFIG: main_table_width: 95%
CONFIG: make_intermediate: 1
CONFIG: max_com_lines: 10
CONFIG: max_com_size: 512
CONFIG: max_com_wlength: 38
CONFIG: max_img_desc_length: 512
CONFIG: max_tabs: 12
CONFIG: max_upl_size: 999999
CONFIG: max_upl_width_height: 999999
CONFIG: auto_resize: 0
CONFIG: min_votes_for_rating: 1
CONFIG: normal_pfx: normal_
CONFIG: offline: 0
CONFIG: picture_table_width: 100%
CONFIG: picture_width: 400
CONFIG: read_exif_data: 0
CONFIG: reg_requires_valid_email: 1
CONFIG: subcat_level: 1
CONFIG: theme: hc_gallery
CONFIG: thumbcols: 4
CONFIG: thumbrows: 5
CONFIG: thumb_method: gd2
CONFIG: thumb_pfx: thumb_
CONFIG: thumb_width: 80
CONFIG: userpics: userpics/
CONFIG: vanity_block: 1
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_field1_name: Credit
CONFIG: user_field2_name:
CONFIG: user_field3_name:
CONFIG: user_field4_name:
CONFIG: display_comment_count: 1
CONFIG: show_private: 0
CONFIG: first_level: 0
CONFIG: display_film_strip: 1
CONFIG: display_film_strip_filename: 0
CONFIG: max_film_strip_items: 5
CONFIG: thumb_use: ex
CONFIG: read_iptc_data: 0
CONFIG: reg_notify_admin_email: 0
CONFIG: disable_comment_flood_protect: 0
CONFIG: upl_notify_admin_email: 0
CONFIG: display_uploader: 0
CONFIG: display_filename: 0
CONFIG: language_list: 0
CONFIG: language_flags: 0
CONFIG: theme_list: 0
CONFIG: language_reset: 1
CONFIG: theme_reset: 1
CONFIG: allow_memberlist: 0
CONFIG: display_faq: 0
CONFIG: show_bbcode_help: 1
CONFIG: log_ecards: 0
CONFIG: email_comment_notification: 0
CONFIG: enable_zipdownload: 0
CONFIG: slideshow_interval: 5000
CONFIG: log_mode: 0
CONFIG: media_autostart: 1
CONFIG: enable_encrypted_passwords: 1
CONFIG: time_offset: -5
CONFIG: ban_private_ip: 0
CONFIG: smtp_host:
CONFIG: smtp_username:
CONFIG: smtp_password:
CONFIG: enable_plugins: 1
CONFIG: enable_help: 2
CONFIG: categories_alpha_sort: 0
CONFIG: login_threshold: 5
CONFIG: login_expiry: 10
CONFIG: allow_email_change: 1
CONFIG: clickable_keyword_search: 1
CONFIG: users_can_edit_pics: 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: alb_desc_thumb: 1
CONFIG: link_pic_count: 1
CONFIG: bridge_enable: 0
CONFIG: language_fallback: 1
CONFIG: vote_details: 0
CONFIG: hit_details: 0
CONFIG: browse_batch_add: 0
CONFIG: custom_header_path:
CONFIG: custom_footer_path:
CONFIG: comments_sort_descending: 0
CONFIG: report_post: 0
CONFIG: comments_anon_pfx: Guest_
CONFIG: admin_activation: 0
CONFIG: record_online_users: 39
CONFIG: record_online_date: 1174159347
CONFIG: mod_updates_duration: 10
CONFIG: enable_unsharp: 0
CONFIG: unsharp_amount: 120
CONFIG: unsharp_radius: 0.5
CONFIG: unsharp_threshold: 3
CONFIG: thumb_height: 80
CONFIG: enable_watermark: 0
CONFIG: where_put_watermark: southeast
CONFIG: watermark_file: images/watermark.png
CONFIG: which_files_to_watermark: both
CONFIG: orig_pfx: orig_
CONFIG: watermark_transparency: 40
CONFIG: reduce_watermark: 0
CONFIG: watermark_transparency_featherx: 0
CONFIG: watermark_transparency_feathery: 0
CONFIG: enable_mini_thumbs: 1
CONFIG: mini_thumb_width: 80
CONFIG: mini_thumb_height: 80
CONFIG: mini_pfx: mini_
CONFIG: mini_as_category_lead: 1
CONFIG: enable_user_notification: 0
CONFIG: enable_avatar: 0
CONFIG: pms_enabled: 0
CONFIG: pms_messages: 200
CONFIG: pms_enable_email: 1
CONFIG: pms_make_links: 1
CONFIG: pms_date_format: l dS of F Y
CONFIG: pms_time_format: h:i:s
CONFIG: pms_smilies: 1
CONFIG: pms_post_flood: 30
CONFIG: pms_message_bbcode: 1
CONFIG: pms_message_img_tag: 1
CONFIG: display_buddy_status: 1
CONFIG: display_pms_status: 1
CONFIG: enable_custom_thumbs: 1
CONFIG: enable_thumb_watermark: 1
CONFIG: enable_buddy: 1
CONFIG: enable_buddy_email: 1
CONFIG: enable_buddy_private_view: 1
CONFIG: buddy_enhanced_display: 1
CONFIG: fast_stats: 0
CONFIG: enable_stats: 1
CONFIG: enable_loginform: 0
CONFIG: info_block_align: 0
CONFIG: display_pic_voting: 0
CONFIG: display_pic_rating: 0
CONFIG: lang_autodetect: 1
* * END CPG CONFIG TABLE * *
* * BEGIN CPG BRIDGE TABLE * *
BRIDGE: short_name:
BRIDGE: license_number:
BRIDGE: db_database_name:
BRIDGE: db_hostname:
BRIDGE: db_username:
BRIDGE: db_password:
BRIDGE: full_forum_url:
BRIDGE: relative_path_of_forum_from_webroot:
BRIDGE: relative_path_to_config_file:
BRIDGE: logout_flag:
BRIDGE: use_post_based_groups:
BRIDGE: cookie_prefix:
BRIDGE: table_prefix:
BRIDGE: user_table:
BRIDGE: session_table:
BRIDGE: group_table:
BRIDGE: group_relation_table:
BRIDGE: group_mapping_table:
BRIDGE: use_standard_groups: 1
BRIDGE: validating_group:
BRIDGE: guest_group:
BRIDGE: member_group:
BRIDGE: admin_group:
BRIDGE: banned_group:
BRIDGE: global_moderators_group:
BRIDGE: recovery_logon_failures: 0
BRIDGE: recovery_logon_timestamp:
BRIDGE: avatar_path:
* * 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.4.10 modpack v1
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:C
domain_name:hayden-collective.net
cpg_album_url:http://hayden-collective.net/gallery/albums/
cpg_url:http://hayden-collective.net/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
CpmFetch was written and is maintained by W.B.Chmura (aka Vuud). Documentation support is provided soley through the cpmfetch web site at
http://cpmfetch.fistfullofcode.com and interactive support throught the Coppermine Photo Gallery Forums.