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] 2   Go Down

Author Topic: CF-Error  (Read 20143 times)

0 Members and 1 Guest are viewing this topic.

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
CF-Error
« on: April 11, 2007, 10:08:05 am »

my site suddenly start to give CF-Error at http://www.myrescueteam.com
please help
« Last Edit: April 13, 2007, 04:13:42 pm by vuud »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #1 on: April 11, 2007, 04:20:58 pm »


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

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

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: CF-Error
« Reply #2 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
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #3 on: April 11, 2007, 08:55:35 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?
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

almararn

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CF-Error
« Reply #4 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
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #5 on: April 12, 2007, 03:06:31 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.

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

almararn

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CF-Error
« Reply #6 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....

 :)
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #7 on: April 12, 2007, 05:47:47 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
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

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: CF-Error
« Reply #8 on: April 12, 2007, 08:55:03 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

Code: [Select]
<?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();
?>
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #9 on: April 12, 2007, 09:29:21 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

Code: [Select]
<?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
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

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: CF-Error
« Reply #10 on: April 12, 2007, 10:24:25 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.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #11 on: April 12, 2007, 10:56:57 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.


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

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: CF-Error
« Reply #12 on: April 13, 2007, 06:57:37 am »

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
Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: CF-Error
« Reply #13 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
« Last Edit: April 14, 2007, 06:37:22 am by vuud »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #14 on: April 14, 2007, 06:40:37 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.













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: CF-Error
« Reply #15 on: April 14, 2007, 05:10:12 pm »

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?


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

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: CF-Error
« Reply #16 on: April 14, 2007, 09:17:29 pm »

of course.

hank for your help

Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #17 on: April 14, 2007, 09:46:18 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
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

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: CF-Error
« Reply #18 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):






Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CF-Error
« Reply #19 on: April 15, 2007, 05:35:30 pm »

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.
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] 2   Go Up
 

Page created in 0.022 seconds with 20 queries.