Route to cpmfetch Route to cpmfetch
 

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

Route to cpmfetch

Started by Steve1234, January 17, 2008, 04:26:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve1234

I know it clearly states to put cpmfetch folder into your CPG folder however I did not have CPG FOLDER and assume it meant where the coppermine folders are. These are in a subdomain of my main site I then continued with install which appears to have worked and the test images are showing this is on page  http://www.wedding-directory.org/fansphotos/cpmfetch/install.php stating images are displayed with the following php code
<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>


I think my problem is the index page where I want the display to show is the subdomain http://fansphotos.for-you.cc

I have tried variatons of the route in the code but this is more guess work than knowing what I am doing

I give below all information as installed hope this may help

CpmFetch Install Script version 2.0.0
do=install
path=
force=true
Command install issued to script
* * BEGIN SERVER SETTINGS * *
SERVER PATH: /usr/local/bin:/usr/bin:/bin
SERVER DOCUMENT_ROOT: /home/steve123/public_html
SERVER HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, applica
tion/x-shockwave-flash, application/vnd.ms-excel, application/msword, */*
SERVER HTTP_ACCEPT_ENCODING: gzip, deflate
SERVER HTTP_ACCEPT_LANGUAGE: en-gb
SERVER HTTP_CONNECTION: Keep-Alive
SERVER HTTP_COOKIE: logintheme=cpanel; cprelogin=no; cpsession=closed
SERVER HTTP_HOST: www.wedding-directory.org
SERVER HTTP_REFERER: http://www.wedding-directory.org/fansphotos/cpmfetch/instal
l.php
SERVER HTTP_UA_CPU: x86
SERVER HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; MSDig
italLocker; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR
2.0.50727; Alexa Toolbar)
SERVER REMOTE_ADDR: 86.14.14.57
SERVER REMOTE_PORT: 1717
SERVER SCRIPT_FILENAME: /home/steve123/public_html/fansphotos/cpmfetch/install.p
hp
SERVER SERVER_ADDR: 70.85.249.98
SERVER SERVER_ADMIN: webmaster@wedding-directory.org
SERVER SERVER_NAME: www.wedding-directory.org
SERVER SERVER_PORT: 80
SERVER SERVER_SOFTWARE: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_by
tes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.
7a PHP-CGI/0.1b
SERVER GATEWAY_INTERFACE: CGI/1.1
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER REQUEST_METHOD: GET
SERVER QUERY_STRING: do=install&force=true
SERVER REQUEST_URI: /fansphotos/cpmfetch/install.php?do=install&force=true
SERVER SCRIPT_NAME: /fansphotos/cpmfetch/install.php
SERVER PHP_SELF: /fansphotos/cpmfetch/install.php
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: albums_per_page: 200
CONFIG: album_list_cols: 8
CONFIG: display_pic_info: 0
CONFIG: alb_list_thumb_size: 69
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: 0
CONFIG: charset: utf-8
CONFIG: cookie_name: coppermine
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://fansphotos.for-you.cc/
CONFIG: home_target: index.php
CONFIG: custom_lnk_name: Contact us
CONFIG: custom_lnk_url: http://fansphotos.for-you.cc/thumbnails.php?album=search
&amp;search=babe
CONFIG: enable_smilies: 1
CONFIG: filter_bad_words: 1
CONFIG: forbiden_fname_char: $/\\:*?"'<>|` &
CONFIG: fullpath: albums/
CONFIG: gallery_admin_email: Steve@fansphotos.for-you.cc
CONFIG: gallery_description: Add photo's and vote for your favourite team, p
layer or fan
CONFIG: gallery_name: Football photos
CONFIG: im_options: -antialias
CONFIG: impath: /usr/bin/
CONFIG: jpeg_qual: 80
CONFIG: keep_votes_time: 30
CONFIG: lang: english
CONFIG: main_page_layout: breadcrumb/catlist/alblist/toprated/lastup,2
CONFIG: main_table_width: 90%
CONFIG: make_intermediate: 0
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: 1024
CONFIG: max_upl_width_height: 600
CONFIG: auto_resize: 1
CONFIG: min_votes_for_rating: 1
CONFIG: normal_pfx: normal_
CONFIG: offline: 0
CONFIG: picture_table_width: 90%
CONFIG: picture_width: 400
CONFIG: read_exif_data: 0
CONFIG: reg_requires_valid_email: 1
CONFIG: subcat_level: 1
CONFIG: theme: classic
CONFIG: thumbcols: 5
CONFIG: thumbrows: 4
CONFIG: thumb_method: im
CONFIG: thumb_pfx: thumb_
CONFIG: thumb_width: 100
CONFIG: userpics: userpics/
CONFIG: vanity_block: 0
CONFIG: user_profile1_name: Location
CONFIG: user_profile2_name: Club
CONFIG: user_profile3_name: How long a supporter
CONFIG: user_profile4_name: Male/Female
CONFIG: user_profile5_name: Age
CONFIG: user_profile6_name: About yourself
CONFIG: user_field1_name: Team
CONFIG: user_field2_name:
CONFIG: user_field3_name:
CONFIG: user_field4_name:
CONFIG: display_comment_count: 1
CONFIG: show_private: 0
CONFIG: first_level: 1
CONFIG: display_film_strip: 0
CONFIG: display_film_strip_filename: 0
CONFIG: max_film_strip_items: 5
CONFIG: thumb_use: wd
CONFIG: read_iptc_data: 0
CONFIG: reg_notify_admin_email: 1
CONFIG: disable_comment_flood_protect: 0
CONFIG: upl_notify_admin_email: 1
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: 0
CONFIG: allow_memberlist: 0
CONFIG: display_faq: 1
CONFIG: show_bbcode_help: 1
CONFIG: log_ecards: 0
CONFIG: email_comment_notification: 1
CONFIG: enable_zipdownload: 1
CONFIG: slideshow_interval: 5000
CONFIG: log_mode: 0
CONFIG: media_autostart: 1
CONFIG: enable_encrypted_passwords: 1
CONFIG: time_offset: 0
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: 1
CONFIG: login_threshold: 5
CONFIG: login_expiry: 10
CONFIG: allow_email_change: 0
CONFIG: clickable_keyword_search: 1
CONFIG: users_can_edit_pics: 1
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: 0
CONFIG: bridge_enable: 0
CONFIG: language_fallback: 1
CONFIG: vote_details: 1
CONFIG: hit_details: 0
CONFIG: browse_batch_add: 1
CONFIG: custom_header_path: nav.html
CONFIG: custom_footer_path:
CONFIG: comments_sort_descending: 0
CONFIG: report_post: 1
CONFIG: comments_anon_pfx: Guest_
CONFIG: admin_activation: 0
* * 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:
* * 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.12
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:/home/steve123/public_html/fansphotos/
domain_name:www.wedding-directory.org
cpg_album_url:http://fansphotos.for-you.cc/albums/
cpg_url:http://fansphotos.for-you.cc/
* * 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


Do'nt post debug without advise please. output taged in CODE by PYAP for a shorter Post.

Steve1234

I think I was having problems as I was trying to place in template of theme so please ignore
thanks anyway