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 ... 8 9 10 11 [12] 13 14 15 16 ... 54   Go Down

Author Topic: CpmFetch 1.4 On... Displaying data and images from CPG on your website  (Read 965848 times)

0 Members and 3 Guests are viewing this topic.

smoke10010

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #220 on: August 27, 2005, 02:35:06 am »

i tried getting cpm fetch to work with e107 but the images don't display... all the tests pass but the calls don't work.. unfortunately i don't know enough php to modify it enough to work but just a heads up i guess
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #221 on: August 27, 2005, 03:28:41 pm »

The e107 port goes unsupported, I guess CPMFetch was not designed to work with e107. We (the coppermine dev team) have no idea how e107 works, and I guess it's the same for vuud (please correct me if I'm wrong). The e107 port is just that: an unsupported port, where mods or hacks that have been made for standalone coppermine versions may work, but some certainly won't.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #222 on: August 27, 2005, 03:40:55 pm »

The e107 port goes unsupported, I guess CPMFetch was not designed to work with e107. We (the coppermine dev team) have no idea how e107 works, and I guess it's the same for vuud (please correct me if I'm wrong). The e107 port is just that: an unsupported port, where mods or hacks that have been made for standalone coppermine versions may work, but some certainly won't.

Hello all,

Yes, I have no idea how e107 works, but so far we've gotten it working with all CMS's we've tried.  They have all just been a little different.  If you can program e107 to run code in its templates, you can get cpmfetch working.  It mostly comes down to:

 1) Setting the right path from where e107 executes to cpmfetch
 2) Working out any strange issues with paths

Hopefully later today I will have some time to answer this one and the other question...  I also want to get some more work done on cpmfetch as IRL it's been too busy lately.

So check back later in the other forum (for stuff like this) and maybe I will have an answer

http://forum.coppermine-gallery.net/index.php?topic=19528.0

Logged
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

SolidArt

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #223 on: August 27, 2005, 06:46:42 pm »

Please HELP!
In test everything seems allright, but

Code: [Select]
Trying to display some images:

Notice: Undefined variable: SERVER_NAME in /usr/home/shkola/gallery/include/config.inc.php on line 7

In source code there're no images, just <table><tr></tr></table>.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #224 on: August 27, 2005, 09:19:01 pm »

Please HELP!
In test everything seems allright, but

Code: [Select]
Trying to display some images:

Notice: Undefined variable: SERVER_NAME in /usr/home/shkola/gallery/include/config.inc.php on line 7

In source code there're no images, just <table><tr></tr></table>.

Strange, I don't use SERVER_NAME in any of my code that I know of... can you see whats in your config.inc.php file?  Mind you, if you post it - make sure to XXXXX over your database username and password



Logged
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

Andreas W.

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #225 on: August 27, 2005, 10:37:40 pm »

i could need some help.

No ideas? =:-/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #226 on: August 28, 2005, 11:25:53 am »

Hi,
i could need some help.

After uploading all files i tried /cftest.php

Everything seems fine (PASS), except the thumbnail images are not displayed (although the links to the big photos work).

I noticed that the thumbnail links are corrupt:

example: http://albums/userpics/10051/thumb_wels_1.jpg

It should be http://www.mywebsite.com/albums/userpics/10051/thumb_wels_1.jpg

Perhaps it helps that i´m using a subdomain for the gallery like http://gallery.mywebsite.com
but mysqldb is here: http://www.mywebsite.com

Any help appreciated.
thank you
andreas

Code: [Select]
5 You set your partial URL to / PASS
10 No dots in partial url PASS
15 coppermine.php not present PASS
20 coppermine_dao.php not present PASS
25 cpmfetch.php found PASS
30 cpmfetch_dao.php found PASS
35 Server OS = Linux dd5738 2.4.20-4GB-athlon #1 Fri Jan 14 15:04:28 UTC 2005 i686 INFO
40 WebServer = Apache/1.3.27 (Linux/SuSE) mod_fastcgi/2.4.2 FrontPage/4.0.4.3 mod_perl/1.27 PHP/4.3.10 mod_ssl/2.8.12 OpenSSL/0.9.6i INFO
45 PHP Version = 4.3.10 INFO
55 DOCUMENT_ROOT: /www/htdocs/_removed_/ INFO  *edited*
60 C_DOCUMENT_ROOT: Not found INFO
65 doc_root: Not found (IIS Servers only) INFO
70 SCRIPT_FILENAME: /www/htdocs/_removed_/cftest.php INFO *edited*
75 DOCUMENT_ROOT is a good match PASS
80 Found CPG config file PASS
i could need some help.

No ideas? =:-/
Don't post a dummy placeholder URL, but actual links - makes trouble-shooting and support much easier.

Joachim
Logged

SolidArt

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #227 on: August 28, 2005, 11:36:48 am »

my config.inc.php:

Code: [Select]
<?php
// Coppermine configuration file
// Silly safe mode
define('SILLY_SAFE_MODE'1);

$_SERVER["SERVER_NAME"] = "shkola.lv";
define("$SERVER_NAME","shkola.lv");
// MySQL configuration
$CONFIG['dbserver'] =                         '****';        // Your database server
$CONFIG['dbuser'] =                         '****';        // Your mysql username
$CONFIG['dbpass'] =                         '*****';                // Your mysql password
$CONFIG['dbname'] =                         '****';        // Your mysql database name

// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
?>

strange, that he says that $SERVER_NAME is not defined.

I really need your help. I have only two days to correct that problem.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #228 on: August 28, 2005, 12:11:58 pm »

ignore the notice, post an actual error message. A link might help as well (as suggested in the cpmFetch docs).
Logged

SolidArt

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #229 on: August 28, 2005, 12:31:49 pm »

Here is the link:
http://shkola.lv/gallery/fetch/cftest.php

And the config.inc.php above.

My hosting administrator asked me to comment the line
Code: [Select]
define("$SERVER_NAME","shkola.lv");
i've made this, so the line
Code: [Select]
Notice: Undefined variable: SERVER_NAME in /usr/home/shkola/gallery/include/config.inc.php on line 7 dissappeared, but i can't see the thumbnails.

I didn't change prefix.
« Last Edit: August 28, 2005, 04:35:28 pm by SolidArt »
Logged

SolidArt

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #230 on: August 28, 2005, 04:45:52 pm »

OK, guys...
I couldn't wait for so long. Now everything works fine, 'cause I use version 1.4.1 now, but probably there are some bugs in the latest version. You should test it much more, before publishing
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #231 on: August 28, 2005, 05:16:12 pm »

OK, guys...
I couldn't wait for so long. Now everything works fine, 'cause I use version 1.4.1 now, but probably there are some bugs in the latest version. You should test it much more, before publishing

Sorry, what am I missing here?  Which version are you having a problem with (as far as CPG goes?)   Are you having problems with CPG 1.4.1 and cpmfetch?

mind you, that the cftest script turns up the error and warning reporting, so if there is a warning from cpg 1.4.1 BETA (yes it is a BETA, which means not perfect, which means it is out so people can test it, which means it is possible there is some problems) it may be uncovered by the cftest script - while not being terribly important.  In this case it threw me off since you did not say you were running the beta.  As for cpmfetch, there have been several postings and release notes saying how to get it running with the beta.

EVERYONE:  PLEASE STATE WHAT VERSION OF CPG YOU ARE RUNNING WHEN YOU POST FOR HELP HERE!!!  I WANT TO HERE ABOUT BUGS WITH EITHER THE BETA OR THE OLD, BUT I NEED TO KNOW WHICH ONE YOU ARE RUNNING.  WHY AM I SHOUTING???  CAUSE THIS IS IMPORTANT DAMNIT :)





« Last Edit: August 28, 2005, 06:32:01 pm by vuud »
Logged
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

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #232 on: August 28, 2005, 05:19:26 pm »

i could need some help.

No ideas? =:-/

I am still dumbfounded that you actually managed to get www.mysite.com :)

Seriously though, a actual URLs would be helpful.  Crossing subdomains can be tricky.

Vuud

Logged
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

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #233 on: August 28, 2005, 06:19:54 pm »

i tried getting cpm fetch to work with e107 but the images don't display... all the tests pass but the calls don't work.. unfortunately i don't know enough php to modify it enough to work but just a heads up i guess


Smoke18,

I posted to the other thread on this one... I am not sure where you are getting stuck, but it may get you going

http://forum.coppermine-gallery.net/index.php?topic=19528.msg97124#msg97124


Logged
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

Andreas W.

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #234 on: August 29, 2005, 07:58:25 pm »

deleted
« Last Edit: April 30, 2006, 03:59:15 pm by Andreas W. »
Logged

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #235 on: August 30, 2005, 11:17:37 am »

I have installed and ran cftest and it runs fine.  But placing your simple open code:

Code: [Select]
?php
        require_once "../cpmfetch/cpmfetch.php";
        $objCpm = new cpmfetch("/gallery");
?>

in the cpmfetch directory with the gallery called gallery (file only has this in it) - all i get is:

Fatal error: Cannot instantiate non-existent class: cpmfetch in /home/real_username_dir/public_html/cpmfetch/index.php on line 3

So what do I have wrong.  Per your instructions, I have the correct path, but ...

Should it be 
Code: [Select]
$objCpm = new cpm("/gallery"); as it is in cftest?

Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #236 on: August 30, 2005, 03:57:41 pm »


Your correct. 

Your probably also the first person to read the instructions!

Yes, use cpm instead of cpmfetch

I will fix the doc's today (I found where you found that)

Sorry for this



I have installed and ran cftest and it runs fine.  But placing your simple open code:

Code: [Select]
?php
        require_once "../cpmfetch/cpmfetch.php";
        $objCpm = new cpmfetch("/gallery");
?>

in the cpmfetch directory with the gallery called gallery (file only has this in it) - all i get is:

Fatal error: Cannot instantiate non-existent class: cpmfetch in /home/real_username_dir/public_html/cpmfetch/index.php on line 3

So what do I have wrong.  Per your instructions, I have the correct path, but ...

Should it be 
Code: [Select]
$objCpm = new cpm("/gallery"); as it is in cftest?


Logged
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

c0n574nz0

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #237 on: September 02, 2005, 06:25:41 am »

I can't download it! why? it seems like i'm not allowed to view attachments...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #238 on: September 02, 2005, 09:15:32 am »

goto http://cpmfetch.fistfullofcode.com/ and download from there.
Logged

Andreas W.

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #239 on: September 03, 2005, 09:50:53 am »

Any ideas to help me with my problem?
thanks
Logged
Pages: 1 ... 8 9 10 11 [12] 13 14 15 16 ... 54   Go Up
 

Page created in 0.029 seconds with 20 queries.