PDA

View Full Version : Rating.php produces error page


42491
11-27-2006, 10:14 AM
After rating, a blank html pages pops up, as in page not found. What could possibly cause this. This is the script out of the box or something I did wrong.
Everything else works fine. Any suggestions.

blank
11-27-2006, 12:46 PM
in your config is your $site_url set properly?

42491
11-27-2006, 01:33 PM
In the config.php file itself there isn't anything about the url. From the CP there is an option to post the url and that's configured correctly.

When http://yourdomain.com/videos/rating.php is called, it produces
an invalid page not found error. If you call it directly, it reads:

no data provided
Warning: Cannot modify header information - headers already sent by (output started at /home/videofli/public_html/videos/rating.php:9) in /home/videofli/public_html/videos/rating.php on line 28

So, something is not passing correctly, right? in the template it shows:

<form action="rating.php" method="post">
rate this video on a scale of <b><font color="#ff0000">1-5 </font></b>: </strong>&nbsp;
<input type=hidden name=gameid value=<?php echo"$id2"; ?>>
<select name="score" id="score">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5" selected>5</option>
</select>
<input type="submit" name="submit" value="Rate!" />
</form>

kip
11-27-2006, 11:30 PM
what is your domain so i can take a closer look?