|
|
 webdeveloper - 2010-04-08 06:49:56
Hi ,
I am unable to get table grid with scrolling pagination(i.e Examplegrid1.php).
Following are the steps i try to configure:
1)I downloaded DrasticTools0617.zip ,next i extracted and modified the mysql connection strings only in Examplemysqlconfig.php file and left $GApiKey=""; blank.
2)Next i placed the folder in WAMP/www .
3)when i browse the link http://localhost/DrasticTools/ExampleGrid1.php ,it providing error i.e
Notice: Undefined index: op in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 139
Notice: Undefined index: id in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 140
Notice: Undefined index: col in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 141
Notice: Undefined index: value in C:\wamp\www\DrasticTools\drasticSrcMySQL.class.php on line 142
Please can any one suggest me to resolve it.
Thanks
 dd - 2010-04-08 08:29:48 - In reply to message 1 from webdeveloper
Hi,
Strange, it should work as you described. From your error messages it seems the PHP file cannot read the variables being passed within the URL.
Best would be to inspect which url is being sent over. You can do this with firebug (add-on for Firefox).
Which version of php do you use?
regards,
dd
 webdeveloper - 2010-04-08 09:22:33 - In reply to message 2 from dd
Hi DD,
Thank you for your response.
I tried with firebug on the error page but i found same error code only, and i'm using php 5.2.9-2 version.
I had a doubt i.e how $_REQUEST['op'],$_REQUEST['id'],$_REQUEST['col'],$_REQUEST['value'] variables are initiated when i browser http://localhost/DrasticTools/ExampleGrid1.php first time.
Is there any thing to configure in js files.
Thanks
 dd - 2010-04-08 10:59:53 - In reply to message 3 from webdeveloper
There is nothing else you have to configure.
With firebug, go to the Net panel and have a look at the XHR GET request that is generated by your browser.
How does it look. At least the variable op should be one of the GET parameters.
regards,
dd
 webdeveloper - 2010-04-12 10:49:58 - In reply to message 4 from dd
Hi DD,
I try to display DrasticGrid but i can't able to display it.
I found that drasticgrid.js is not being called dynamic to prepare url and $_REQUEST['op'] values.
Please can you explain the installation procedure.
Thanks,
WebDeveloper
 dd - 2010-04-12 20:25:14 - In reply to message 5 from webdeveloper
If you created a table with the data using the sql scripts provided and configured the mysql setting as you did, examplegrid1.php should just work out of the box.
Maybe there is something different in server settings/php/mootools/scripting...
Cannot analyze from this distance.
If the problem persists, either send us a mail (info<at>drasticdata.nl) with the url to your test page (if available to others) or alternatively send us a zip with your configration and we will see what we can do.
dd
 dd - 2010-05-28 19:41:57 - In reply to message 6 from dd
The problem was that PHP was in strict error checking mode.
This is solved in the new release DrasticTools0618.zip
The new release can be downloaded from http://www.drasticdata.nl
DD
|