•  » Beta testing
  •  » BSF 200411062241 bug calling thumnails

#1 2004-11-07 21:47:28

vimages
Member
2004-03-27
2116

BSF 200411062241 bug calling thumnails

I install this snapshot with english language... I know that french is not ready.

after synchronising when I clic on thumbnail link, I have this on the thumnails page :



Warning: getimagesize(): Read error! in c:\program files\easyphp1-7\wwwtest\abonnes\admin\include\functions.php on line 43

Warning: getimagesize(): Read error! in c:\program files\easyphp1-7\wwwtest\abonnes\admin\include\functions.php on line 43

Offline

 

#2 2004-11-07 22:39:59

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14087

Re: BSF 200411062241 bug calling thumnails

there must be corrupted files that can't be read. To know which ones, make the following modifications : in admin/include/functions.php, remplaces (ligne 43) :

Code:

$size = getimagesize( $filename );

par

Code:

if (!($size = @getimagesize($filename))
{
  echo $filename.' cannot be read<br />';
}

Offline

 

#3 2004-11-07 22:49:44

vimages
Member
2004-03-27
2116

Re: BSF 200411062241 bug calling thumnails



Parse error: parse error, unexpected '{' in c:\program files\easyphp1-7\wwwtest\abonnes\admin\include\functions.php on line 44

Fatal error: Call to undefined function: is_image() in c:\program files\easyphp1-7\wwwtest\abonnes\admin\thumbnail.php on line 63

this is the anwer of PWG after your modif.... when I clic on the link

Offline

 

#4 2004-11-07 23:06:25

vimages
Member
2004-03-27
2116

Re: BSF 200411062241 bug calling thumnails

hey, I have an answer...  I have in the folder "galleries" 3 extra files, to test the news features...
a .pdf, a .txt and a .xls

when I erase this files, the 2 lignes I give you up dont come on the thumbnails page.

but... maybe it's not normal... you normaly could see this kind of files..???

Offline

 

#5 2004-11-09 22:53:56

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14087

Re: BSF 200411062241 bug calling thumnails

vimages wrote:

hey, I have an answer...  I have in the folder "galleries" 3 extra files, to test the news features...
a .pdf, a .txt and a .xls

when I erase this files, the 2 lignes I give you up dont come on the thumbnails page.

but... maybe it's not normal... you normaly could see this kind of files..???

I've added a test : getimagesize is only used if filename extension corresponds to a picture as defined in $conf['picture_ext']

Offline

 
  •  » Beta testing
  •  » BSF 200411062241 bug calling thumnails

Board footer

Powered by FluxBB