Validation Errors

~bk

I
Political Access
Joined
3 Nov 2003
Messages
3,768
Getting these two errors. Happened after I installed a poll plugin.

Any ideas?
 
are they spaces when they shouldnt be between the p and the h? well all of them actually
 
No, I don't think so. I guess it's somewhere in the plugins file. Looking for it.
 
When you open up the source file, look for the "&" symbol before the PHPSESSID variable in the URL.
Change that "&" to "&" (without the quotes). That should fix it. :)
 
see, i told net to say that because i didnt want to take all the credit :p
 
The "&" is in the ID of the poll. And in the plugin it's written as <?php echo $poll_question->id; ?>. So I can't really change it. :ermm: I searched through the plugin file to see if I can edit that but I couldn't.

Have asked the author of the plugin too. Let's see.
 
Last edited:
You might be able to do something like this, but it would assume there are no previous instances of ISO character codes like &amp; or &nbsp;

PHP:
  $contents = $poll_question->id;
  $search_pattern = array('&'); 
  $replace_with = array("&amp;"); 
  $contents=str_replace($search_pattern,$replace_with, $contents); 
  echo $contents;
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back