-
1 Feb 2009 6:21 PM #111
While saving state? I wouldn't do it, it would only distract users - they wouldn't know why something is saving if they "didn't click a save button".
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
1 Feb 2009 6:27 PM #112
I understand, but my users know. And I wouldn't want them to resize a second column before the first one has finished the query. Can you help me to achieve this ?
Thank you for your time.
-
1 Feb 2009 6:53 PM #113
HttpProvider is buffering what means that is doesn't immediately send state. There is delay (interval) that defaults to 750 ms so if you resize a column it is quite likely that you can resize also second one within that time frame.
If you still insist on "a save indicator" then you're on your own - I have no time for that functionality and I don't think it is a good idea.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
2 Feb 2009 12:06 AM #114
I understand. Thank you anyway, it's a great extension!
-
2 Feb 2009 8:21 PM #115
Can I please bother you with another question ? Do you have any idea why it worked perfect on my localhost but once moved to online webserver it keeps throwing this PHP error ?
BTW: My provider-sqlite.php is the same as you state-sqlite.php from rowactions plugin. I just got the names mixed upCode:Warning: Invalid argument supplied for foreach() in /home/*my path*/provider-sqlite.php on line 83 ?
Where line 83 is from saveState:I have permissions to the db file and folder. I've runned some tests and $_POST["data"] is not empty at the begining of the file. $clientArgs->data returns an empty array though...PHP Code:foreach($clientArgs->data as $row) {
Any ideas ? Thank you
-
3 Feb 2009 12:20 AM #116
your best bet here is to install firebug and then install the firephp add on. All you have to do then is "include_once" the firephp file and you can send variables back to your firebug console by calling fb($someVar);
This allows for very convenient variable inspection at run time and will allow you to really see what is going on. I suspect that there is a PHP configuration difference between your localhost and your hosted server. Are they running the same PHP version?
make a file on localhost and on your webserver called getInfo.php, and set its contents to
<?php
phpinfo();
?>
then go to http://some path/getInfo.php to get all the current php config on both systems.
-
3 Feb 2009 1:04 AM #117
I also think that it is PHP config difference. Check php.ini.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
3 Feb 2009 8:36 AM #118
NULL json_decode
NULL json_decode
Ok, I got it working on my webserver as well. The problem was, as you too were saying in my PHP configurations. My webserver was causing a NULL json_decode because of the magic_quotes setting in PHP.ini. So I just needed to make a stripslashes() over the data. I have made a function to handle different PHP configuration:
I hope this one help others who encounter the same problem. Thank you for your help.PHP Code:function my_json_decode($data) {
if (get_magic_quotes_gpc()) {
$data = stripslashes($data);
}
return json_decode($data);
}
-
3 Feb 2009 11:15 AM #119
Yes, that is solution if you cannot turn magic quotes off. I have my own servers so I simply change php.ini.
Anyway, congrats that you've done it !!!
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
3 Feb 2009 3:18 PM #120


Reply With Quote
.