Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Poll
Poll Test
1
0%
 0%  [ 0 ]
2
100%
 100%  [ 1 ]
3
0%
 0%  [ 0 ]
Total Votes : 1


Author Message
khaled_dxb
Regular
Regular



Joined: Jan 15, 2007
Posts: 66

PostPosted: Wed Feb 18, 2009 10:49 am Reply with quote

Hi All,

I noticed a strange phenomenon today, i posted a poll on my site and i had not voted yet, so i cliecked on "view results" button, however it took me back to the home page!

Looking at the resulting link, looks like it is misinterpreting the & character and replacing it with &amp

See sample link below:

http://mysite.com/modules.php?name=Forums&file=viewtopic&t=3405&postdays=0&postorder=asc&vote=viewresult

Digging a little deeper, in the source of the page, the form tag seems to contain the error action is:
<form method="POST" action="modules.php?name=Forums&amp;file=posting&amp;mode=vote&amp;t=3405">

I'm gonna post a poll here to test it.

_________________
Khaled 
View user's profile Send private message
khaled_dxb







PostPosted: Wed Feb 18, 2009 10:50 am Reply with quote

I just tested it here and it works no problem...

I'll have to dig into the code, unless someone can tell me which file this fix is in off the top of their head.
 
khaled_dxb







PostPosted: Wed Feb 18, 2009 10:51 am Reply with quote

Oh btw, if you press Submit Vote - without selecting any options, a 404 error is displayed.
 
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Wed Feb 18, 2009 11:04 am Reply with quote

Indeed it does, odd. I tested it on my site as well and for me it just redirects to the main forums page.
 
View user's profile Send private message
khaled_dxb







PostPosted: Wed Feb 18, 2009 11:37 am Reply with quote

I'm guessing you get the same link format as i pasted above...
 
horrorcode







PostPosted: Wed Feb 18, 2009 11:43 am Reply with quote

Sorry, yes I do. Not exactly sure why it isnt being converted, though I have seen similar cases recently.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Feb 18, 2009 11:52 am Reply with quote

khaled_dxb, Sorry to butt in here, but your emails are all bouncing with the email address that you have registered here. Please correct your email - Thanks!
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Feb 18, 2009 8:11 pm Reply with quote

Links with &amp; seem to work fine on my site. Are you using ShortLinks perhaps?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Feb 18, 2009 9:09 pm Reply with quote

khaled_dxb, is the same behavior seen over on Only registered users can see links on this board! Get registered or login!?

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Feb 18, 2009 9:58 pm Reply with quote

I can't reproduce.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
horrorcode







PostPosted: Thu Feb 19, 2009 12:55 am Reply with quote

It does the same thing here in this very forum. Maybe this is a FF issue, in FF click submit vote without choosing an option^^ and youre brought to an error page.
 
horrorcode







PostPosted: Thu Feb 19, 2009 12:55 am Reply with quote

This might be the problem:
http://www.ravenphpscripts.com/modules/Forums/modules.php?name=Forums&file=viewtopic&t=17149

EDIT: Okay odd, different link format altogether, still an error.
 
khaled_dxb







PostPosted: Thu Feb 19, 2009 2:08 am Reply with quote

montego wrote:
khaled_dxb, is the same behavior seen over on Only registered users can see links on this board! Get registered or login!?


I have not yet tested it, BUT that site is using phpbb3!!!!

Do i need to register a new usernam/pwd for that site? or will my credentials for this site work ok?

Looks cool!!
 
evaders99







PostPosted: Thu Feb 19, 2009 2:18 am Reply with quote

I don't believe its using phpBB3. It is just a different template with some mods.

It is a new login.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©