Hi,<div><br></div><div>thanks for the information. Hope it has solved your problem.<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 6:17 PM, Bobo Wieland <span dir="ltr">&lt;<a href="mailto:bobo@prisjakt.nu" target="_blank">bobo@prisjakt.nu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><a href="http://www.php.net/manual/en/ini.core.php#ini.variables-order" target="_blank">http://www.php.net/manual/en/ini.core.php#ini.variables-order</a><br>
      <br>
<a href="http://stackoverflow.com/questions/2142497/whats-wrong-with-using-request" target="_blank">http://stackoverflow.com/questions/2142497/whats-wrong-with-using-request</a><br>
      <br>
      &quot;<br>
      <p>You could completely omit $_COOKIES from the $_REQUEST global
        though, so that it is not overwritten by any of the other arrays
        (in fact, you can limit it to any combination of it&#39;s standard
        contents, like the <a href="http://www.php.net/manual/en/ini.core.php#ini.variables-order" rel="nofollow" target="_blank">PHP manual on the *variable_order* ini setting</a>
        tells us:</p>
      <blockquote>
        <p>variable_order Sets the order of the EGPCS (Environment, Get,
          Post, Cookie, and Server) variable parsing. For example, if
          variables_order is set to &quot;SP&quot; then PHP will create the
          superglobals $_SERVER and $_POST, but not create $_ENV, $_GET,
          and $_COOKIE. Setting to &quot;&quot; means no superglobals will be
          set.&quot;</p>
      </blockquote>
      <br>
      Nilay Khatri skrev 2012-06-28 14:32:<br>
    </div>
    <blockquote type="cite"><div><div class="h5">Hi,
      <div><br>
      </div>
      <div>my mere guess is the same.<br>
        <br>
        <div class="gmail_quote">On Thu, Jun 28, 2012 at 5:24 PM,
          Desarrollo - Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found
            this: &quot;$HTTP_COOKIE: &quot;ck_login_id_vtiger=1;
            ck_login_theme_vtiger=softed;
            ck_login_language_vtiger=es_es; timezone=0;
            PHPSESSID=mgmr0hhdo30ua1qg0k0pvt3b77;
            XDEBUG_SESSION=netbeans-xdebug&quot;<br>
            <br>
            So I think my webserver is unable to convert COOKIE
            variables into REQUEST variables.<br>
            <br>
            Is this possible or something like that? How can I fix?<br>
            <br>
            <div class="gmail_quote">
              <div>2012/6/28 Desarrollo - Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span><br>
              </div>
              <div>
                <div>
                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m
                    unable to get this value i dont know why :/<br>
                    <br>
                    <div class="gmail_quote">2012/6/28 Nilay Khatri <span dir="ltr">&lt;<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>&gt;</span><br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        <div>
                          <div>Hi,
                            <div><br>
                            </div>
                            <div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">if
                                you are able to get the value for the
                                $_REQUEST[&#39;ck_login_id_vtiger&#39;</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">]
                                then probably you must check the values
                                which are passed to the sql queries.</span>  
                              <div>
                                <div><br>
                                  <br>
                                  <div class="gmail_quote">On Thu, Jun
                                    28, 2012 at 4:47 PM, Nilay Khatri <span dir="ltr">&lt;<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>&gt;</span>
                                    wrote:<br>
                                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                      Hi,
                                      <div><br>
                                        thanks for the notice, we will
                                        look into that.</div>
                                      <div><br>
                                      </div>
                                      <div>If you want to assign the
                                        record to the currently logged
                                        in user you can use the global
                                        $current_user value.</div>
                                      <div>
                                        <div>
                                          <div><br>
                                            <div class="gmail_quote">
                                              On Thu, Jun 28, 2012 at
                                              4:31 PM, Desarrollo -
                                              Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span>
                                              wrote:<br>
                                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                Hm.. Im using &quot;Vendors&quot;
                                                for create registrys in
                                                another module: When you
                                                save a vendor, you
                                                actually save 2
                                                registrys (one in
                                                vendors and one in other
                                                module).<br>
                                                <br>
                                                First question is, why
                                                Vendors have:<br>
                                                <br>
                                                <div>
                                                  if($_REQUEST[&#39;assigntype&#39;]
                                                  == &#39;U&#39;) {</div>
                                                <div><span style="white-space:pre-wrap">
                                                  </span>$focus-&gt;column_fields[&#39;assigned_user_id&#39;]
                                                  =
                                                  $_REQUEST[&#39;assigned_user_id&#39;];</div>
                                                <div>}
                                                  elseif($_REQUEST[&#39;assigntype&#39;]
                                                  == &#39;T&#39;) {</div>
                                                <div><span style="white-space:pre-wrap">
                                                  </span>$focus-&gt;column_fields[&#39;assigned_user_id&#39;]
                                                  =
                                                  $_REQUEST[&#39;assigned_group_id&#39;];</div>
                                                <div>}<br>
                                                  <br>
                                                  If Vendors dont have
                                                  the field to assign
                                                  user....      I&#39;m
                                                  using
                                                  $_REQUEST[&#39;ck_login_id_vtiger&#39;]
                                                  , to catch the ID of
                                                  assigner user. It
                                                  works in my develop
                                                  enviroment but not in
                                                  production.<br>
                                                  <br>
                                                  Im going to check your
                                                  tip.</div>
                                                <br>
                                                <div class="gmail_quote">2012/6/28
                                                  Nilay Khatri <span dir="ltr">&lt;<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>&gt;</span><br>
                                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                    <div>
                                                      <div>
                                                        Hi,
                                                        <div><br>
                                                        </div>
                                                        <div>smownerid
                                                          is the id
                                                          given for the
                                                          assigned_user_id
                                                          so check if
                                                          the value for
                                                          assigned_to is
                                                          set or not. </div>
                                                        <div><br>
                                                        </div>
                                                        <div>Try to log
                                                          the values
                                                          passed in
                                                          params at line
                                                          347 in file
                                                          data\CRMEntity.php.
                                                          <div>
                                                          <div><br>
                                                          <br>
                                                          <div class="gmail_quote">On
                                                          Thu, Jun 28,
                                                          2012 at 3:19
                                                          PM, Desarrollo
                                                          - Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I
                                                          thought vTiger
                                                          did it itself
                                                          inside the
                                                          function
                                                          save($module)<br>
                                                          <br>
                                                          <div class="gmail_quote">2012/6/28
                                                          Nilay Khatri <span dir="ltr">&lt;<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>&gt;</span><br>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div>Hi,
                                                          <div><br>
                                                          </div>
                                                          <div>you
                                                          cannot have
                                                          the smownerid
                                                          column value
                                                          as NULL. Are
                                                          you setting
                                                          the value
                                                          properly?
                                                          <div>
                                                          <div>
                                                          <br>
                                                          <br>
                                                          <div class="gmail_quote">On
                                                          Thu, Jun 28,
                                                          2012 at 2:36
                                                          PM, Desarrollo
                                                          - Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I
                                                          have the entry
                                                          in
                                                          vtiger_ws_entity_table
                                                          , debugging
                                                          MySQL this
                                                          happens: &quot;
                                                          <span>Column
                                                          &#39;smownerid&#39;
                                                          cannot be
                                                          null&quot; -&gt; </span>
                                                          <span> insert
                                                          into
                                                          vtiger_crmentity
                                                          (crmid,smcreatorid,smownerid,setype,description,createdtime,modifiedtime)
                                                          values(1262,&#39;1&#39;,NULL,&#39;CuentasContables&#39;,&#39;&#39;,&#39;2012-06-28
                                                          10:03:56&#39;,&#39;2012-06-28
                                                          10:03:56&#39;)  </span> <br>
                                                          <br>
                                                          But this is so
                                                          strange, with
                                                          my develop
                                                          enviroment all
                                                          works, but
                                                          then I upload
                                                          to production
                                                          (other
                                                          webserver, pc
                                                          etc) and this
                                                          error happens.<br>
                                                          <br>
                                                          <div class="gmail_quote">2012/6/28
                                                          Nilay Khatri <span dir="ltr">&lt;<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>&gt;</span><br>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div>Hi,
                                                          <div><br>
                                                          </div>
                                                          <div>you can
                                                          check if the
                                                          webserviceObject is
                                                          created or
                                                          not. I guess
                                                          you do not
                                                          have an entry
                                                          for your
                                                          entity under
                                                          the
                                                          vtiger_ws_entity
                                                          table.<br>
                                                          <br>
                                                          <div class="gmail_quote">
                                                          <div>
                                                          <div>On Thu,
                                                          Jun 28, 2012
                                                          at 1:31 PM,
                                                          Desarrollo -
                                                          Affinity <span dir="ltr">&lt;<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>&gt;</span>
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div>I have
                                                          this error
                                                          when i save a
                                                          custom module
                                                          that i made:<br>
                                                          <br>
                                                          <span>Fatal
                                                          error:
                                                          Uncaught
                                                          exception
                                                          &#39;WebServiceException&#39;
                                                          with message
                                                          &#39;Permission to
                                                          perform the
                                                          operation is
                                                          denied&#39; in
                                                          C:\apache\htdocs\manager\include\Webservices\Retrieve.php:26
                                                          Stack trace:
                                                          #0
                                                          C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(16):
                                                          vtws_retrieve(&#39;35x1247&#39;,
                                                          Object(Users))
                                                          #1
                                                          C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(83):
                                                          VTWorkflowEntity-&gt;__construct(Object(Users),
                                                          &#39;35x1247&#39;) #2
                                                          C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEventHandler.inc(48):
                                                          VTEntityCache-&gt;forId(&#39;35x1247&#39;)
                                                          #3
                                                          C:\apache\htdocs\manager\include\events\VTEventTrigger.inc(119):
                                                          VTWorkflowEventHandler-&gt;handleEvent(&#39;vtiger.entity.a...&#39;,
                                                          Object(VTEntityData))
                                                          #4
                                                          C:\apache\htdocs\manager\include\events\VTEventsManager.inc(118):
                                                          VTEventTrigger-&gt;trigger(Object(VTEntityData))
                                                          #5
                                                          C:\apache\htdocs\manager\data\CRMEntity.php(863):
                                                          VTEventsManager-&gt;triggerEvent(&#39;vtiger.entity.a...&#39;,
                                                          Object(VTEntityData))
                                                          #6
                                                          C:\apache\htdocs\manager\modules\Vendors\Save.php(44):
                                                          CRMEntity-&gt;save(&#39;CuentasContabl
                                                          in
                                                          C:\apache\htdocs\manager\include\Webservices\Retrieve.php
                                                          on line 26<br>
                                                          <br>
                                                          What can I do?
                                                          Where should I
                                                          start to find?</span>
                                                          <br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
                                                          <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br>
                                                          </font></span></blockquote>
                                                          </div>
                                                          <span><font color="#888888"><br>
                                                          <br clear="all">
                                                          <div>
                                                          <br>
                                                          </div>
                                                          -- <br>
                                                          regards<br>
                                                          Nilay Khatri<br>
                                                          (VTiger)<br>
                                                          <br>
                                                          </font></span></div>
                                                          <br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
                                                          <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br>
_______________________________________________<br>
                                                          <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br clear="all">
                                                          <div><br>
                                                          </div>
                                                          -- <br>
                                                          regards<br>
                                                          Nilay Khatri<br>
                                                          (VTiger)<br>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
                                                          <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br>
_______________________________________________<br>
                                                          <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br clear="all">
                                                          <div><br>
                                                          </div>
                                                          -- <br>
                                                          regards<br>
                                                          Nilay Khatri<br>
                                                          (VTiger)<br>
                                                          <br>
                                                          </div>
                                                          </div>
                                                        </div>
                                                        <br>
                                                      </div>
                                                    </div>
_______________________________________________<br>
                                                    <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                                  </blockquote>
                                                </div>
                                                <br>
                                                <br>
_______________________________________________<br>
                                                <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                                              </blockquote>
                                            </div>
                                            <br>
                                            <br clear="all">
                                            <div><br>
                                            </div>
                                            -- <br>
                                            regards<br>
                                            Nilay Khatri<br>
                                            (VTiger)<br>
                                            <br>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <br clear="all">
                                  <div><br>
                                  </div>
                                  -- <br>
                                  regards<br>
                                  Nilay Khatri<br>
                                  (VTiger)<br>
                                  <br>
                                </div>
                              </div>
                            </div>
                            <br>
                          </div>
                        </div>
                        _______________________________________________<br>
                        <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                      </blockquote>
                    </div>
                    <br>
                  </blockquote>
                </div>
              </div>
            </div>
            <br>
            <br>
            _______________________________________________<br>
            <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        regards<br>
        Nilay Khatri<br>
        (VTiger)<br>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <div>-- <br>
      <i>Med vänliga hälsningar<br>
        Bobo - <a href="mailto:bobo@prisjakt.nu" target="_blank">bobo@prisjakt.nu</a></i></div>
  </font></span></div>

<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>regards<br>Nilay Khatri<br>(VTiger)<br><br>
</div>