CpmFetch did not show images during install. No errors, test code will not work. CpmFetch did not show images during install. No errors, test code will not work.
 

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

CpmFetch did not show images during install. No errors, test code will not work.

Started by brownleopard, December 07, 2009, 10:20:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brownleopard

Site: http://yellowdogclub.com
Gallery: http://gallery.yellowdogclub.com
Test page: http://yellowdogclub.com/index2.php
CpmFetch version: 2.0.0
CPG version: 1.4.25
CPG bridged with MyBB

Code in test page:
[code]<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>


Computer savvy? Yeah, quite a bit...which is why this is driving me nuts. I know I'm overlooking something.
Web server: Linux

My CpmFetch is installed to ./gallery/cpmfetch

I did not get any errors other than no images showing from the Coppermine gallery during the installation. My directories are CHMOD 775 in both my Coppermine configuration and on the webserver. Installation log to follow:

QuoteCpmFetch Install Script version 2.0.0
do=install
path=
force=true
Command install issued to script
* * BEGIN SERVER SETTINGS * *
SERVER DOCUMENT_ROOT: /home/content/y/e/l/yellowdogclub/html
SERVER GATEWAY_INTERFACE: CGI/1.1
SERVER HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=
0.8
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_CONNECTION: keep-alive
SERVER HTTP_COOKIE: coppermine_data=YTo1OntzOjI6IklEIjtzOjMyOiJkN2Q2MzE1MTkzMjY3
Mjk4OGQ5Y2U1NmFiZmEzYjkwMyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtz
OjM6ImxpdiI7YTowOnt9czo0OiJzb3J0IjtzOjI6InRhIjt9; ccf86639d16a35b501d93a1af49375
e3=3ab0934e9dae0c95de192a65bc40542a; adminsid=1a001e4289cc37d75bc2b129b61778d5;
mybbuser=1_YiBYLM99BRL2vdBHZxEbQMe87EclzOPsfgfMY2tj6Qf3KdDrLE; collapsed=; sid=2
1621d948bc3f74f7f25d0aafb90058c
SERVER HTTP_HOST: yellowdogclub.com
SERVER HTTP_KEEP_ALIVE: 300
SERVER HTTP_REFERER: http://yellowdogclub.com/gallery/cpmfetch/install.php
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1
.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
SERVER PATH: /bin:/usr/bin:/usr/local/bin
SERVER PATH_INFO: /gallery/cpmfetch/install.php
SERVER PHPRC: /home/content/y/e/l/yellowdogclub/html
SERVER QUERY_STRING: do=install&force=true
SERVER REDIRECT_STATUS: 200
SERVER REMOTE_ADDR: 72.84.49.99
SERVER REMOTE_PORT: 4387
SERVER REQUEST_METHOD: GET
SERVER REQUEST_URI: /gallery/cpmfetch/install.php?do=install&force=true
SERVER SCRIPT_FILENAME: /home/content/y/e/l/yellowdogclub/html/gallery/cpmfetch/
install.php
SERVER SCRIPT_NAME: /gallery/cpmfetch/install.php
SERVER SCRIPT_URI: http://yellowdogclub.com/gallery/cpmfetch/install.php
SERVER SCRIPT_URL: /gallery/cpmfetch/install.php
SERVER SERVER_ADDR: 72.167.232.84
SERVER SERVER_ADMIN: brownleopard@gmail.com
SERVER SERVER_NAME: yellowdogclub.com
SERVER SERVER_PORT: 80
SERVER SERVER_PROTOCOL: INCLUDED
SERVER SERVER_SIGNATURE:
Apache/1.3.33 Server at yellowdogclub.com Port 80


SERVER SERVER_SOFTWARE: Apache
SERVER SPI: TRUE
SERVER PHP_SELF: /gallery/cpmfetch/install.php
SERVER REQUEST_TIME: 1260220608
* * 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: 12
CONFIG: album_list_cols: 2
CONFIG: display_pic_info: 0
CONFIG: alb_list_thumb_size: 50
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: 1
CONFIG: allow_unlogged_access: 1
CONFIG: allow_duplicate_emails_addr: 1
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: 0775
CONFIG: default_sort_order: na
CONFIG: ecards_more_pic_target: http://gallery.yellowdogclub.com/
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: brownleopard@gmail.com
CONFIG: gallery_description:
CONFIG: gallery_name: Yellowdogclub.com Photo Gallery
CONFIG: im_options: -antialias
CONFIG: impath:
CONFIG: jpeg_qual: 80
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: 8192
CONFIG: max_upl_width_height: 5000
CONFIG: auto_resize: 1
CONFIG: min_votes_for_rating: 1
CONFIG: normal_pfx: normal_
CONFIG: offline: 0
CONFIG: picture_table_width: 600
CONFIG: picture_width: 600
CONFIG: read_exif_data: 1
CONFIG: reg_requires_valid_email: 0
CONFIG: subcat_level: 4
CONFIG: theme: yellowdogclub
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: 1
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: 1
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: 1
CONFIG: display_faq: 0
CONFIG: show_bbcode_help: 1
CONFIG: log_ecards: 1
CONFIG: email_comment_notification: 0
CONFIG: enable_zipdownload: 1
CONFIG: slideshow_interval: 5000
CONFIG: log_mode: 2
CONFIG: media_autostart: 0
CONFIG: enable_encrypted_passwords: 1
CONFIG: time_offset: -4
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: 1
CONFIG: clickable_keyword_search: 1
CONFIG: users_can_edit_pics: 1
CONFIG: show_which_exif: 0|0|0|0|0|0|0|0|1|1|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|1|1|0
|0|0|0|0|1|0|0|0|0|1|0|0|0|1|0|0|0|0|0|0|0|0|1|0|0|0|0|
CONFIG: link_pic_count: 0
CONFIG: bridge_enable: 1
CONFIG: language_fallback: 1
CONFIG: vote_details: 0
CONFIG: hit_details: 1
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
CONFIG: new_recaptcha_pubkey: [REMOVED FOR PRIVACY]
CONFIG: new_recaptcha_privkey: [REMOVED FOR PRIVACY]
CONFIG: avmk_enabled: 1
CONFIG: avmk_df_width: 100
CONFIG: avmk_df_height: 100
CONFIG: avmk_jpeg_quality: 80
CONFIG: avmk_time: 0
* * END CPG CONFIG TABLE * *
* * BEGIN CPG BRIDGE TABLE * *
BRIDGE: short_name: mybb
BRIDGE: license_number:
BRIDGE: db_database_name:
BRIDGE: db_hostname:
BRIDGE: db_username:
BRIDGE: db_password:
BRIDGE: full_forum_url: http://www.yellowdogclub.com/forums
BRIDGE: relative_path_of_forum_from_webroot:
BRIDGE: relative_path_to_config_file: ../forums/inc/
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: 0
BRIDGE: recovery_logon_timestamp: 2009-12-03 13:18:50
* * 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.25
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:/home/content/y/e/l/yellowdogclub/html/gallery/
domain_name:yellowdogclub.com
cpg_album_url:http://gallery.yellowdogclub.com/albums/
cpg_url:http://gallery.yellowdogclub.com/
* * Assigning bridged settings * *
Bridge_enable: 1
Bridge_short_name: mybb
Setting bridge as mybb
Opening cpmfetch config file: cpmfetch_config.php
Writing cpmfetch config file cpmfetch_config.php
Completed writing config file
Producing output screen and exiting
[/code]

Nibbler

Enable 'Albums can be private' in config and then check that there are no restrictions specified in the album properties for your albums (album can be viewed by). You can disable it again afterwards.

brownleopard

Ok, I have uncommented and changed:

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


My CPG config is set as:
Albums can be private (Note: if you switch from 'yes' to 'no' any current private albums will become public) No

Still showing blank.

Nibbler


brownleopard

Ah geeze. Sorry about that. Been staring at PHP code all day working on another page. Ok, as you suggested, rather than what my tired eyes saw, I have enabled private albums. Going in, I found that in fact, the permissions were set to Admins only. This, of course, fixed the issue. Thank you.

Hagman

Server: 2.9.2 Debian, Mysql 3,23
I installed joomla in the root of my server http://www.ncldk.dk and coppermine in a sub folder cpg15x, ver. 1.5.12 (the latest) a clean install whit out any bridge to joomla, and whit no errors in the "home" lings in the config line.  Cpmfetch ver. 2.1.1 is downloadet, unzipped And uploaded with FTP to a folder under the coppermine install. cpg15x/gallery/cpmfetch . "cpmfetch_config.php" is made read able  (cmod=777), and the install.php is called  http://www.ncldk.dk/cpg15x/gallery/cpmfetch/install.php .
The folder for config.inc.php is read in "/customers/ncldk.dk/ncldk.dk/httpd.www/cpg15x" Submit Query is cliked. The result is always the same CF-error and a small blok under it, that when cliked, opens the coppermine gallery with the test picture I put in it.  I am blank ! does anyone have an idea where to look for errors in this install ?, there are offers in the forum, but none of them seems to work.