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: Please Help Me with CF-Error  (Read 4758 times)

0 Members and 1 Guest are viewing this topic.

Evaligan

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Please Help Me with CF-Error
« on: May 13, 2008, 03:55:05 pm »

http://yurilandia.net/gallery/    <-- This is my gallery (yes is underconstruction for now) Coppermine Photo Gallery v1.4.14
http://yurilandia.net/forum/     <--- My SMF forum is 1.1.4

CpmFetch Installer for release 2.0.0
http://cpmfetch.fistfullofcode.com

Test images - found a total of 13 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
1174910863965.jpg

1 views    1173960085410.jpg

0 views    1177886952379.jpg

0 views    moshimoashitagaharenarabang6.jpg

0 views

These images were found and displayed by using the following PHP code:

These images were found and displayed by using the following PHP code:
Code: [Select]
<?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:
Code: [Select]
<?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.
Code: [Select]
CpmFetch Install Script version 2.0.0
do=
path=
force=
Running default command: install
* * BEGIN SERVER SETTINGS * *
SERVER ALL_HTTP: HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_ACCEPT:text
/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,imag
e/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_E
NCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HT
TP_COOKIE:PHPSESSID=a9vpdjvv310plrv6p2aqm6oa01; SMFCookie447=a%3A4%3A%7Bi%3A0%3B
s%3A1%3A%221%22%3Bi%3A1%3Bs%3A40%3A%224adc055fbea3fd735463ca0de09067fca10ccf0c%2
2%3Bi%3A2%3Bi%3A1399898499%3Bi%3A3%3Bi%3A0%3B%7D
HTTP_HOST:yurilandia.net
HTTP_U
SER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.14) Gecko/200
80404 Firefox/2.0.0.14;MEGAUPLOAD 1.0

SERVER HTTPS: off
SERVER SCRIPT_NAME: /gallery/cpmfetch/install.php
SERVER HTTP_COOKIE: PHPSESSID=a9vpdjvv310plrv6p2aqm6oa01; SMFCookie447=a%3A4%3A%
7Bi%3A0%3Bs%3A1%3A%221%22%3Bi%3A1%3Bs%3A40%3A%224adc055fbea3fd735463ca0de09067fc
a10ccf0c%22%3Bi%3A2%3Bi%3A1399898499%3Bi%3A3%3Bi%3A0%3B%7D
SERVER AUTH_PASSWORD:
SERVER AUTH_TYPE:
SERVER AUTH_USER:
SERVER CONTENT_LENGTH: 0
SERVER CONTENT_TYPE:
SERVER PATH_TRANSLATED: I:\FerozoWebHosting\yurilandia.net\public_html
SERVER QUERY_STRING:
SERVER REMOTE_ADDR: 189.164.198.184
SERVER REMOTE_HOST: 189.164.198.184
SERVER REMOTE_USER:
SERVER REQUEST_METHOD: GET
SERVER SERVER_NAME: yurilandia.net
SERVER SERVER_PORT: 80
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER SERVER_SOFTWARE: Microsoft-IIS/6.0
SERVER APPL_MD_PATH: /LM/w3svc/124789445/root
SERVER APPL_PHYSICAL_PATH: I:\FerozoWebHosting\yurilandia.net\public_html\
SERVER INSTANCE_ID: 124789445
SERVER INSTANCE_META_PATH: /LM/W3SVC/124789445
SERVER LOGON_USER:
SERVER REQUEST_URI: /gallery/cpmfetch/install.php
SERVER URL: /gallery/cpmfetch/install.php
SERVER SCRIPT_FILENAME: I:\FerozoWebHosting\yurilandia.net\public_html\gallery\c
pmfetch\install.php
SERVER ORIG_PATH_INFO: /gallery/cpmfetch/install.php
SERVER PATH_INFO:
SERVER ORIG_PATH_TRANSLATED: I:\FerozoWebHosting\yurilandia.net\public_html\gall
ery\cpmfetch\install.php
SERVER DOCUMENT_ROOT: I:\FerozoWebHosting\yurilandia.net\public_html
SERVER PHP_SELF: /gallery/cpmfetch/install.php
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: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
SERVER HTTP_HOST: yurilandia.net
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1
.14) Gecko/20080404 Firefox/2.0.0.14;MEGAUPLOAD 1.0
SERVER REQUEST_TIME: 1210684608
* * 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: 24
CONFIG: album_list_cols: 2
CONFIG: display_pic_info: 0
CONFIG: alb_list_thumb_size: 100
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: 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
CONFIG: ecards_more_pic_target: http://yurilandia.net/gallery/
CONFIG: home_target: index.php
CONFIG: custom_lnk_name:
CONFIG: custom_lnk_url:
CONFIG: enable_smilies: 1
CONFIG: filter_bad_words: 0
CONFIG: forbiden_fname_char: $/\\:*?"'<>|` &
CONFIG: fullpath: albums/
CONFIG: gallery_admin_email: morrigan_aensland69@hotmail.com
CONFIG: gallery_description: Disfruta de nuestra hermosa galeria yuri.
CONFIG: gallery_name: Yurilandia ~Galeria de Imagenes ~
CONFIG: im_options: -antialias
CONFIG: impath:
CONFIG: jpeg_qual: 95
CONFIG: keep_votes_time: 30
CONFIG: lang: english
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_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: 2
CONFIG: theme: fruity
CONFIG: thumbcols: 4
CONFIG: thumbrows: 3
CONFIG: thumb_method: gd2
CONFIG: thumb_pfx: thumb_
CONFIG: thumb_width: 100
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: 1
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: 1
CONFIG: display_uploader: 0
CONFIG: display_filename: 0
CONFIG: language_list: 0
CONFIG: language_flags: 1
CONFIG: theme_list: 0
CONFIG: language_reset: 1
CONFIG: theme_reset: 1
CONFIG: allow_memberlist: 1
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: 0
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: link_pic_count: 1
CONFIG: bridge_enable: 1
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: 1
CONFIG: comments_anon_pfx: Anonima
CONFIG: admin_activation: 0
* * END CPG CONFIG TABLE * *
* * BEGIN CPG BRIDGE TABLE * *
BRIDGE: short_name: smf10
BRIDGE: license_number:
BRIDGE: db_database_name:
BRIDGE: db_hostname:
BRIDGE: db_username:
BRIDGE: db_password:
BRIDGE: full_forum_url: http://yurilandia.net/forum/index.php
BRIDGE: relative_path_of_forum_from_webroot:
BRIDGE: relative_path_to_config_file: ../forum/
BRIDGE: logout_flag:
BRIDGE: use_post_based_groups: 0
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: 3
BRIDGE: recovery_logon_timestamp: 2008-05-03 18:15:47
* * 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.14
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:I
domain_name:yurilandia.net
cpg_album_url:http://yurilandia.net/gallery/albums/
cpg_url:http://yurilandia.net/gallery/
* * Assigning bridged settings * *
Bridge_enable: 1
Bridge_short_name: smf10
Setting bridge as smf10
Opening cpmfetch config file: cpmfetch_config.php
Writing cpmfetch config file cpmfetch_config.php
Completed writing config file
Producing output screen and exiting
In the installation the images don't show. :'(
I want that the most recent images shows random in my SMF forum. Somebody can help me?
I sorry if I am newbie.
Logged

Nibbler

  • Guest
Re: Please Help Me with CF-Error
« Reply #1 on: May 13, 2008, 04:01:15 pm »

You need to hardcode a path somewhere I think - search the board. Also, update your gallery.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.