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: [Solved]: problem installing CPMFetch after gallery domain tranfer  (Read 5422 times)

0 Members and 1 Guest are viewing this topic.

Afrodite

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

Hello.  I searched through all pages, but couldn't quite find the answer to my problem, and I hope I am posting about this correctly.

I am using CPG1.4
Stable release of CPMFetch 2.0
New gallery link: http://johnnyandolivia.com/media
Old gallery link: http://www.jonathan-and-tammy.com/johnnyolivia

Screenshot of install problem:
http://i142.photobucket.com/albums/r92/askaouris/Untitled-1-4.png

Debug Info:
Code: [Select]
CpmFetch Install Script version 2.0.0
do=
path=
force=
Running default command: install
* * BEGIN SERVER SETTINGS * *
SERVER FCGI_ROLE: RESPONDER
SERVER HTTP_ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/p
lain;q=0.8,image/png,*/*;q=0.5
SERVER HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
SERVER HTTP_ACCEPT_ENCODING: gzip
SERVER HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
SERVER HTTP_CACHE_CONTROL: no-cache
SERVER HTTP_CLIENT_IP: 98.193.61.56
SERVER HTTP_CONNECTION: close
SERVER HTTP_COOKIE: BX=d1ofgtd57143d&b=3&s=g8; 12189639778c9799de1c6f743bd7c386=
da864005508204b45c9077c7cfdb6cab; __qca=1183906646-46085043-54242068; cef0fae59b
a031ff7e5b4e3e16959336=0cdc8b495b4c7bb5a8d8a10593c387bd; 2066678caa1fde7a4e41a6c
e121cb97d=6753bb7ca9bf51760349f4d49f762e96; e1913be0996b3dc76a16b2d859b10a3e=950
78749da5f8dcaac645762407bd309; __qcb=1006925286; 0af07fea7ed7d47fe9c1ed610f7f6e5
4=9ee869f99f873a5b12d5ffd155430021; 485569f0340010ecb94d182dd65525f6=89b7aa7c207
ad31a9976d862679404f2; coppermine_data=YTo1OntzOjI6IklEIjtzOjMyOiIwZTgxYWE2OGM2N
GY0Mjk3YjVhOGFkMjUzNTUxMzUxYiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoI
jtzOjM6ImxpdiI7YTowOnt9czozOiJsYXAiO2k6Mjt9
SERVER HTTP_HOST: johnnyandolivia.com
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWeb
Kit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5
SERVER HTTP_X_FORWARDED_FOR: 98.193.61.56
SERVER PATH: /usr/bin:/bin
SERVER REDIRECT_STATUS: 200
SERVER REDIRECT_URL: /media/cpmfetch/install.php
SERVER REMOTE_ADDR: 98.193.61.56
SERVER REMOTE_PORT: 43527
SERVER SCRIPT_FILENAME: /media/cpmfetch/install.php
SERVER SCRIPT_URI: http://johnnyandolivia.com/media/cpmfetch/install.php
SERVER SCRIPT_URL: /media/cpmfetch/install.php
SERVER SERVER_NAME: johnnyandolivia.com
SERVER SERVER_PORT: 80
SERVER SERVER_SOFTWARE: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6b Front
Page/5.0.2.2510 mod_fastcgi/2.4.2
SERVER GATEWAY_INTERFACE: CGI/1.1
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER REQUEST_METHOD: GET
SERVER QUERY_STRING:
SERVER REQUEST_URI: /media/cpmfetch/install.php
SERVER SCRIPT_NAME: /media/cpmfetch/install.php
SERVER ORD: 2
SERVER PHP_VERSION:
SERVER YID: afrodite0215
SERVER PHPRC: /usr/lib/php/php4.ini
SERVER PHP_FCGI_CHILDREN: 2
SERVER PDB_LIST: 67.28.113.250,67.28.113.251,67.28.113.252,67.28.113.254,67.28.1
13.200,67.28.113.201,67.28.113.202,67.28.113.203,67.28.113.204
SERVER REAL_ROOT: /
SERVER SIG: J.vhDi_a4RGIylMjFWuP8g--
SERVER SC: us7
SERVER LD_PRELOAD: /usr/lib/libygcWrap.so
SERVER LD_LIBRARY_PATH: /usr/lib
SERVER LD_32_PRELOAD: /usr/lib/libygcWrap.so
SERVER LD_32_LIBRARY_PATH: /usr/lib
SERVER DOCUMENT_ROOT: /
SERVER PHP_SELF: /media/cpmfetch/install.php
SERVER argv: Array
SERVER argc: 0
* * 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: 12
CONFIG: album_list_cols: 2
CONFIG: display_pic_info: 0
CONFIG: alb_list_thumb_size: 110
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: 0
CONFIG: allow_user_registration: 0
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: coppermine
CONFIG: cookie_path: /
CONFIG: debug_mode: 0
CONFIG: debug_notice: 0
CONFIG: default_dir_mode: 0755
CONFIG: default_file_mode: 0644
CONFIG: default_sort_order: na
[b]CONFIG: ecards_more_pic_target: http://www.jonathan-and-tammy.com/johnnyolivia/[/b]
CONFIG: home_target: index.php
CONFIG: custom_lnk_name: Johnny&Olivia[dot]com
CONFIG: custom_lnk_url: http://johnnyandolivia.com
CONFIG: enable_smilies: 1
CONFIG: filter_bad_words: 0
CONFIG: forbiden_fname_char: $/\\:*?
CONFIG: fullpath: albums/
CONFIG: gallery_admin_email: afrodite0215@yahoo.com
CONFIG: gallery_description:
CONFIG: gallery_name: The Johnny and Olivia Multimedia Gallery
CONFIG: im_options: -antialias
CONFIG: impath:
CONFIG: jpeg_qual: 80
CONFIG: keep_votes_time: 30
CONFIG: lang: english
CONFIG: main_page_layout: breadcrumb/lastalb/catlist/alblist/topn/lasthits/rando
m/lastup
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_img_desc_length: 512
CONFIG: max_tabs: 12
CONFIG: max_upl_size: 1024
CONFIG: max_upl_width_height: 2048
CONFIG: auto_resize: 0
CONFIG: min_votes_for_rating: 1
CONFIG: normal_pfx: normal_
CONFIG: offline: 0
CONFIG: picture_table_width: 600
CONFIG: picture_width: 400
CONFIG: read_exif_data: 0
CONFIG: reg_requires_valid_email: 1
CONFIG: subcat_level: 1
CONFIG: theme: jolivia
CONFIG: thumbcols: 4
CONFIG: thumbrows: 3
CONFIG: thumb_method: gd2
CONFIG: thumb_pfx: thumb_
CONFIG: thumb_width: 110
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:
CONFIG: user_field2_name:
CONFIG: user_field3_name:
CONFIG: user_field4_name:
CONFIG: display_comment_count: 0
CONFIG: show_private: 0
CONFIG: first_level: 1
CONFIG: display_film_strip: 1
CONFIG: display_film_strip_filename: 0
CONFIG: max_film_strip_items: 5
CONFIG: thumb_use: any
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: 1
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: afrodite0215
CONFIG: smtp_password: mauriceb
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: 0
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: link_pic_count: 0
CONFIG: bridge_enable: 0
CONFIG: language_fallback: 1
CONFIG: vote_details: 0
CONFIG: hit_details: 0
CONFIG: browse_batch_add: 1
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
* * 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.24
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:/media/
domain_name:johnnyandolivia.com
[b]cpg_album_url:http://www.jonathan-and-tammy.com/johnnyolivia/albums/[/b]
[b]cpg_url:http://www.jonathan-and-tammy.com/johnnyolivia/[/b]
* * 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

How computer savvy you are: Intermediate.  Relatively new to php, but I can make my way around.

Before I installed cpmfetch, I moved my gallery from one domain to another on the same host.  Then I installed the script for the first time in the new gallery.  Because of this, cpmfetch is writing the URL of the images (the four images in the install are from the new gallery-the URL isn't right) as they belonged in the old gallery.  In the debug info, I placed in bold all the places that the script uses the old domain.

Is there a solution for this problem?  Thanks in advance for any help.
« Last Edit: August 05, 2009, 05:32:23 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem installing CPMFetch after gallery domain tranfer
« Reply #1 on: August 05, 2009, 11:12:18 am »

Screenshot of install problem:
http://i142.photobucket.com/albums/r92/askaouris/Untitled-1-4.png
You tried to do as suggested in the sticky thread, so your posting shows you tried - I appreciate that. However, hotlinking is something we're not fond of (see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617), we prefer attachments.
However, instead of posting a screenshot, why don't you post the link to the page that is being displayed in your screenshot? This way, supporters can see what actually goes wrong.
Logged

Nibbler

  • Guest
Re: problem installing CPMFetch after gallery domain tranfer
« Reply #2 on: August 05, 2009, 01:35:11 pm »

You need to set your gallery URL in config on the new site. It's still set to the URL of the old site.
Logged

Afrodite

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: problem installing CPMFetch after gallery domain tranfer
« Reply #3 on: August 05, 2009, 05:08:12 pm »

You tried to do as suggested in the sticky thread, so your posting shows you tried - I appreciate that. However, hotlinking is something we're not fond of (see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617), we prefer attachments.
However, instead of posting a screenshot, why don't you post the link to the page that is being displayed in your screenshot? This way, supporters can see what actually goes wrong.
Sorry. I knew I'd do something wrong. :/

Quote
You need to set your gallery URL in config on the new site. It's still set to the URL of the old site.
The gallery config.  Doh!  I'm so stupid.

Thanks so much for the help.  It works fine now.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.