Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/toprealestates/public_html/databases/mysqli.php on line 44

An error occoured at http://toprealestates.com/javascriptheader.php on 2024-04-27 08:39:24. Please relay this data to support. Error #2: 'Invalid argument supplied for foreach()' in /home/toprealestates/public_html/classes/settings.php on line 794.

Step 1 of backtrace:
File: /home/toprealestates/public_html/start.php
Line: 175
Function: numstyles
Arguments:
Class: settings

Step 2 of backtrace:
File: /home/toprealestates/public_html/javascriptheader.php
Line: 5
Function: require
Arguments: /home/toprealestates/public_html/start.php

An error occoured at http://toprealestates.com/javascriptheader.php on 2024-04-27 08:39:24. Please relay this data to support. Error #2: 'opendir(/home/topreale/public_html/templates): failed to open dir: No such file or directory' in /home/toprealestates/public_html/includes/filefunctions.php on line 610.

Step 1 of backtrace:
File: /home/toprealestates/public_html/includes/filefunctions.php
Line: 610
Function: opendir
Arguments: /home/topreale/public_html/templates

Step 2 of backtrace:
File: /home/toprealestates/public_html/classes/settings.php
Line: 817
Function: getsubdirectories
Arguments: /home/topreale/public_html/templates/

Step 3 of backtrace:
File: /home/toprealestates/public_html/start.php
Line: 176
Function: numtemplates
Arguments:
Class: settings

Step 4 of backtrace:
File: /home/toprealestates/public_html/javascriptheader.php
Line: 5
Function: require
Arguments: /home/toprealestates/public_html/start.php

An error occoured at http://toprealestates.com/javascriptheader.php on 2024-04-27 08:39:24. Please relay this data to support. Error #2: 'closedir() expects parameter 1 to be resource, boolean given' in /home/toprealestates/public_html/includes/filefunctions.php on line 627.

Step 1 of backtrace:
File: /home/toprealestates/public_html/includes/filefunctions.php
Line: 627
Function: closedir
Arguments:

Step 2 of backtrace:
File: /home/toprealestates/public_html/classes/settings.php
Line: 817
Function: getsubdirectories
Arguments: /home/topreale/public_html/templates/

Step 3 of backtrace:
File: /home/toprealestates/public_html/start.php
Line: 176
Function: numtemplates
Arguments:
Class: settings

Step 4 of backtrace:
File: /home/toprealestates/public_html/javascriptheader.php
Line: 5
Function: require
Arguments: /home/toprealestates/public_html/start.php

An error occoured at http://toprealestates.com/javascriptheader.php on 2024-04-27 08:39:24. Please relay this data to support. Error #2: 'Invalid argument supplied for foreach()' in /home/toprealestates/public_html/classes/settings.php on line 818.

Step 1 of backtrace:
File: /home/toprealestates/public_html/start.php
Line: 176
Function: numtemplates
Arguments:
Class: settings

Step 2 of backtrace:
File: /home/toprealestates/public_html/javascriptheader.php
Line: 5
Function: require
Arguments: /home/toprealestates/public_html/start.php

Cannot set cookie. This probably just means there's debug output above this, and this message will go away when the other problem is fixed.function toggle(divid, onoff) { if (onoff == 0) document.getElementById(divid).style.display = "none"; else document.getElementById(divid).style.display = "block"; } function minmax(divid) { if (document.getElementById(divid).style.display == "none") document.getElementById(divid).style.display = "block"; else document.getElementById(divid).style.display = "none"; } function dropmenu(divid) { var ourdiv = document.getElementById(divid); if(ourdiv.style.display == "block") ourdiv.style.display = "none"; else ourdiv.style.display = "block"; return false; } function makecookie(name, value, expires, path, domain, secure) { var today = new Date(); today.setTime( today.getTime() ); if (expires) expires = expires * 1000 * 60 * 60 * 24; var expires_date = new Date(today.getTime() + (expires)); document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); } function update(msg) { field = document.commentform.message; if (document.selection) { field.focus(); sel = document.selection.createRange(); sel.text = msg; } else if (field.selectionStart || field.selectionStart == 0) { var startPos = field.selectionStart; var endPos = field.selectionEnd; field.value = field.value.substring(0, startPos) + msg + field.value.substring(endPos, field.value.length); } else { field.value += msg; } } function checkall() { var boxes = document.getElementsByName('linklist[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = true; var boxes = document.getElementsByName('commentlist[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = true; var boxes = document.getElementsByName('selection[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = true; } function uncheckall() { var boxes = document.getElementsByName('linklist[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = false; var boxes = document.getElementsByName('commentlist[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = false; var boxes = document.getElementsByName('selection[]'); for (i=0; i < boxes.length; i++) boxes[i].checked = false; } function counthit(linkid) { var tosend = "http://toprealestates.com/ajax.php?action=counthit" + escape("&") + "linkid=" + linkid; try { xmlhttp3 = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp3 = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp3 = false; } } if (!xmlhttp3 && typeof XMLHttpRequest!='undefined') { xmlhttp3 = new XMLHttpRequest(); } xmlhttp3.open("GET", tosend, true); xmlhttp3.send(null); } function imageover(ima) { ima.style.borderColor = 'blue'; } function imageout(ima) { ima.style.borderColor = 'black'; }