header warning
-
Hi,
I am getting the following error when trying to load my website:
Warning: mysql_query(): No such file or directory in /nfs/c10/h05/mnt/142753/domains/rufregistry.com/html/wp-content/themes/rufforum/header.php on line 434Warning: mysql_query(): A link to the server could not be established in /nfs/c10/h05/mnt/142753/domains/rufregistry.com/html/wp-content/themes/rufforum/header.php on line 434
No such file or directoryLine 434 is as follow:
</script>
<div class=”floatingCats”>
<?php
$count=0;-
$maincats=mysql_query(“select r1.id, r1.name, r1.image, count(r2.id) as subcats from ruf_categories r1 left join ruf_categories r2 on r2.parent=r1.id where r1.parent=0 group by r1.id, r1.name, r1.image order by r1.sorder”) or die(mysql_error());
while($cat=mysql_fetch_assoc($maincats)){
if($cat[‘image’]){
echo ‘‘;
}
$count++;}
?>
</div>
<?php
}
?>any idea how to fix?
The page I need help with: [log in to see the link]
- The topic ‘header warning’ is closed to new replies.