coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: gregy on October 11, 2006, 11:05:54 AM

Title: Error in getImageTouse: Extension (strtolower): .jpg
Post by: gregy on October 11, 2006, 11:05:54 AM
Hi

Don't know why i receive this error

Error in getImageTouse: Extension (strtolower): .jpg File:/home/web/domain.com/www/galerija//albums/ekipa/thumb_30_7_2006_20-52-12_0090.jpg

thanx for support in advance!

Gregor
Title: Re: Error in getImageTouse: Extension (strtolower): .jpg
Post by: vuud on October 13, 2006, 03:05:39 AM
Quote from: gregy on October 11, 2006, 11:05:54 AM
Hi

Don't know why i receive this error

Error in getImageTouse: Extension (strtolower): .jpg File:/home/web/domain.com/www/galerija//albums/ekipa/thumb_30_7_2006_20-52-12_0090.jpg

thanx for support in advance!

Gregor

That is the function that generates the most run time errors...

Does that image exist?


Title: Re: Error in getImageTouse: Extension (strtolower): .jpg
Post by: cgc0202 on October 24, 2006, 05:42:07 PM
Hi Vuud,

I get the same error as indicated by Gregor.  I use CPG1.4.9 and the version 1.9.3 for the CPMFetch.

Here are the error messages:

*************************
Test images:
If all went well, you will see some random images from your gallery displayed here. If not, you may in fact have a problem and will need to seek help by clicking here.

Error in getImageTouse: Extension (strtolower): .jpg File:/albums/userpics/10004/t_205877988_858b7ebb82_o.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/albums/userpics/10004/t_205878511_3683b5bf65_o.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/albums/userpics/10004/t_205879158_f979ba56c8_o.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/albums/userpics/10004/t_205877197_c75abc2968_o.jpg

205877988_858b7ebb82_o.jpg

1 views    205878511_3683b5bf65_o.jpg

1 views    205879158_f979ba56c8_o.jpg

1 views    205877197_c75abc2968_o.jpg

1 views

These images were generated by using the following PHP code:

<?php
  include "./cpmfetch.php";
  $objCpm = new cpm();
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

*************************

The ones in bold are clickable links, and the image would show once you click on them.  However, the thumbnails do not show as images but as clickable links.

CGC
Title: Re: Error in getImageTouse: Extension (strtolower): .jpg
Post by: gregy on October 24, 2006, 06:11:50 PM
i simply deleted the image  :-\
Title: Re: Error in getImageTouse: Extension (strtolower): .jpg
Post by: cgc0202 on October 24, 2006, 09:50:06 PM
Quote from: gregy on October 24, 2006, 06:11:50 PM
i simply deleted the image  :-\

If you deleted the image, are you still planning to use cpmfetch then?

I tried the 1.9.3 because I could not make the 1.6.4 work, initially.  By "trial and error", it turned out  the error in my 1.6.4 installation was a very simple mistake on my part.  So, for now, I will stick with the 1.6.4 until the quirks in 1.9.x are resolved completely.

CGC