|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-21 04:24 UTC] sniper@php.net
[2000-12-30 13:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jul 06 23:00:01 2026 UTC |
in PHP.INI I replaced this line error_reporting = E_ALL & ~E_NOTICE with error_reporting = E_ALL PHP crashes with this error: OleMainThreadWndName: php.exe - Aplication Error The instruction at "0x7800ff7a" referenced memory at 0x00000000. The memory could not be "read" in the log file apears this message: [12-Sep-2000 12:45:58] PHP Warning: Undefined index: 1 in funcoes.php on line 183 the code where this error occurs is within a function that is NOT called during the execution of the script: function cria3oportunidades() { global $tipoImovel; $formato_celula="width=\"160\" background=\"Images/%s.gif\" align=\"center\" valign=\"middle\""; $formato_texto="face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\" color=\"#3C548B\""; $destaques= new imosoft_db(query_oportunidade()); $i=0; $ndestaques=5; while($i < $ndestaques && $destaques->next_record()) { $i++; $destaque[$i] = sprintf("<td $formato_celula>",$destaques->f("Imo_Tipo_Negocio")); $destaque[$i].= "<font $formato_texto><b>"; $destaque[$i].= $destaques->f("ID_Distrito") ; if($destaques->f("ID_Concelho")) $destaque[$i] .= " - " . $destaques->f("ID_Concelho"); $destaque[$i] .="<br>"; $destaque[$i].= $tipoImovel[$destaques->f("ID_Tipo_Imovel")] . " " .$destaques->f("Imo_Tipologia"); // <--- ####### ERROR HERE (line 183) ######## $destaque[$i].="</b></font></td>"; } return($destaque); }