ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

Missing data, does not appear to be loading data for any of the samples? #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copied your samples and tempted to run them in PhoneGap and also in Safires 
2. The sample Html files all display fine. But no data.
3. Does not appear to select a database, nor the sampleSql.sql database

What is the expected output? What do you see instead?
Empty data, All I see is the msg -> loading and a spinning dial.

What version of the product are you using? On what operating system?
openJSGrid_v1_8-1

Please provide any additional information below.

Original issue reported on code.google.com by westdh...@gmail.com on 20 Nov 2011 at 7:44

GoogleCodeExporter commented 9 years ago
If i understood you correct - you should first install database into your SQL 
server, by importing sampleSql.sql.
then you need to amend ajax.php for password and database if necessary:
    mysql_connect("localhost","root","root");
    mysql_select_db("cmi_db");

Original comment by ginger....@gmail.com on 21 Nov 2011 at 10:59

GoogleCodeExporter commented 9 years ago
What about the other samples, that don't use the samplesql.sql. They do not 
display data either.

Sent from my iPad

Original comment by westdh...@gmail.com on 21 Nov 2011 at 2:42

GoogleCodeExporter commented 9 years ago
the example i downloaded form http://square-bracket.com/openjs has only 2 
examples and both are working from database.
besides the sample index isn't html its php.
where did you download the samples from please so i can see what they are?

Original comment by ginger...@gmail.com on 21 Nov 2011 at 3:17

GoogleCodeExporter commented 9 years ago
I enter the scripts from the same page, where you got the download, for the 
other samples. Also are you using phonegap 1.2, I find that the index.php does 
not run in Safire.

Sent from my iPad

Original comment by westdh...@gmail.com on 21 Nov 2011 at 8:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Phonegap does not support PHP
what is Safire?
if you mean Safary, then again you should have web server installed on your 
localhost and run PHP at least.

Original comment by ginger...@gmail.com on 22 Nov 2011 at 10:44