Şarkıcı profilini editlerken şöyle bi hata çıkıyor üst tarafta..
- Kod: Tümünü seç
Warning: getimagesize(): Read error! in /home/httpd/vhosts/erkanogur.org/httpdocs/music_band.php on line 229
- Kod: Tümünü seç
228 - // Control the output of picture width - if it's smaller than the config value, don't resize
229 - $img_width = getimagesize(rtrim($band_image_path . $thisband['picture']));
230 - if ($img_width[0] > $music_config['max_display_width'])
{
$img_width[0] = $music_config['max_display_width'];
}
$max_display_width = $img_width[0];
if ( (empty($thisband['picture'])) || ( $thisband['picture'] == 'no_image.gif'))
{
$picture = "<img src=\"http://" . $board_config['server_name'] . $board_config['script_path'] . $band_image_path . "no_image.gif\" width=" . $max_display_width . ">";
}
if ( $thisband['picture'] != 'no_image.gif' )
{
$picture = "<img src=" . $band_image_path . $thisband['picture'] . " width=" . $max_display_width . " >";
}
if ( $thisband['signed'] == 1 )
{
$signed = 'checked="checked"';
}
else
{
$notsigned = 'checked="checked"';
}
$label = $thisband['label'];
$location = $thisband['location'];
$band_website = $thisband['url'];
if (empty($band_website))
{
$band_url = 'not entered';
}
else
{
$band_url = $band_website;
}