|
 JL Griffin - 2011-10-05 15:46:06
Hi all,
I am trying to get the datagrid to work with my database, i have edited the file:
Examplemysqlconfig.php
and inserted my database info.
however when i run the scrript i get the following error:
Notice: Undefined property: drasticSrcMySQL::$conn in /var/www/grid/drasticSrcMySQL.class.php on line 167
I cannot get the error to go away. if i comment out the line 167, i recieve a blank page with no error.
Please advise.
-JL Griffin
 JL Griffin - 2011-10-05 16:14:02 - In reply to message 2 from JL Griffin
ok, so i tried to run the page using firebug with 167 commented out and firebug gives the following error:
drasticGrid is not defined
[Break On This Error] var thegrid = new drasticGrid('grid1', {
index.php (line 14)
Please Advise,
JL Griffin
 cogmt - 2012-05-24 14:45:15 - In reply to message 3 from JL Griffin
I am getting the same thing.
Notice: Undefined property: drasticSrcMySQL::$conn in /opt/lampp/htdocs/drasticSrcMySQL.class.php on line 167
I am running XAMPP and just put version 0623 on. It has been a few years since I last used this with no problems. So it is not making sense as I believe I have it configured correctly. Can anyone advise?
 Davelouie Lingue - 2013-06-14 05:51:33 - In reply to message 4 from cogmt
Just add a line
public $conn;
on the public area
it will work
it gives error because the variable is missing so just add
public $conn;
 dd - 2013-06-14 07:26:28 - In reply to message 5 from Davelouie Lingue
Hi Davelouie,
Thanks for mentioning this.
We just made a new release (version number 0624) where we added the missing variable.
regards,
dd
 JL Griffin - 2011-10-05 15:46:47
Hi all,
I am trying to get the datagrid to work with my database, i have edited the file:
Examplemysqlconfig.php
and inserted my database info.
however when i run the scrript i get the following error:
Notice: Undefined property: drasticSrcMySQL::$conn in /var/www/grid/drasticSrcMySQL.class.php on line 167
I cannot get the error to go away. if i comment out the line 167, i recieve a blank page with no error.
Please advise.
-JL Griffin
|