CF-Error CF-Error
 

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]

Main Menu

CF-Error

Started by hozyali, April 11, 2007, 10:08:05 AM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

hozyali

my site suddenly start to give CF-Error at http://www.myrescueteam.com
please help

vuud


Just started to? or you are just building the site and its not working?

Also, what 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

hozyali

actually, its the latest version and was working fine earlier on the same site. not sure what happened with it and it stopped working.

Ali

vuud

Quote from: hozyali on April 11, 2007, 08:40:44 PM
actually, its the latest version and was working fine earlier on the same site. not sure what happened with it and it stopped working.

Ali

For some reason it seems as though it no longer knows the path through the filesystem.

Did you put on a new version without running the installer?
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

almararn

I also hace a CF_Error, the script knows the filenames and how many time the pictures have been viewed. but no image is being displayed.  I had this workin on my previos lynux webhosting, but am installing this on a windows server 2003, have coppermine workin, but not this script yet.  Is there any known problems for windows?

sample : http://www.hrollur.net/coppermine/cpmfetch/randompic.php

vuud

Quote from: almararn on April 12, 2007, 02:42:42 AM
I also hace a CF_Error, the script knows the filenames and how many time the pictures have been viewed. but no image is being displayed.  I had this workin on my previos lynux webhosting, but am installing this on a windows server 2003, have coppermine workin, but not this script yet.  Is there any known problems for windows?

sample : http://www.hrollur.net/coppermine/cpmfetch/randompic.php

This error means that CpmFetch did not correctly determine the full filesystem path to your albums directory.  If you get the CF_ERROR, you can view source and see what it is thinking the file location should have been.

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

almararn

Thank you, It worked. It was obvious when reading the "view source" file.
It ditn´t know the location of my pictures, thougt it was C:\ whilst it was C:\Inetpub\wwwroot\coppermi....

:)

vuud

Quote from: almararn on April 12, 2007, 04:53:29 PM
Thank you, It worked. It was obvious when reading the "view source" file.
It ditn´t know the location of my pictures, thougt it was C:\ whilst it was C:\Inetpub\wwwroot\coppermi....

:)

I used to output everything, but it makes a horrific mess.  So it gets hidden in the source
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

hozyali

Quote from: vuud on April 11, 2007, 08:55:35 PM
For some reason it seems as though it no longer knows the path through the filesystem.

Did you put on a new version without running the installer?


I first ran the script without installer but then ran the installer too. and it started to work fine. now I am not sure whats the problem. I am quoting the code below which is being used on my site.

Regards
Ali

<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( 
//'subtitle' => '%t <br> %S KB' , 
"tablestyle" => "thumbnails",
"cellstyle" => "cellwidth",
"linkstyle" => "thumb_caption",
"alttag" => "%c",
"subtitle" => "<span class=thumb_caption><b>%t </b><br>{{pCtimeFormatted}}</span>",
"imagestyle" => "image",
"imagesize" => 'thumb');
//$objCpm->cpm_viewRandomMedia (1,4);
/*$styleguide = array(
"linkstyle" => "photoclip",
"alttag" => "views: %h",
"subtitle" => "%h views",
"imagestyle" => "photoclip",
"imagesize" => 'thumb');
*/
$objCpm->cpm_viewLastAddedMedia (2,4,$options);
//$objCpm->cpm_close();
?>

vuud

Quote from: hozyali on April 12, 2007, 08:55:03 PM
I first ran the script without installer but then ran the installer too. and it started to work fine. now I am not sure whats the problem. I am quoting the code below which is being used on my site.

Regards
Ali

<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( 
//'subtitle' => '%t <br> %S KB' , 
"tablestyle" => "thumbnails",
"cellstyle" => "cellwidth",
"linkstyle" => "thumb_caption",
"alttag" => "%c",
"subtitle" => "<span class=thumb_caption><b>%t </b><br>{{pCtimeFormatted}}</span>",
"imagestyle" => "image",
"imagesize" => 'thumb');
//$objCpm->cpm_viewRandomMedia (1,4);
/*$styleguide = array(
"linkstyle" => "photoclip",
"alttag" => "views: %h",
"subtitle" => "%h views",
"imagestyle" => "photoclip",
"imagesize" => 'thumb');
*/
$objCpm->cpm_viewLastAddedMedia (2,4,$options);
//$objCpm->cpm_close();
?>


PM Me the debug output from when you run the installer on this site.

Something is screwy and I am guessing it may be that your ISP has upgraded something.

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

hozyali

Quote from: vuud on April 12, 2007, 09:29:21 PM
PM Me the debug output from when you run the installer on this site.

Something is screwy and I am guessing it may be that your ISP has upgraded something.

Thanks

sent the debug info in PM.

vuud

Quote from: hozyali on April 11, 2007, 08:40:44 PM
actually, its the latest version and was working fine earlier on the same site. not sure what happened with it and it stopped working.

I looked at your code, ran your installer and the site works fine.

A few things:

1) You are not running the latest version.  You are at least 3 versions back. 

2) If you did upgrade to 2.0.0, you did not upload the installer.


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

hozyali

Quote from: vuud on April 12, 2007, 10:56:57 PM
I looked at your code, ran your installer and the site works fine.

A few things:

1) You are not running the latest version.  You are at least 3 versions back. 

2) If you did upgrade to 2.0.0, you did not upload the installer.




Thanks a lot

Ali

lordiefe

#13
Hi guys
i need your help

i have the copperminne and cpmfetch latest version.

in this link you can view error

... Link deleted by moderator ...

thanks for all

vuud

Quote from: lordiefe on April 14, 2007, 06:35:10 AM
Hi guys
i need your help

i have the copperminne and cpmfetch latest version.

in this link you can view error

... Link deleted by moderator ...

thanks for all

You have one of those funny servers that return php.cgi as the script filename.

Open up your cpmfetch_config.php file in an editor...

Look for this:


// File system path to your Coppermine Photo Gallery
//  $cfg['filesystem_path_to_cpg'] = '/var/www/cpg/htdocs/';

(The second line may be different for you)

Change it to be


// File system path to your Coppermine Photo Gallery
$cfg['filesystem_path_to_cpg'] = '/home/diegosanchez/pixelmotions.net/cpg';

(note the path name change, and the removal of the // from the start)

Do NOT re-run the install, it will overwrite your changes if you force it.













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: lordiefe on April 14, 2007, 06:35:10 AM
Hi guys
i need your help

i have the copperminne and cpmfetch latest version.

in this link you can view error

... Link deleted by moderator ...

thanks for all

Hey,

If I put a fix into the next dev version for this, would you be willing to test it?


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

lordiefe

of course.

hank for your help


vuud

Quote from: lordiefe on April 14, 2007, 09:17:29 PM
of course.

hank for your help


I appreciate it!   

Anyway, I am hopefully moving CpmFetch into its new SVN home today, then i can start on new development versions.  Probably be a few days before I get time to do the coding for that.  I have two other features that I need added for another project, and one I promised to someone.  And this one.

Thanks again,

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

lordiefe

Reinstall my actual version for the 1.9.0 version, but now have this error

Error in getImageTouse: Extension (strtolower):







vuud

Quote from: lordiefe on April 15, 2007, 07:22:26 AM
Reinstall my actual version for the 1.9.0 version, but now have this error

Error in getImageTouse: Extension (strtolower):


Just stay at CpmFetch 2.0.0

That error is the exact same, but I though it was too ugly to print out.  So I did CF-Error and hid the rest as HTML comments.

Didn't I send you a fix?  Yesterday I sent you some instructions to edit your config file.  That should work around it.
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