<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Data base on other server then web page - update problem - how?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>qwertxx on Data base on other server then web page - update problem - how?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29013</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29013</guid>
        	        	<description><![CDATA[</p>
<p>Thank you for reply.</p>
<p>Of course i have all rights.</p>
</p>
<p>I was caught (via PHP to file) $_SERVER variable after submit cell edition.</p>
</p>
<p>When i&#39;m using my own ajax post/get methods in $_SERVER&#160;there is for example:</p>
<p>$_SERVER [HTTP_COOKIE] =&#62; PHPSESSID=f43ai14c8l7dt61t7rfnhpu7u3</p>
</p>
<p>But when i&#39;m, using:</p>
<p>$(w).jqGrid({</p>
<p>url: dd_serwer_url + &#39;ulu.php&#39;,</p>
<p>datatype: "jsonp",</p>
<p>&#8230;</p>
<p>cellEdit: true,</p>
<p>cellsubmit: &#39;remote&#39;,</p>
<p>cellurl: dd_serwer_url + &#39;ulu_cell_submit.php?a=zi&#39;,</p>
<p>errorCell: function(serverresponse, status){</p>
<p>&#160; alert(serverresponse);</p>
<p>}</p>
</p>
<p>there is an alert with:</p>
<p>[readyState] = 4</p>
<p>&#8230;.</p>
<p>[status] = 404</p>
<p>[statusText] = error</p>
</p>
<p>I checked $_SERVER and <strong>there is no </strong>$_SERVER [HTTP_COOKIE] with PHPSESSID.</p>
<p>Why?</p>
<p> Of course both files (ulu.php and&#160;ulu_cell_submit.php)&#160;are on the server and can be reached by&#160;webbrowser.&#160;</p>
]]></description>
        	        	<pubDate>Sun, 16 Jun 2013 00:04:53 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Data base on other server then web page - update problem - how?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29005</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29005</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>The problem is at your code on server and not in jqGrid.</p>
<p>Please see what respond exact the server. Do you have enought right to update and etc?</p>
</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Fri, 14 Jun 2013 16:10:09 +0300</pubDate>
        </item>
        <item>
        	<title>qwertxx on Data base on other server then web page - update problem - how?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29004</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-base-on-other-server-then-web-page-update-problem-how#p29004</guid>
        	        	<description><![CDATA[<p>Hi.</p>
<p>I have problem with jqGrid with update databes on other server, then server of my www page (blogspot.com).</p>
<p>I can read data via jqGrid correctly, but when i try to save changed cell using <strong>editUrl</strong> and <strong>saveRow</strong>&#160;, the dialog occure with message: Error.</p>
</p>
<p>$(w).jqGrid({</p>
<p>url: "database_domain/grid.php",</p>
<p>datatype: "jsonp",</p>
<p>colNames:[&#39;Data&#39;, &#39;Topic&#39;, &#39;Description&#39;],</p>
<p>colModel:[</p>
<p>{name:&#39;data&#39;,index:&#39;data&#39;},</p>
<p>{name:&#39;topic&#39;,index:&#39;topic&#39;},</p>
<p>{name:&#39;desc&#39;,index:&#39;desc&#39;, editable:true}</p>
<p>],</p>
<p>pager: &#39;#artpager&#39;,</p>
<p>sortname: &#39;id&#39;,</p>
<p>viewrecords: true,</p>
<p>editurl: "database_domain/submit.php"</p>
<p>});</p>
<p>$(w).jqGrid(&#39;navGrid&#39;, &#39;#artpager&#39;,{ edit: false, add: false, del: false, search: false, refresh:true });</p>
</p>
<p>jQuery("#ed1&#8243;).click( function() {</p>
<p>&#160; &#160;$(w).jqGrid(&#39;editRow&#39;,"8&#8243;);</p>
<p>});</p>
</p>
<p>jQuery("#sved1&#8243;).click( function() {</p>
<p>&#160; &#160;$(w).jqGrid(&#39;saveRow&#39;,"8&#8243;);</p>
<p>});</p>
</p>
<p>jQuery("#cned1&#8243;).click( function() {</p>
<p>&#160; &#160;$(w).jqGrid(&#39;restoreRow&#39;,"8&#8243;);</p>
<p>});</p>
</p>
<p><strong>submit.php</strong> of course is on the serwer and i can use it in browser.</p>
</p>
<p>What should i do?</p>
]]></description>
        	        	<pubDate>Fri, 14 Jun 2013 00:23:37 +0300</pubDate>
        </item>
</channel>
</rss>