The following warnings occured: (Click this caption to hide)
Error of type NOTICE in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 35:
Undefined index: h
Error of type NOTICE in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 37:
Undefined index: m
Error of type NOTICE in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 38:
Undefined index: c
Error of type WARNING in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 48:
imagecreatefromstring(): Empty string or invalid image
SharC-SE (Sharpener Core - Server module E - aka Nick's debugger)
Location of error triggered: ( Exposure is enabled )
Line 0043: if (is_numeric($idImage)) Line 0044: $vImage = $hDB->QueryRow("SELECT `image`, `width`, `height` FROM data_general_images WHERE `id_image`='".escape_db($idImage)."';"); Line 0045: else Line 0046: $vImage = $hDB->QueryRow("SELECT `image`, `width`, `height` FROM data_general_images WHERE `id_parent`='".escape_db($idImage)."' ORDER BY `order` LIMIT 0,1;"); Line 0047: Line 0048: $hPhotoDB = imagecreatefromstring($vImage['image']); Line 0049: Line 0050: if (!$vMaxW && !$vMaxH) { // No width/height specified: Output original Line 0051: $hPhotoOut = $hPhotoDB; Line 0052: Line 0053:
Call trace:
#01: imagecreatefromstring('') \-> Line 0048 in /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php #02: Error raised \-> Line 0000 in (Skipped 2 internal error handling calls)
Scoped variable dump (short version):
_GET => Array[ id => "" w => "1024" ] _POST => Array[ ] _FILES => Array[ ] vDebugLog => "" nSharC_SE_ErrCount => 3 nSharC_SE_ErrCountInLog => 3 bSharC_Suppress => false nSharC_Suppressed => 0 SharC_hDefaultMailer => null hDB => Object<SharC_DB_MySql_I> idUser => null vUserName => "" vUserFlags => "" oDb => Object<SharC_DB_MySql_I> idImage => "" vMaxH => null vMaxW => "1024" vMeth => null vComp => 60 vImage => null
Error of type WARNING in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 89:
Division by zero
SharC-SE (Sharpener Core - Server module E - aka Nick's debugger)
Location of error triggered: ( Exposure is enabled )
Line 0084: Line 0085: Line 0086: } else { // Either width or height specified: only scale to specified (interpreted as max-size, so output may be smaller if original was smaller) Line 0087: if ($vMaxW) { Line 0088: $vW = min($vMaxW, $vImage['width']); Line 0089: $vH = ($vW / $vImage['width']) * $vImage['height']; Line 0090: } else { Line 0091: $vH = min($vMaxH, $vImage['height']); Line 0092: $vW = ($vH / $vImage['height']) * $vImage['width']; Line 0093: } Line 0094: $hPhotoOut = imagecreatetruecolor($vW, $vH);
Call trace:
#01: Error raised \-> Line 0089 in /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php (Skipped 2 internal error handling calls)
Scoped variable dump (short version):
_GET => Array[ id => "" w => "1024" ] _POST => Array[ ] _FILES => Array[ ] vDebugLog => "" nSharC_SE_ErrCount => 4 nSharC_SE_ErrCountInLog => 4 bSharC_Suppress => false nSharC_Suppressed => 0 SharC_hDefaultMailer => null hDB => Object<SharC_DB_MySql_I> idUser => null vUserName => "" vUserFlags => "" oDb => Object<SharC_DB_MySql_I> idImage => "" vMaxH => null vMaxW => "1024" vMeth => null vComp => 60 vImage => null hPhotoDB => false vW => null
Error of type WARNING in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 94:
imagecreatetruecolor(): Invalid image dimensions
SharC-SE (Sharpener Core - Server module E - aka Nick's debugger)
Location of error triggered: ( Exposure is enabled )
Line 0089: $vH = ($vW / $vImage['width']) * $vImage['height']; Line 0090: } else { Line 0091: $vH = min($vMaxH, $vImage['height']); Line 0092: $vW = ($vH / $vImage['height']) * $vImage['width']; Line 0093: } Line 0094: $hPhotoOut = imagecreatetruecolor($vW, $vH); Line 0095: imagecopyresampled($hPhotoOut, $hPhotoDB, 0, 0, 0, 0, $vW, $vH, $vImage['width'], $vImage['height']); Line 0096: } Line 0097: Line 0098: // Image caching Line 0099: //header('Cache-control: max-age='.(60*60*24*365));
Call trace:
#01: imagecreatetruecolor('0', '0') \-> Line 0094 in /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php #02: Error raised \-> Line 0000 in (Skipped 2 internal error handling calls)
Scoped variable dump (short version):
_GET => Array[ id => "" w => "1024" ] _POST => Array[ ] _FILES => Array[ ] vDebugLog => "" nSharC_SE_ErrCount => 5 nSharC_SE_ErrCountInLog => 5 bSharC_Suppress => false nSharC_Suppressed => 0 SharC_hDefaultMailer => null hDB => Object<SharC_DB_MySql_I> idUser => null vUserName => "" vUserFlags => "" oDb => Object<SharC_DB_MySql_I> idImage => "" vMaxH => null vMaxW => "1024" vMeth => null vComp => 60 vImage => null hPhotoDB => false vW => null vH => 0
Error of type WARNING in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 95:
imagecopyresampled() expects parameter 1 to be resource, boolean given
SharC-SE (Sharpener Core - Server module E - aka Nick's debugger)
Location of error triggered: ( Exposure is enabled )
Line 0090: } else { Line 0091: $vH = min($vMaxH, $vImage['height']); Line 0092: $vW = ($vH / $vImage['height']) * $vImage['width']; Line 0093: } Line 0094: $hPhotoOut = imagecreatetruecolor($vW, $vH); Line 0095: imagecopyresampled($hPhotoOut, $hPhotoDB, 0, 0, 0, 0, $vW, $vH, $vImage['width'], $vImage['height']); Line 0096: } Line 0097: Line 0098: // Image caching Line 0099: //header('Cache-control: max-age='.(60*60*24*365)); Line 0100: header('Last-Modified: '.date('D, d M Y H:i:s')); // date(DATE_RFC1123, ...)
Call trace:
#01: imagecopyresampled('', '', '0', '0', '0', '0', '', '0', '', '') \-> Line 0095 in /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php #02: Error raised \-> Line 0000 in (Skipped 2 internal error handling calls)
Scoped variable dump (short version):
_GET => Array[ id => "" w => "1024" ] _POST => Array[ ] _FILES => Array[ ] vDebugLog => "" nSharC_SE_ErrCount => 6 nSharC_SE_ErrCountInLog => 6 bSharC_Suppress => false nSharC_Suppressed => 0 SharC_hDefaultMailer => null hDB => Object<SharC_DB_MySql_I> idUser => null vUserName => "" vUserFlags => "" oDb => Object<SharC_DB_MySql_I> idImage => "" vMaxH => null vMaxW => "1024" vMeth => null vComp => 60 vImage => null hPhotoDB => false vW => null vH => 0 hPhotoOut => false
Error of type WARNING in file /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php on line 109:
imagejpeg() expects parameter 1 to be resource, boolean given
SharC-SE (Sharpener Core - Server module E - aka Nick's debugger)
Location of error triggered: ( Exposure is enabled )
Line 0104: // die(); Line 0105: //} Line 0106: Line 0107: // Output $hPhotoOut Line 0108: header('Content-Type: image/jpeg'); Line 0109: imagejpeg($hPhotoOut, NULL, $vComp); Line 0110: Line 0111: // Clean-up Line 0112: //imagedestroy($hPhotoDB); Line 0113: //imagedestroy($hPhotoOut); Line 0114: ?>
Call trace:
#01: imagejpeg('', '', '60') \-> Line 0109 in /home/rijneveld/domains/rijneveld.nl/public_html/shared/image.php #02: Error raised \-> Line 0000 in (Skipped 2 internal error handling calls)
Scoped variable dump (short version):
_GET => Array[ id => "" w => "1024" ] _POST => Array[ ] _FILES => Array[ ] vDebugLog => "" nSharC_SE_ErrCount => 7 nSharC_SE_ErrCountInLog => 7 bSharC_Suppress => false nSharC_Suppressed => 0 SharC_hDefaultMailer => null hDB => Object<SharC_DB_MySql_I> idUser => null vUserName => "" vUserFlags => "" oDb => Object<SharC_DB_MySql_I> idImage => "" vMaxH => null vMaxW => "1024" vMeth => null vComp => 60 vImage => null hPhotoDB => false vW => null vH => 0 hPhotoOut => false