Surendra,  I replied to you directly but I am reposting here for other
folk's benefit...


my guess is there is another variable that is interfering.  what i
would do is just change the form to properly scope the variable.
since they are no longer updating FC 3.0 it should not cause you
upgrade issues going forward.  Even if you upgrade to FC 4 they
changed the way FUs work so it wouldn't have a negative impact.

So in manage_friendlyurl.cfm I would change stForm.status = status on
line 35 to stForm.status = form.status.

You can cfdump the form struct before trying that to ensure that
form.status does indeed contain an integer and not "online".

If form.status contains "online" then something else might be afoot.

Good luck

Sean


On May 13, 1:24 pm, Surendra <[email protected]> wrote:
> Hi Sean,
>
> Thanks for looking into it.
>
> I tried printing the status before submitting the form. It comes as
> 'online'.
>
> And after submitiing the form, I get the below output in CFDUMP
>
> FRIENDLYURL      /go/login
> QUERYSTRING     [empty string]
> REFOBJECTID     B356D1C7-933F-1C37-24E39CBC4C570D3E
> STATUS  online
>
> Just wondering, how the status could be 'online'? I am selecting
> 'Permenant' from Status drop down.Then it should take '2'. But I am
> not very sure, why the status is coming as online
>
> Any help would be very great.
>
> Many Thanks,
> Surendra
>
> On May 12, 9:34 pm, Sean Coyne <[email protected]> wrote:
>
>
>
>
>
> > What database are you running this on?  MS SQL Server?
>
> > The error is being thrown from farcry_core\packages\farcry\fu.cfc
>
> > On line 571 there is a <cfqueryparam /> tag that enforces that the
> > status value be an integer.
>
> > Which "status" did you choose from the dropdown?  Archived or
> > Permanent?
>
> > The form to manage friendly urls is at farcry_core\admin
> > \manage_friendlyurl.cfm  You can see that it takes the value of the
> > drop down and assigns it to the argument struct that gets passed to
> > the fu.cfc.
>
> > You could cfdump the stForm variable just before it is passed to the
> > fInsert method of the fu.cfc (line 36) and see if it is something
> > other than an integer for some reason.
>
> > I am running a site on 3.0.2RC as well, on MS SQL, and I am able to
> > add permanent FUs.
>
> > Have you tried different browsers?  Perhaps there is a bug with how
> > certain browsers send the status value.  I tested with Chrome while
> > writing this and it worked for me.
>
> > Sean
>
> > On May 12, 5:11 am, Surendra <[email protected]> wrote:
>
> > > This is the Farcry Version we are using here..
>
> > > FarCry 3.0.2RC.
>
> > > On May 11, 2:20 pm, Tomek Kott <[email protected]> wrote:
>
> > > > Could you verify which version of FarCry you are using? If /go/ is being
> > > > used, I would assume something like FC4?
>
> > > > Tomek
>
> > > > On Tue, May 11, 2010 at 5:53 AM, Surendra <[email protected]> 
> > > > wrote:
> > > > > Hi,
>
> > > > > I need to create my own friendly URLs for my pages. If I create a
> > > > > page / clcik on Rebuild Friendly URL it creates the URL as /go/<< Page
> > > > > Title >>.
>
> > > > > Ex : /go/member-login. But I need a URL as /go/login.
>
> > > > > If I click on 'Manage' which is next to Show Friendly URLs and try to
> > > > > add an URL of my choice, it is not accepting. What I have in my
> > > > > Friendly URL Management window is,
>
> > > > > Friendly URL  - A text box
> > > > > Additional Parameter - A text box
> > > > > Status Dropdown(Permanent/Archived)
> > > > > Add Button
>
> > > > > If I give '/go/login' in the friendly URL text box and click on Add,
> > > > > it says Invalid data online for CFSQLTYPE CF_SQL_INTEGER. If I give '/
> > > > > go/' in the Friendly URL text box and 'login' in the Additional
> > > > > Parameter text box, it does nothing. The Active URL of this page is /
> > > > > go/member-login
>
> > > > > I have verified my Apache rewrite configuration, everything looks
> > > > > fine.
>
> > > > > RewriteRule ^/go/(.*)$ /go.cfm?path=/go/$1&%1 [L,PT,QSA]
> > > > > RewriteRule ^/go/(.*)$ /go.cfm?path=/go/$1 [L,PT,QSA]
>
> > > > > Can some one please help me out?
>
> > > > > Thanks,
> > > > > Surendra
>
> > > > > --
> > > > > You received this message cos you are subscribed to "farcry-dev" 
> > > > > Google
> > > > > group.
> > > > > To post, email: [email protected]
> > > > > To unsubscribe, email: 
> > > > > [email protected]<farcry-dev%2bunsubscr...@googlegrou
> > > > >  ­ps.com>
> > > > > For more options:http://groups.google.com/group/farcry-dev
> > > > > --------------------------------
> > > > > Follow us on Twitter:http://twitter.com/farcry
>
> > > > --
> > > > You received this message cos you are subscribed to "farcry-dev" Google 
> > > > group.
> > > > To post, email: [email protected]
> > > > To unsubscribe, email: [email protected]
> > > > For more options:http://groups.google.com/group/farcry-dev
> > > > --------------------------------
> > > > Follow us on Twitter:http://twitter.com/farcry-Hidequotedtext -
>
> > > > - Show quoted text -
>
> > > --
> > > You received this message cos you are subscribed to "farcry-dev" Google 
> > > group.
> > > To post, email: [email protected]
> > > To unsubscribe, email: [email protected]
> > > For more options:http://groups.google.com/group/farcry-dev
> > > --------------------------------
> > > Follow us on Twitter:http://twitter.com/farcry
>
> > --
> > You received this message cos you are subscribed to "farcry-dev" Google 
> > group.
> > To post, email: [email protected]
> > To unsubscribe, email: [email protected]
> > For more options:http://groups.google.com/group/farcry-dev
> > --------------------------------
> > Follow us on Twitter:http://twitter.com/farcry-Hide quoted text -
>
> > - Show quoted text -
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options:http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter:http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to