Results 1 to 3 of 3

Thread: Not able to access Request variables? It's urgent

  1. #1
    jollyguy77 is offline Member
    Join Date
    Nov 2009
    Posts
    18

    Default Not able to access Request variables? It's urgent

    Hi,

    In the activities tab, i have modified the page by adding a variable "Rectype". The rectype contains 3 different action
    1. Calls
    2. Meeting
    3. To-Do's.
    Whenever a user wants to save, they have to select 1 of the rectype to save what type of activites they want to save. I will be saving it in the database. I have also modified the shortcut menus by adding an extra menu item "To-Do's", so that when they select the "To-Do's" it will only fetch the records that have the rectype "To-Do". For doing this i am passing a variable "Rectype" to the querystring and depending on that i have changed the query and i am also getting the correct resultset.

    I have a Testing Server that has the same scenario as the Staging server. I have put the modified code in both the Test and Staging server. When i tested it in the Testing sever, it work fine so i put the same code in the staging server. Now i have a strange problem, When i click on the "To-Do's" in the shortcut menu in the Testing server, i am not getting the correct resultset. By debugging i found out that the variable "Rectype" that i am passing in the querystring does not contain the value by for it when i try to get the value by using $_REQUEST['Rectype']. Even though the value is set in the querystring, i am not able to get the value for it.

    Now in the Staging server, it' working fine. There is no problem in getting the correct resultset for the "To-Do's". I am stumped about this problem. Can someone help me out.

    » Operating system type and version :- WindowsXP
    » Sugar version and edition : 5.2.0h Community Edition
    » Webserver type and version : IIS 6
    » Database : SQL Sever 2005.

    Thanks,
    Jollyguy

  2. #2
    hazyumps's Avatar
    hazyumps is offline Senior Member
    Join Date
    Dec 2008
    Posts
    33

    Default Re: Not able to access Request variables? It's urgent

    Could u post your query string please? Also are you assigning these INT values for RECTYPE? ie calls=1 meetings=2 todo=3....if not this could pos. help out - u kno how screwy sql can be with VARCHARS...I just beat my head against the wall for hours trying to figure out y i couldnt query the records i needed - come to find out the encryption was taking up more space than the field allows...ykers

  3. #3
    jollyguy77 is offline Member
    Join Date
    Nov 2009
    Posts
    18

    Default Re: Not able to access Request variables? It's urgent

    Hi,

    This is the Querystring

    http://localhost:8080/sugarcrm/index...w&rectype=Todo.

    I am passing the value as varchar...

    Thanks
    Jollyguy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. URGENT:access custom field from accounts in quotes
    By aansari in forum Developer Help
    Replies: 1
    Last Post: 2009-12-22, 08:53 PM
  2. Access the variables of a module Case in a logick hook
    By aboboreira in forum Developer Help
    Replies: 2
    Last Post: 2009-10-29, 03:42 PM
  3. Replies: 4
    Last Post: 2009-04-06, 11:45 AM
  4. Replies: 0
    Last Post: 2008-11-11, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •