the full URL which gives me this problem is... /X/component/option,com_smf/Itemid,6/action,editpoll/add/topic,19.0/sesc,30334c9cee85d90052fd4942e1e909b0/
was busy with skinning my forum and noticed that also the Jump-to with SEF is not working... get the next link... /X/component/option,com_smf/Itemid,6/board,5.0 when I add a / to the end like this... /X/component/option,com_smf/Itemid,6/board,5.0/ then it works fine...
I was just informed by one of my users that the jump to box in smf isn't working on my site as well. I am using Joomla 1.0.11, smf rc3, and the 2.0 RC1 bridge. I have the Joomla sef turned on, and the smf sef turned off.
I notice that when I am cruising thru my forums, I have a backslash (/) at the end of all the urls. When the url is generated by the jump to box, there is no trailing backslash, thus causing the page not to be found.
I notice on this site there are no trailing backslashes in the urls. So, other than removing the jump to box (which is not too difficult), what else can I do to remedy this??
EDIT: I just tried the Add Poll option from inside the message and get the same error as Jacuzzi.... seems to be the backslash issue. So I guess removing the jump to box will just resolve the jump to issue, but not the polls, and who knows what else... seems a solution is needed for this mysterious backslash problem.....
« Last Edit: November 06, 2006, 03:01:24 PM by mike »
the full URL which gives me this problem is... /X/component/option,com_smf/Itemid,6/action,editpoll/add/topic,19.0/sesc,30334c9cee85d90052fd4942e1e909b0/
was busy with skinning my forum and noticed that also the Jump-to with SEF is not working... get the next link... /X/component/option,com_smf/Itemid,6/board,5.0 when I add a / to the end like this... /X/component/option,com_smf/Itemid,6/board,5.0/ then it works fine...
jump-to is fixed, will be in RC3, still looking at the other
To make "Add Poll" work, the / between editpoll and add must be changed to & so that it looks like action,editpoll&add. I'm guessing smf reads "editpoll&add" to be the action attribute as a whole..?
Rgds, Mike
Logged
----- Owner of http://mike.simbunch.com Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
Ok, the problem is that 'add' in the middle. It is not being registered as a valid $_REQUEST param. So SMF doesn't see it and assumes you are trying to edit an existing poll which obviously the thread does not have *yet*.
I fixed this by changing the /add/ to /add,1/ since it is just checking if it is set. I am sure that will break something else so if anyone comes across a url with ;add; or /add/ in it please let me know right away.
all righty then.... thanks for the quick fixin of the jump to issue, and it sounds like we're soon to have a fix for the add polls issue, will using p9939068's solution work without breaking something else as you suggested your quick down and dirty fix might??
@p9939068 no, actually smf is reading it as a separate $_REQUEST var, and checking if it is set. With SEF enabled it incorrectly reads it as not set. Works just fine with sef disabled.
@mike, no, it didn't work for me. The final fix will be in RC3 which should be quick to fix the bugs I introduced with RC2.
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use