Hello
I recently started up my own website and aquired an affiliates directory script. Where webmasters can add thier site to my directory and visitors can rate the sites listed. All has been going really well until I wanted to rate a site in the directory, but I keep getting an "error on page error" in the bottom left hand corner of my screen. like this:
I have looked everywhere in my directory.php file but I can't seem to find what is causing the error.
Here is the section of the directory.php file:
If you would like to see the complete directory.php file you can email me for it here: my email The code is too long to add here in this post.
</script>
<p class="bodymd"><?php echo $image; ?><a class=categorylinks href="<?php echo $PHP_SELF ?>?ax=out&id=<?php echo $id ?>" target=_blank><?php echo $name ?></a>
<br /><span class="bodysm">Added: <?php echo $date_added ?> | Total Clicks: <?php echo $clicks ?> | Rating: <font color=FF0000><B><?php echo $rate_stat ?></B></font> | <a href="#" onclick="blocking('<?php echo $id ?>');return false;">Rate This Website</a> | <a href="<?php echo $PHP_SELF ?>?ax=deadlink&id=<?php echo $id ?>">Notify of Dead Link</a> <BR></span>
<br /><?php echo $dsc ?><hr size="1" noshade="noshade" />
<br /><div id="<?php echo $id ?>"><form action="<?php echo $PHP_SELF ?>?ax=addrate&id=<?php echo $id ?>&cat_id=<?php echo $formcat_id; ?>&l=<?php echo $list_type; ?>" method="post" id="form<?php echo $id; ?>" onsubmit="return validate_rate<?php echo $id; ?>();"><span class="bodysm">Rate This Website</span> <select name="rating" class="bodysm"><option>- choose --</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option></select> <input type="submit" name="submit" value="Rate <?php echo $name ?>" class="bodysm" /></div></form>
</p>
<script type="text/javascript">
The problem arises when I click the link "Rate This Website". When I click the link nothing happens and I get the "error on page" at the bottom. All the other links work fine.
Can anyone please help me?
Regards
Richard