PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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="forums.html&amp;file=posting&amp;mode=vote&amp;t=3405">

I'm gonna post a poll here to test it.
View user's profile Send private message
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

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

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.
View user's profile Send private message
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

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

Oh btw, if you press Submit Vote - without selecting any options, a 404 error is displayed.
View user's profile Send private message
horrorcode
Involved
Involved


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

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

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 Visit poster's website MSN Messenger
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

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

I'm guessing you get the same link format as i pasted above...
View user's profile Send private message
horrorcode
Involved
Involved


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

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

Sorry, yes I do. Not exactly sure why it isnt being converted, though I have seen similar cases recently.
View user's profile Send private message Visit poster's website MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

Links with &amp; seem to work fine on my site. Are you using ShortLinks perhaps?
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

khaled_dxb, is the same behavior seen over on
Only registered users can see links on this board!
Get registered or login to the forums!
?
View user's profile Send private message Visit poster's website
Palbin
Site Admin


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

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

I can't reproduce.
View user's profile Send private message
horrorcode
Involved
Involved


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

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

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.
View user's profile Send private message Visit poster's website MSN Messenger
horrorcode
Involved
Involved


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

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

This might be the problem:
Only registered users can see links on this board!
Get registered or login to the forums!


EDIT: Okay odd, different link format altogether, still an error.
View user's profile Send private message Visit poster's website MSN Messenger
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

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

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


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!!
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

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

It is a new login.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum