"CF-Error" during install.... "CF-Error" during install....
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

"CF-Error" during install....

Started by capecodgal, January 15, 2008, 04:50:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

capecodgal

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.com

Test 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.net
CONFIG: 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.

capecodgal

so I took another look at this after I had some sleep and before I left for work this morning... I am thinking it may be a permissions issue.

Since we were moved to a Windows server I can not chmod the files through ftp as that is a Unix based command from what I understand... So I am thinking my permissions didn't take when I set them last night as I noticed that happening when I try to batch add images through cpg. Now we do have another site on this same server and I think the cpmfetch is working over there....

Can someone please tell me if I am on the right path if this error is caused from permissions? If I can't correct the permissions myself through FTP I think I will need to get someone who is actually in front of that server to set them and I don't want to ask then to do that if it won't fix the problem.

Nibbler

It's not permissions. It's not determining your path correctly.

Quotefilesystem_path_to_cpg:C

That's not the right path, so the images don't load.

Try http://forum.coppermine-gallery.net/index.php?topic=45293.msg215664#msg215664 or you might need to hardcode a path somewhere

capecodgal

ok I see that now thank you!! But I am still having issues...

since I am having the same issue w/ the install file changing the path; I am running a test page:

http://hayden-collective.net/latest_photos.php

It is giving an error on line 139 and I didn't even touch that so I am at a loss... I tried different combinations of which entry to change (just the override or both path entries) and I get the same results...

PHP Parse error: syntax error, unexpected ';', expecting ')' in C:\inetpub\wwwroot\hayden-collective.net\gallery\cpmfetch\cpmfetch_config.php on line 139



here is my config code:



<?php

$CONFIG_WRITTEN_VERSION
="2.0.0";

/*
Date generated: Tue Jan 15 18:22:47 PST 2008 

This is your configuration file.  I recommend only editing the userDefined and the
override section.  There should be no earthly reason to touch any other part.

*/


/* 
===========================================
USER DEFINED CONFIGURATION SETTINGS GO HERE
===========================================

This allows you to set your own information into the configuration
by simply expanding this associative array
*/ 
$config_userDefined = array();



/*
==============================
USER OVERRIDE SETTINGS GO HERE
==============================

These settings placed here will override settings elsewhere in the
config file.  I have placed commented out copies of the cpmFetch created
values for convienence along with a brief comment.
*/ 


$config_overrides = array();
// if not bridged leave as false, if is bridged you can put in a valid bridge name or just true for a default approach to bridging.
//  $config_overrides['cfBridgedTo'] = 'false';

// Consider non-public albums as displayable
//  $config_overrides['cfShowPrivate'] = 'false';

// Toggles debug mode on / off - put inline as HTML comments
//  $config_overrides['cfDebugMode'] = 'false';

// How to format dates
//  $config_overrides['cfDateFormatString'] = 'd-M-Y';

// A date format as defined at http://www.php.net/manual/en/function.date.php
//  $config_overrides['cfDefaultDateFormatString'] = 'd-M-Y';

// What percentage will be evaluated as being top rated
//  $config_overrides['cfTopPercentForTopRated'] = '10';

// What percentage will be evaluated as being most viewed
//  $config_overrides['cfTopPercentForMostViewed'] = '25';

// Filters out file types to display or not-display
//  $config_overrides['cfFileTypeFilter'] = '';

// Do not touch unless you really need too
//  $config_overrides['cfShowPrivateOnSqlDefault'] = ' ';

// Do not touch unless you really need too
//  $config_overrides['cfShowPrivateOffSqlDefault'] = 'AND ((a.visibility = 0 OR a.visibility IS NULL) AND (a.alb_password IS NULL OR a.alb_password = "")) ';

// What size image to show?
//  $config_overrides['cfDefaultImageSize'] = 'thumb';

// 
//  $config_overrides['cfENABLE_cfrssget'] = 'false';

// 
//  $config_overrides['cfENABLE_cfimageget'] = 'false';

// 
//  $config_overrides['cfUseExistingDBConnection'] = 'false';

//  $config_overrides['cfSQLPictureSelect'] = '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';

//  $config_overrides['cfSQLAlbumSelect'] = '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';

//  $config_overrides['cfSQLUserSelect13'] = 'u.user_lastvisit AS uUser_lastvisit, u.user_regdate AS uUser_regdate, u.user_email AS uUser_email, u.user_website AS uUser_website, u.user_location AS uUser_location, u.user_interests AS uUser_interest, u.user_occupation AS uUser_occupation';

//  $config_overrides['cfSQLUserSelect'] = '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';

// **CAREFUL** SQL to link picture to user
//  $config_overrides['cfSQLUserDataLink'] = ' ';

// **CAREFUL** Name of user table to seek user information in
//  $config_overrides['cfSQLUserTableName'] = 'cpg_users';

// File system path to your Coppermine Photo Gallery
//  $config_overrides['filesystem_path_to_cpg'] = 'C:\inetpub\wwwroot\hayden-collective.net\gallery\';

// Your sites domain name
//  $config_overrides['domain_name'] = 'hayden-collective.net';

// Full URL to your CPG gallerys album directory
//  $config_overrides['cpg_album_url'] = 'http://hayden-collective.net/gallery/albums/';

// Full URL to your CPG gallery
//  $config_overrides['cpg_url'] = 'http://hayden-collective.net/gallery/';



/* 
===========================================
CPMFETCH DEFAULT VALUES - NO NEED TO CHANGE
===========================================

These settings were created by the cpmFetch install program.  If you want to override
any of these, you can add them into the config_overrides section.

*/ 
$config_cpmfetchSettings = array(
'cfBridgedTo' => 'false',
'cfShowPrivate' => 'false',
'cfDebugMode' => 'false',
'cfDateFormatString' => 'd-M-Y',
'cfDefaultDateFormatString' => 'd-M-Y',
'cfTopPercentForTopRated' => '10',
'cfTopPercentForMostViewed' => '25',
'cfFileTypeFilter' => '',
'cfShowPrivateOnSqlDefault' => ' ',
'cfShowPrivateOffSqlDefault' => 'AND ((a.visibility = 0 OR a.visibility IS NULL) AND (a.alb_password IS NULL OR a.alb_password = "")) ',
'cfDefaultImageSize' => 'thumb',
'cfENABLE_cfrssget' => 'false',
'cfENABLE_cfimageget' => 'false',
'cfUseExistingDBConnection' => 'false',
'cfSQLPictureSelect' => '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',
'cfSQLAlbumSelect' => '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',
'cfSQLUserSelect13' => 'u.user_lastvisit AS uUser_lastvisit, u.user_regdate AS uUser_regdate, u.user_email AS uUser_email, u.user_website AS uUser_website, u.user_location AS uUser_location, u.user_interests AS uUser_interest, u.user_occupation AS uUser_occupation',
'cfSQLUserSelect' => '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',
'cfSQLUserDataLink' => ' ',
'cfSQLUserTableName' => 'cpg_users',
'filesystem_path_to_cpg' => 'C:\inetpub\wwwroot\hayden-collective.net\gallery\',
 [u]LINE 139[/u] -> [b]
'
domain_name' => 'hayden-collective.net', [/b]  
'
cpg_album_url' => 'http://hayden-collective.net/gallery/albums/',
'cpg_url' => 'http://hayden-collective.net/gallery/'
);





/*
================================================
SETTINGS RETRIEVED FROM COPPERMINE PHOTO GALLERY
================================================

These settings were copied from your CPG database.  If you want to override
any of these, you can add them into the config_overrides section.
*/ 
$config_cpgSettings = array(
'dbserver' => 'localhost',
'dbuser' => 'hcollect',
'dbpass' => 'goodDog!',
'dbname' => 'hcollect_copp1',
'table_prefix' => 'cpg_',
'albums_per_page' => '14',
'album_list_cols' => '2',
'display_pic_info' => '0',
'alb_list_thumb_size' => '80',
'allowed_mov_types' => 'ALL',
'allowed_doc_types' => 'doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb',
'allowed_snd_types' => 'mp3/midi/mid/wma/wav/ogg',
'allowed_img_types' => 'ALL',
'allow_private_albums' => '1',
'allow_user_registration' => '1',
'allow_unlogged_access' => '1',
'allow_duplicate_emails_addr' => '0',
'caption_in_thumbview' => '1',
'views_in_thumbview' => '1',
'charset' => 'utf-8',
'cookie_name' => 'cpg143',
'cookie_path' => '/',
'debug_mode' => '0',
'debug_notice' => '0',
'default_dir_mode' => '0777',
'default_file_mode' => '0666',
'default_sort_order' => 'na',
'ecards_more_pic_target' => 'http://hayden-collective.net/gallery/',
'home_target' => 'index.php',
'custom_lnk_name' => 'Back to HPC',
'custom_lnk_url' => 'http://hayden-collective.net',
'enable_smilies' => '1',
'filter_bad_words' => '1',
'fullpath' => 'C:\inetpub\wwwroot\hayden-collective.net\gallery\albums\',
'
gallery_admin_email' => 'jessica@hayden-collective.net',
'
gallery_description' => '',
'
gallery_name' => '',
'
im_options' => '-antialias',
'
impath' => 'C:\inetpub\wwwroot\hayden-collective.net\gallery\usr\bin\',
'
jpeg_qual' => '100',
'
keep_votes_time' => '30',
'
lang' => 'english',
'
main_page_layout' => 'breadcrumb/lastalb,2/catlist/alblist/random,2/lastup,2/statistics/onlinestats/',
'
main_table_width' => '95%',
'
make_intermediate' => '1',
'
max_com_lines' => '10',
'
max_com_size' => '512',
'
max_com_wlength' => '38',
'
max_img_desc_length' => '512',
'
max_tabs' => '12',
'
max_upl_size' => '999999',
'
max_upl_width_height' => '999999',
'
auto_resize' => '0',
'
min_votes_for_rating' => '1',
'
normal_pfx' => 'normal_',
'
offline' => '0',
'
picture_table_width' => '100%',
'
picture_width' => '400',
'
read_exif_data' => '0',
'
reg_requires_valid_email' => '1',
'
subcat_level' => '1',
'
theme' => 'hc_gallery',
'
thumbcols' => '4',
'
thumbrows' => '5',
'
thumb_method' => 'gd2',
'
thumb_pfx' => 'thumb_',
'
thumb_width' => '80',
'
userpics' => 'userpics/',
'
vanity_block' => '1',
'
user_profile1_name' => 'Location',
'
user_profile2_name' => 'Interests',
'
user_profile3_name' => 'Website',
'
user_profile4_name' => 'Occupation',
'
user_profile5_name' => '',
'
user_profile6_name' => 'Biography',
'
user_field1_name' => 'Credit',
'
user_field2_name' => '',
'
user_field3_name' => '',
'
user_field4_name' => '',
'
display_comment_count' => '1',
'
show_private' => '0',
'
first_level' => '0',
'
display_film_strip' => '1',
'
display_film_strip_filename' => '0',
'
max_film_strip_items' => '5',
'
thumb_use' => 'ex',
'
read_iptc_data' => '0',
'
reg_notify_admin_email' => '0',
'
disable_comment_flood_protect' => '0',
'
upl_notify_admin_email' => '0',
'
display_uploader' => '0',
'
display_filename' => '0',
'
language_list' => '0',
'
language_flags' => '0',
'
theme_list' => '0',
'
language_reset' => '1',
'
theme_reset' => '1',
'
allow_memberlist' => '0',
'
display_faq' => '0',
'
show_bbcode_help' => '1',
'
log_ecards' => '0',
'
email_comment_notification' => '0',
'
enable_zipdownload' => '0',
'
slideshow_interval' => '5000',
'
log_mode' => '0',
'
media_autostart' => '1',
'
enable_encrypted_passwords' => '1',
'
time_offset' => '-5',
'
ban_private_ip' => '0',
'
smtp_host' => '',
'
smtp_username' => '',
'
smtp_password' => '',
'
enable_plugins' => '1',
'
enable_help' => '2',
'
categories_alpha_sort' => '0',
'
login_threshold' => '5',
'
login_expiry' => '10',
'
allow_email_change' => '1',
'
clickable_keyword_search' => '1',
'
users_can_edit_pics' => '0',
'
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',
'
alb_desc_thumb' => '1',
'
link_pic_count' => '1',
'
bridge_enable' => '0',
'
language_fallback' => '1',
'
vote_details' => '0',
'
hit_details' => '0',
'
browse_batch_add' => '0',
'
custom_header_path' => '',
'
custom_footer_path' => '',
'
comments_sort_descending' => '0',
'
report_post' => '0',
'
comments_anon_pfx' => 'Guest_',
'
admin_activation' => '0',
'
record_online_users' => '39',
'
record_online_date' => '1174159347',
'
mod_updates_duration' => '10',
'
enable_unsharp' => '0',
'
unsharp_amount' => '120',
'
unsharp_radius' => '0.5',
'
unsharp_threshold' => '3',
'
thumb_height' => '80',
'
enable_watermark' => '0',
'
where_put_watermark' => 'southeast',
'
watermark_file' => 'images/watermark.png',
'
which_files_to_watermark' => 'both',
'
orig_pfx' => 'orig_',
'
watermark_transparency' => '40',
'
reduce_watermark' => '0',
'
watermark_transparency_featherx' => '0',
'
watermark_transparency_feathery' => '0',
'
enable_mini_thumbs' => '1',
'
mini_thumb_width' => '80',
'
mini_thumb_height' => '80',
'
mini_pfx' => 'mini_',
'
mini_as_category_lead' => '1',
'
enable_user_notification' => '0',
'
enable_avatar' => '0',
'
pms_enabled' => '0',
'
pms_messages' => '200',
'
pms_enable_email' => '1',
'
pms_make_links' => '1',
'
pms_date_format' => 'l dS of F Y',
'
pms_time_format' => 'h:i:s',
'
pms_smilies' => '1',
'
pms_post_flood' => '30',
'
pms_message_bbcode' => '1',
'
pms_message_img_tag' => '1',
'
display_buddy_status' => '1',
'
display_pms_status' => '1',
'
enable_custom_thumbs' => '1',
'
enable_thumb_watermark' => '1',
'
enable_buddy' => '1',
'
enable_buddy_email' => '1',
'
enable_buddy_private_view' => '1',
'
buddy_enhanced_display' => '1',
'
fast_stats' => '0',
'
enable_stats' => '1',
'
enable_loginform' => '0',
'
info_block_align' => '0',
'
display_pic_voting' => '0',
'
display_pic_rating' => '0',
'
lang_autodetect' => '1',
'
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' => '',
'
coppermine_version' => '1.4.10 modpack v1'
);




?>






Do you see anything else in there that seems out of whack? I know its possible to get this working I have just never had it act up like this... thanks in advance if you can help further to point me in the right direction!

capecodgal

I tried to make line 139 bold or underlined for you so it would stand out but it didn't work- ignore that piece of code with the [ b ] that line only contains:


'domain_name' => 'hayden-collective.net',

capecodgal

AHHHHH I finally got it!! Thanks again for your help Nibbler  ;D



And for those that are having the same issue- I ended up having to use \\ rather than \ in my path before it would work; I was finally able to look at the other install for the other site and once I saw what he had done I figured it out-