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 ... 17 18 19 20 [21] 22 23 24 25 ... 34   Go Down

Author Topic: CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG  (Read 390314 times)

0 Members and 1 Guest are viewing this topic.

Dsq

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #400 on: April 07, 2005, 07:50:49 pm »


Get the new stable I just posted, or comment out the line that says

header ("Content-Length...

Aparently that has gone horrible wrong

Let me know if that works for you

Vuud,

That's excellent!  ;D  It's all working now.   I'm glad it wasn't just me messing it up - I tried so many combinations to try and get it to work.

Thanks for your help and support - and thanks for the mod!

David
Logged

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #401 on: April 08, 2005, 12:52:49 am »

Ok im sure this as been stated before but my computer is being stubborn this afternoon and is running extermely slow. So it would take hours to go through the 21 pages. So forgive me if this was pointed out already. I have installed the files to the filled out the cftest.php file like instructed. When i point my browser at it i get

Fatal error:Call to a member function on a non-object in home/texascam/public_html/forum/cpmfetch/comppermine.php on line 648

Any soultions. im sure thier is something i havent done and have missed, but i read the docs on the installtion and did exactly how it was stated. So help please.

Thanks
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #402 on: April 08, 2005, 06:25:53 am »

Very very minor bug for you vuud, was just poking around coppermine.php to customize layout, and noticed on line 1070 you have closed the opening <th> tag with a </td>. Like I said, very minor but though you might like to know.. :D


Yep, curse these beer infused fingers :D

Much appreciated!  Its fixed here... be posted with the next version

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 - stats/thumbnails/randoms/etc from outside CPG
« Reply #403 on: April 08, 2005, 06:26:56 am »


Get the new stable I just posted, or comment out the line that says

header ("Content-Length...

Aparently that has gone horrible wrong

Let me know if that works for you

Vuud,

That's excellent!  ;D  It's all working now.   I'm glad it wasn't just me messing it up - I tried so many combinations to try and get it to work.

Thanks for your help and support - and thanks for the mod!

David

I am still not sure how that breaks things... I had it in before and only one person reported a problem with it... It was working for me, until now...

Ah well, I guess its better left unused...



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 - stats/thumbnails/randoms/etc from outside CPG
« Reply #404 on: April 08, 2005, 06:31:39 am »

Ok im sure this as been stated before but my computer is being stubborn this afternoon and is running extermely slow. So it would take hours to go through the 21 pages. So forgive me if this was pointed out already. I have installed the files to the filled out the cftest.php file like instructed. When i point my browser at it i get

Fatal error:Call to a member function on a non-object in home/texascam/public_html/forum/cpmfetch/comppermine.php on line 648

Any soultions. im sure thier is something i havent done and have missed, but i read the docs on the installtion and did exactly how it was stated. So help please.

Thanks

Did you get any errors above that?  Getting that one typically means that the object was not created...

Did you see anything like this above it:  ERROR: Path to Coppermine incorrect

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

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #405 on: April 08, 2005, 07:35:45 am »

This is all the page said:

Code: [Select]
CoppermineFetch Install test page
Thank you for using CoppermineFetch...


--------------------------------------------------------------------------------

Your installation seems correct so far, you should see a small grid of thumbnails from your gallery


Fatal error: Call to a member function on a non-object in /home/texascam/public_html/forum/cpmfetch/coppermine.php on line 648


now besides the partialurl on the cftest.php i havent edited any other files. Are thier any other files i should edit?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #406 on: April 08, 2005, 07:50:12 am »

This is all the page said:

Code: [Select]
CoppermineFetch Install test page
Thank you for using CoppermineFetch...


--------------------------------------------------------------------------------

Your installation seems correct so far, you should see a small grid of thumbnails from your gallery


Fatal error: Call to a member function on a non-object in /home/texascam/public_html/forum/cpmfetch/coppermine.php on line 648


now besides the partialurl on the cftest.php i havent edited any other files. Are thier any other files i should edit?


Oh that is freaky.  What version of cpmfetch are you using, what version of coppermine and what kind of webserver?

Also, if you can pm the link to that cftest page so i can look at it - would be great

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

jaslow

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #407 on: April 08, 2005, 09:47:55 am »

hi im sorry but im a real real idiot.. im not very pro in php
wat i want to do is to add the last 4 images into my invision2.0 board.
ive installed ur mod and tried the cftest.php and my thumbnails now.

but i dono what to do now.. how do i add the code into invision so tht it can display the images? 


many thanks.
Logged

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #408 on: April 08, 2005, 11:03:51 am »

Im using verison 1.2.2 of cpmfetch that was freshly downloaded from your site today, well actully yesterday by the time you see this...LoL Havent been to sleep yet so its still the same day...LoL Coppermine verison 1.3.2 and what info about my webserver do you need. I have never been asked that before so i dont know how to answer that, sorry...Ok, the Link is, http://www.texascampingforum.com/forum/cpmfetch/cftest.php

The first couple of lines of the cftest.php that was instructed to edit:

Code: [Select]
<?php
// You need to change this variable to the directory that the Coppermine photo gallery is installed in.
// If you installed CPG to the root of your website, just use a /

$http//www.texascampingforum.com/gallery = "/sphotos";
?>


<html>
<head>
<title>CoppermineFetch Install Test page - version 1.2</TITLE>
</head>
<body>

<h1>CoppermineFetch Install test page</h1>
<p>Thank you for using CoppermineFetch...</p>

<hr>

<?php 
error_reporting(E_ALL);
ini_set('display_errors',1);  // 0 is off, 1 is on
include "./coppermine.php";
$objCpm "";
$objCpm = new cpm( );

if ($objCpm != "") {
 
print "<p>Your installation seems correct so far, you should see a small grid of thumbnails from your gallery</p>";
$objCpm->cpm_viewRandomMedia(4,4); 
print "<p>&nbsp;</p>";
$objCpm->cpm_close(); 
 
print "<p>If you do not see thumbnails, or get more warnings then something is pretty wrong.  As long as you are using standard prefixes in Coppermine, you should see everything.  If you are not using standard prefixes, then you need to adjust them by editing the first three variables in the coppermine.php file.</p>";


Now the cftest is the only file i edited per instructions. Now could it be they way i loaded it onto my server. It is in a folder in the root dir. for my portal. Is that ok.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #409 on: April 08, 2005, 12:50:21 pm »

You didn't edit that file correctly.

$http//www.texascampingforum.com/gallery = "/sphotos";

is not correct.

$ChangeThisToYourPartialUrlToCPG = "/gallery";

is correct.

@Vuud: Maybe you should rename the variable to something else, like $cpglocation.  I can see how someone might misinterpret the instructions, especially someone without PHP knowledge.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #410 on: April 08, 2005, 07:27:45 pm »

Thanks Keg, i knew i had edited it wrong, after a good nights sleep i see it clearly now how that was suppose to be edited. Unfortnately im still getting the same erros and it didnt fix it. i really appricate the help, any other idea ideas?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #411 on: April 08, 2005, 08:15:15 pm »

@Vuud: Maybe you should rename the variable to something else, like $cpglocation.  I can see how someone might misinterpret the instructions, especially someone without PHP knowledge.

No matter how I change it... it will be misinterpreted...  You are right about the name though... took me a minute but I see what you mean. 

Thanks




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 - stats/thumbnails/randoms/etc from outside CPG
« Reply #412 on: April 08, 2005, 08:19:07 pm »

hi im sorry but im a real real idiot.. im not very pro in php
wat i want to do is to add the last 4 images into my invision2.0 board.
ive installed ur mod and tried the cftest.php and my thumbnails now.

but i dono what to do now.. how do i add the code into invision so tht it can display the images? 


many thanks.


I don't know invision at all, but if you can edit the templates, you can probably do something by just adding in the php code

http://cpmfetch.fistfullofcode.com/projects/copperminefetch/quickstart.php

Instead of the call thats there though...  use one of the last image ones shown in

http://cpmfetch.fistfullofcode.com/php-lib/showexternal.php?url=http://www.fistfullofcode.com/projects/copperminefetch/docs/readme.html




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 - stats/thumbnails/randoms/etc from outside CPG
« Reply #413 on: April 08, 2005, 08:26:09 pm »

Thanks Keg, i knew i had edited it wrong, after a good nights sleep i see it clearly now how that was suppose to be edited. Unfortnately im still getting the same erros and it didnt fix it. i really appricate the help, any other idea ideas?

What you are getting makes no sense...

Can you post the top of your file again to make sure that it is changed right?  If it was wrong you should get other errors though...

Its strange though... the error means that the object was not initialized, but if an error occured initializing it, you should have gotten an error back about that.  Wierd
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

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #414 on: April 08, 2005, 08:30:43 pm »

Here ya go,


Code: [Select]
<?php
// You need to change this variable to the directory that the Coppermine photo gallery is installed in.
// If you installed CPG to the root of your website, just use a /

$ChangeThisToYourPartialUrlToCPG "/gallery";

?>


<html>
<head>
<title>CoppermineFetch Install Test page - version 1.2</TITLE>
</head>
<body>

<h1>CoppermineFetch Install test page</h1>
<p>Thank you for using CoppermineFetch...</p>

<hr>

<?php 
error_reporting(E_ALL);
ini_set('display_errors',1);  // 0 is off, 1 is on
include "./coppermine.php";
$objCpm "";
$objCpm = new cpm( );

if ($objCpm != "") {
 
print "<p>Your installation seems correct so far, you should see a small grid of thumbnails from your gallery</p>";
$objCpm->cpm_viewRandomMedia(4,4); 
print "<p>&nbsp;</p>";
$objCpm->cpm_close(); 
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #415 on: April 08, 2005, 08:46:43 pm »


Damn, I hope this fixes it...

Find this line...

Code: [Select]
<?php
$objCpm = new cpm( );

and change it to this... I have no idea why this is changed, but this would definately be a problem.  Exactly the way it is shown below... do not modify it at all.

Code: [Select]
$objCpm = new cpm($ChangeThisToYourPartialUrlToCPG);



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

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #416 on: April 08, 2005, 08:48:24 pm »

OK good news, i did a clean install of it and edited the cftest correctly and FTP the file straight into the forum dir. instead of the whole folder into the forum dir. and it works now.

Problem im having now is it is not showing on my portal.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #417 on: April 08, 2005, 10:13:39 pm »

OK good news, i did a clean install of it and edited the cftest correctly and FTP the file straight into the forum dir. instead of the whole folder into the forum dir. and it works now.

Problem im having now is it is not showing on my portal.

Excellent, glad it is working.
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

Texan78

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #418 on: April 08, 2005, 10:20:12 pm »

Well its working kinda. All im getting on my portal page is white boxes with red x's. I'll be honest im lost now, sorry.  I have been reaidng the docs. and trying to figure it out, but i think im missing something. I have the actual block for the portal built, just need to get the radnom pics to show up in it. This is a great program from what im reading in the docs. Just need some help in the right direction to display the random pics.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #419 on: April 08, 2005, 10:34:28 pm »

Well its working kinda. All im getting on my portal page is white boxes with red x's. I'll be honest im lost now, sorry.  I have been reaidng the docs. and trying to figure it out, but i think im missing something. I have the actual block for the portal built, just need to get the radnom pics to show up in it. This is a great program from what im reading in the docs. Just need some help in the right direction to display the random pics.

What is the link to the example... its getting messed up on the path to the images then
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
Pages: 1 ... 17 18 19 20 [21] 22 23 24 25 ... 34   Go Up
 

Page created in 0.033 seconds with 16 queries.