SUPPORT FOR VERSION 1.9.x IN HERE ONLY (Really) - this is the 2.0 beta test run SUPPORT FOR VERSION 1.9.x IN HERE ONLY (Really) - this is the 2.0 beta test run
 

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

SUPPORT FOR VERSION 1.9.x IN HERE ONLY (Really) - this is the 2.0 beta test run

Started by vuud, August 26, 2006, 03:54:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vuud

Please post problems with the development version 1.9.0 in here only.  When a new version is released, this thread will be locked.  When the stable 2.0 comes out - the dev support threads will be deleted.

Thank you for your support

Dev version: 1.9.0 will be available at http://cpmfetch.fistfullofcode.com in the downloads section.

Thanks!

Vuud
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Davide Renda

#1
I may be blind (maybe too tired... been working today), but on the download page, the latest dev version is copperminefetch-1.5.3-dev; I've clean my cache, cookies, etc and re-loaded the page, but still remains the same?

**got it now - cheers**

vuud

Quote from: lontano on August 26, 2006, 04:51:44 PM
I may be blind (maybe too tired... been working today), but on the download page, the latest dev version is copperminefetch-1.5.3-dev; I've clean my cache, cookies, etc and re-loaded the page, but still remains the same?

**got it now - cheers**

Hah, "will be available"...  was not when I posted it, but as you found - is now.  Make sure you read the releasenote that comes with it or is online.

IMPORTANT:  If you bridge, do not waste your time on this one.  It brings back old problems that 1.6.3 fixed

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

#3
There is a bug in the code that generates thumbnail if you install the cpmfetch folder anywhere but in your CPG directory (or off the root if that is your directory).

I will work on this and it will be fixed in version 1.9.1

Sorry for any issues

EDIT: Version 1.9.1 uploaded - you only need to update if you are installing cpmfetch outside the cpg folder.


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Davide Renda

uncommenting line 32 on cfig_random.php and amending it
$cpmfetch->setAllowedTypes(array('.jpg','.gif','.png'));
I get error from cfimageget.php line 215 and have no image shown.

vuud

Quote from: lontano on August 27, 2006, 12:00:28 AM
uncommenting line 32 on cfig_random.php and amending it
$cpmfetch->setAllowedTypes(array('.jpg','.gif','.png'));
I get error from cfimageget.php line 215 and have no image shown.



Thanks for the testing... download 1.9.3 - this is fixed, along with some issues with the RSS feeds.

(if you don't overwrite your cpmfetch_config.php file, you do not need to run the install again.  Just dont copy that file to your server.

Vuud

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tom_a_sparks

I have just downloaded copperminefetch-1.9.3-dev and I am not get radom images and last updated images
(added three new images with a total of 4 images)

QuoteCpmFetch Install Script version 1.9.3
* * BEGIN SERVER SETTINGS * *
SERVER HTTP_HOST: 192.168.2.250
SERVER HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2
) Gecko/20040804 Netscape/7.2 (ax)
SERVER HTTP_ACCEPT: application/x-shockwave-flash,text/xml,application/xml,appli
cation/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jp
eg,image/gif;q=0.2,text/css,*/*;q=0.1
SERVER HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
SERVER HTTP_ACCEPT_ENCODING: gzip,deflate
SERVER HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
SERVER HTTP_KEEP_ALIVE: 300
SERVER HTTP_CONNECTION: keep-alive
SERVER HTTP_REFERER: http://192.168.2.250/gallery/cpmfetch/
SERVER HTTP_COOKIE: phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3
A32%3A%22d206fccd01b5bfca91fedcf2575e246f%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%2
22%22%3B%7D; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwYmMxY2Q2MzBkNTI5NzMyZDcwNGJ
hMzliNmQ5MmE4ZSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI
7YToxOntpOjA7czoxOiIxIjt9fQ%3D%3D; 0aef038d7511f6d9de80a77742415123=6e2d81ca6cae
bb63e6ac20f084fda90d
SERVER PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
SERVER SystemRoot: C:\WINDOWS
SERVER COMSPEC: C:\WINDOWS\system32\cmd.exe
SERVER PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
SERVER WINDIR: C:\WINDOWS
SERVER SERVER_SIGNATURE:
Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenS SL/0.9.8b mod_autoindex_color PHP/5.1.4 Server at 192.168.2.250 Port 80


SERVER SERVER_SOFTWARE: Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b
mod_autoindex_color PHP/5.1.4
SERVER SERVER_NAME: 192.168.2.250
SERVER SERVER_ADDR: 192.168.2.250
SERVER SERVER_PORT: 80
SERVER REMOTE_ADDR: 192.168.2.150
SERVER DOCUMENT_ROOT: C:/xampplite/htdocs
SERVER SERVER_ADMIN: admin@localhost
SERVER SCRIPT_FILENAME: C:/xampplite/htdocs/gallery/cpmfetch/install.php
SERVER REMOTE_PORT: 2082
SERVER GATEWAY_INTERFACE: CGI/1.1
SERVER SERVER_PROTOCOL: HTTP/1.1
SERVER REQUEST_METHOD: GET
SERVER QUERY_STRING:
SERVER REQUEST_URI: /gallery/cpmfetch/install.php
SERVER SCRIPT_NAME: /gallery/cpmfetch/install.php
SERVER PHP_SELF: /gallery/cpmfetch/install.php
SERVER REQUEST_TIME: 1156649278
SERVER argv: Array
SERVER argc: 0
* * END SERVER SETTINGS * *
Running default command: install
Found config file at ../include/config.inc.php
Found init file at ../include/init.inc.php
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: 1
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: cpg143
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://192.168.2.250/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: tom_a_sparks@yahoo.com.au
CONFIG: gallery_description: Your online photo album
CONFIG: gallery_name: Coppermine 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: 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: core
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: 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: 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: 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: 0
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: 0
CONFIG: comments_anon_pfx: Guest_
CONFIG: admin_activation: 0
* * END CPG CONFIG 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.8
InitFile: CPG Version stable
Closing init file
* * Generating Dynamic Defaults * *
filesystem_path_to_cpg:C:/xampplite/htdocs/gallery
domain_name:192.168.2.250
cpg_album_url:http://192.168.2.250/gallery/albums/
cpg_url:http://192.168.2.250/gallery/
Opening cpmfetch config file: cpmfetch_config.php
Writing cpmfetch config file cpmfetch_config.php
Completed writing config file
Producing output screen and exiting

vuud

Quote from: tom_a_sparks on August 27, 2006, 05:29:52 AM
I have just downloaded copperminefetch-1.9.3-dev and I am not get radom images and last updated images
(added three new images with a total of 4 images)


Okay, well if you click on this:

http://192.168.2.250/gallery

Does it load your gallery?

Also, can you look at view-source for the area that should display the images and tell me if you see it attempting to show images in there?

Or if you want, do a save-as html for the page and email it to me directly... my debug output has apparently failed me as this looks okay from here.   I will PM you my address.

Thanks for bearing with me.

Vuud



Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

Quote from: vuud on August 27, 2006, 06:16:46 AM

Wait, do you mean the install worked, but using it is funky?

If not...


Okay, well if you click on this:

http://192.168.2.250/gallery

Does it load your gallery?

Also, can you look at view-source for the area that should display the images and tell me if you see it attempting to show images in there?

Or if you want, do a save-as html for the page and email it to me directly... my debug output has apparently failed me as this looks okay from here.   I will PM you my address.

Thanks for bearing with me.

Vuud




Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tom_a_sparks


Davide Renda

cfimageget.php file has most of basic lines commented; was it done to force the user in changing them, or is it something forgotten while checking the code itself?

<?php 

/**

 * CoppermineFetch :: cfimageget

 * 

 * This is a support library to help grab an image from a coppermine database and display them on normal 

 * HTML page by coming back as an image.  It also contains the object used by any extentions of cfimageget

 * 

 * Usage:  Call this file from an img tag and it will return graphic data to you

 *

 * cfimageget.php - will return random from anywhere in the gallery

 * cfimageget.php?category=1 - will return random image from category 1

 * cfimageget.php?album=1 - will return a random image from album 1

 * cfimageget.php?album=1 - will return a random image from album 1

 *

 * Other options to add on

 * size=[thumb|int|large]

 * cmd=[last|random]

*

* RELEASE VERSION 1.9.3



 * @version $Revision: 1.13 $

 * The presedence is album over category, so if you add in both - you get whatever album is looking for

 */



 

require_once "cpmfetch_dao.php";



// CHANGE THIS TO TRUE IF PEOPLE ARE ALLOWED QUERIES THROUGH HERE

$ALLOW_DIRECT_ACCESS true;



if (
$ALLOW_DIRECT_ACCESS && substr($_SERVER['SCRIPT_FILENAME'],-14) == "cfimageget.php") {



// This one you need to adjust unless your galler is at http://www.youname.com/photos

// If you installed right to the root of your web site, just use a /

// TODO This should be path to config file

// $urltocpm = "/photos/";

$pathToConfigFile "";



// If no cmd= is submitted, it will do this:

$default_command "random";



// This would allow for non-public photos to be shown if set to FALSE

// $do_not_show_private = true;



// Change these only if you know what you are doing... its determines how your photos are named

// $thumbnailprefix='thumb_';

// $intermedprefix='normal_';

// $fullsizeprefix='';



$cpmfetch = new cfimageget();



// $cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp")); 



// Dont touch these.  Really.  Honestly.  Really.

// $cpmfetch->setThumbnailPrefix($thumbnailprefix);

// $cpmfetch->setInterPrefix($intermedprefix);

// $cpmfetch->setFullPrefix($fullsizeprefix);

// $cpmfetch->setPrivacyFlagOn($do_not_show_private);


Once having uncommented those lines, all works perfectly  ;)

vuud

Quote from: tom_a_sparks on August 27, 2006, 07:27:24 AM
sorry that address is my in house network address

Yes, I realize that.  Otherwise I would have tried it myself (192.168.x.x is IANA private address space)

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

Quote from: lontano on August 27, 2006, 03:00:06 PM
cfimageget.php file has most of basic lines commented; was it done to force the user in changing them, or is it something forgotten while checking the code itself?

Once having uncommented those lines, all works perfectly  ;)

Alot of the lines are not needed anymore, but I have not had time to properly clean them up.  cfimageget.php worked fine with the comments here...  Some are just ignored - like the prefixes for photos, thats all done by the installer and config file now.  It's on my list to clean it all up and document them better.


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

Quote from: vuud on August 27, 2006, 06:16:46 AM
Okay, well if you click on this:

http://192.168.2.250/gallery

Does it load your gallery?

Also, can you look at view-source for the area that should display the images and tell me if you see it attempting to show images in there?

Or if you want, do a save-as html for the page and email it to me directly... my debug output has apparently failed me as this looks okay from here.   I will PM you my address.

Thanks for bearing with me.

Vuud



From your output, it looks like the install.php did actually display a picture

http://192.168.2.250/gallery/albums/userpics/10001/thumb_100_0716_sm.jpg

Did it not?  I am guessing you only have one photo in the gallery?





Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tom_a_sparks

yes it did and I have four photos in the gallery
not just one like CpmFetch reports
I changed to the Dev version because the normal version was not working at all :(

tom_a_sparks

now I am getting a new error messages from the dev version
QuoteError in getImageTouse: Extension (strtolower): .jpg File:/albums/userpics/10001/thumb_100_0716_sm.jpg
both res and dev are in the cpm folder
with the dev in cpmfetch-dev (1.9.3-dev)
and the res in cpmfetch-res (1.6.4)

vuud

Quote from: tom_a_sparks on August 29, 2006, 01:56:49 AM
now I am getting a new error messages from the dev versionboth res and dev are in the cpm folder
with the dev in cpmfetch-dev (1.9.3-dev)
and the res in cpmfetch-res (1.6.4)

Can you verify for me that the image it is looking for exists where it mentions?

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tom_a_sparks

http://192.168.2.250/gallery//albums/userpics/10001/thumb_100_0716_sm.jpg
no image here

but there is here
http://192.168.2.250/gallery/albums/userpics/10001/thumb_100_0716_sm.jpg

also saw this in install.php dev version
Quote<blockquote></blockquote>
Error in getImageTouse: Extension (strtolower): .jpg  File:/albums/userpics/10001/thumb_100_0716_sm.jpg<br />
<table  >

<tr>

<td><a href="http://192.168.2.250/gallery/displayimage.php?pos=-1"  ><img  src="" alt="100_0716_sm.jpg" title="100_0716_sm.jpg"  /></a><br /><br />2 views</td>

vuud


I thought the double slashes were a thing of the past in the dev version... So it does that during the install.php page?  Missing thumbnails due to double slashes?



Quote from: tom_a_sparks on August 29, 2006, 02:55:49 AM
http://192.168.2.250/gallery//albums/userpics/10001/thumb_100_0716_sm.jpg
no image here

but there is here
http://192.168.2.250/gallery/albums/userpics/10001/thumb_100_0716_sm.jpg

also saw this in install.php dev version
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tom_a_sparks

I've turned the Bridge on and Bridge off same error

the res verion (1.6.4) cftest.php works???