CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG - Page 21 CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG - Page 21
 

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 - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG

Started by vuud, December 17, 2004, 10:19:07 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Dsq

Quote from: vuud on April 07, 2005, 01:56:44 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

Texan78

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

vuud

Quote from: luke on April 07, 2005, 12:30:17 PM
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

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: Dsq on April 07, 2005, 07:50:49 PM
Quote from: vuud on April 07, 2005, 01:56:44 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...



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: Texan78 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

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

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

This is all the page said:

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?

vuud

Quote from: Texan78 on April 08, 2005, 07:35:45 AM
This is all the page said:

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
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

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.

Texan78

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:

<?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.

kegobeer

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.
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

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?

vuud

Quote from: kegobeer on April 08, 2005, 12:50:21 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




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: jaslow 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.


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




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: Texan78 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?

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
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

Here ya go,


<?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(); 

vuud


Damn, I hope this fixes it...

Find this line...

Quote from: Texan78 on April 08, 2005, 08:30:43 PM
<?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.


$objCpm = new cpm($ChangeThisToYourPartialUrlToCPG);




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

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.

vuud

Quote from: Texan78 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.

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

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.

vuud

Quote from: Texan78 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.

What is the link to the example... its getting messed up on the path to the images then
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