<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://www.php.net/manual/en/ini.core.php#ini.variables-order">http://www.php.net/manual/en/ini.core.php#ini.variables-order</a><br>
<br>
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/2142497/whats-wrong-with-using-request">http://stackoverflow.com/questions/2142497/whats-wrong-with-using-request</a><br>
<br>
"<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's standard
contents, like the <a
href="http://www.php.net/manual/en/ini.core.php#ini.variables-order"
rel="nofollow">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 "SP" then PHP will create the
superglobals $_SERVER and $_POST, but not create $_ENV, $_GET,
and $_COOKIE. Setting to "" means no superglobals will be
set."</p>
</blockquote>
<br>
Nilay Khatri skrev 2012-06-28 14:32:<br>
</div>
<blockquote
cite="mid:CAACaw0SbGP-Ct7tnhEzEdAOs0QS8K1-Uw06f5_rJBOeMSEAiWQ@mail.gmail.com"
type="cite">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"><<a
moz-do-not-send="true"
href="mailto:desarrollo.affinity@gmail.com"
target="_blank">desarrollo.affinity@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I found
this: "$HTTP_COOKIE: "ck_login_id_vtiger=1;
ck_login_theme_vtiger=softed;
ck_login_language_vtiger=es_es; timezone=0;
PHPSESSID=mgmr0hhdo30ua1qg0k0pvt3b77;
XDEBUG_SESSION=netbeans-xdebug"<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 class="im">2012/6/28 Desarrollo - Affinity <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:desarrollo.affinity@gmail.com"
target="_blank">desarrollo.affinity@gmail.com</a>></span><br>
</div>
<div>
<div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I'm
unable to get this value i dont know why :/<br>
<br>
<div class="gmail_quote">2012/6/28 Nilay Khatri <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:nilay.khatri@vtiger.com"
target="_blank">nilay.khatri@vtiger.com</a>></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['ck_login_id_vtiger'</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"><<a
moz-do-not-send="true"
href="mailto:nilay.khatri@vtiger.com"
target="_blank">nilay.khatri@vtiger.com</a>></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"><<a
moz-do-not-send="true"
href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
Hm.. Im using "Vendors"
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['assigntype']
== 'U') {</div>
<div><span
style="white-space:pre-wrap">
</span>$focus->column_fields['assigned_user_id']
=
$_REQUEST['assigned_user_id'];</div>
<div>}
elseif($_REQUEST['assigntype']
== 'T') {</div>
<div><span
style="white-space:pre-wrap">
</span>$focus->column_fields['assigned_user_id']
=
$_REQUEST['assigned_group_id'];</div>
<div>}<br>
<br>
If Vendors dont have
the field to assign
user.... I'm
using
$_REQUEST['ck_login_id_vtiger']
, 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"><<a
moz-do-not-send="true"
href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>></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"><<a
moz-do-not-send="true" href="mailto:desarrollo.affinity@gmail.com"
target="_blank">desarrollo.affinity@gmail.com</a>></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"><<a
moz-do-not-send="true" href="mailto:nilay.khatri@vtiger.com"
target="_blank">nilay.khatri@vtiger.com</a>></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"><<a
moz-do-not-send="true" href="mailto:desarrollo.affinity@gmail.com"
target="_blank">desarrollo.affinity@gmail.com</a>></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: "
<span
style="font-family:'Times
New
Roman';font-size:medium">Column
'smownerid'
cannot be
null" -> </span>
<span
style="font-family:'Times
New
Roman';font-size:medium"> insert
into
vtiger_crmentity
(crmid,smcreatorid,smownerid,setype,description,createdtime,modifiedtime)
values(1262,'1',NULL,'CuentasContables','','2012-06-28
10:03:56','2012-06-28
10:03:56') </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"><<a
moz-do-not-send="true" href="mailto:nilay.khatri@vtiger.com"
target="_blank">nilay.khatri@vtiger.com</a>></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"><<a
moz-do-not-send="true" href="mailto:desarrollo.affinity@gmail.com"
target="_blank">desarrollo.affinity@gmail.com</a>></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
style="font-family:'Times
New
Roman';font-size:medium">Fatal
error:
Uncaught
exception
'WebServiceException'
with message
'Permission to
perform the
operation is
denied' 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('35x1247',
Object(Users))
#1
C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(83):
VTWorkflowEntity->__construct(Object(Users),
'35x1247') #2
C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEventHandler.inc(48):
VTEntityCache->forId('35x1247')
#3
C:\apache\htdocs\manager\include\events\VTEventTrigger.inc(119):
VTWorkflowEventHandler->handleEvent('vtiger.entity.a...',
Object(VTEntityData))
#4
C:\apache\htdocs\manager\include\events\VTEventsManager.inc(118):
VTEventTrigger->trigger(Object(VTEntityData))
#5
C:\apache\htdocs\manager\data\CRMEntity.php(863):
VTEventsManager->triggerEvent('vtiger.entity.a...',
Object(VTEntityData))
#6
C:\apache\htdocs\manager\modules\Vendors\Save.php(44):
CRMEntity->save('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
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
<a
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
<a
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
<a
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</blockquote>
</div>
</div>
</div>
<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" 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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<i>Med vänliga hälsningar<br>
Bobo - <a class="moz-txt-link-abbreviated" href="mailto:bobo@prisjakt.nu">bobo@prisjakt.nu</a></i></div>
</body>
</html>