Home > Archive > PHP Pear > January 2005 > Re: [PEAR] Re: Structures_DataGrid installation issues: only
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] Re: Structures_DataGrid installation issues: only
|
|
| Sandro 2005-01-28, 8:57 pm |
|
Bertrand a =E9crit:
> I don't really know all what imply require_once SDG
> Could you tell more in which surrounding you play the script:
> PHP version, CLI or from server, what PEAR and SDG versions ?
> OS ? :( BTW what's that this Microsoft-Entourage ? ;)
Server environment:
Solaris v 5.9
Apache v 1.3.31
PHP v 4.3.9
PEAR v 1.3.4 (downloaded again today from pear.php.net since the version of
1.3.4 I had been using which I downloaded about a w ago contained a
different and apparently older version of PEAR.php than today's download (
Today's: PEAR.php,v 1.82.2.6 2005/01/01 05:24:51.
Last w 's: PEAR.php,v 1.89 2005/01/01 05:24:58
And yes, I've tried them both to no avail)
SDG v 0.6.2 (downloaded today from pear.php.net)
I'm not certain what you meant by
> imply require_once SDG
But I have tried using require and require_once as well as specifying full
paths for ALL included files. Neither made a difference. Neither works.
BTW, Entourage is my PIM/email application. I know I know. What can I say,
it's a solid osx app.
Thanks
-sandro
| |
| Andrew Nagy 2005-01-31, 3:59 pm |
| Sandro wrote:
> Server environment:
>
> Solaris v 5.9
>
> apache v 1.3.31
>
> PHP v 4.3.9
>
> PEAR v 1.3.4 (downloaded again today from pear.php.net since the version of
> 1.3.4 I had been using which I downloaded about a w ago contained a
> different and apparently older version of PEAR.php than today's download (
> Today's: PEAR.php,v 1.82.2.6 2005/01/01 05:24:51.
> Last w 's: PEAR.php,v 1.89 2005/01/01 05:24:58
> And yes, I've tried them both to no avail)
>
> SDG v 0.6.2 (downloaded today from pear.php.net)
Sandro, this seems to be fine.
SDG does not have any required dependencies, but you should have the
latest of HTML_Table installed along with the latest Pager package.
Can you try typing the following at the end of your code:
$dg->dump();
And respond with the output
Andrew
| |
| Sandro 2005-01-31, 3:59 pm |
| Andrew wrote:
>=20
> Can you try typing the following at the end of your code:
>=20
> $dg->dump();
Sure thing. Here you go and thanks much...
structures_datagrid Object
(
[renderer] =3D> structures_datagrid_renderer_htmltable Object
(
[header] =3D> 1
[evenRowAttributes] =3D>
[oddRowAttributes] =3D>
[allowEmptyRows] =3D>
[emptyRowAttributes] =3D> Array
(
)
[sortingResetsPaging] =3D> 1
[path] =3D>
[requestPrefix] =3D>
[sortIconASC] =3D>
[sortIconDESC] =3D>
[pager] =3D>
[_dg] =3D> structures_datagrid Object
(
[renderer] =3D> *RECURSION*
[columnSet] =3D> Array
(
)
[recordSet] =3D> Array
(
)
[_dataSource] =3D>
[sortArray] =3D>
[rowLimit] =3D>
[page] =3D> 1
[requestPrefix] =3D>
)
[_table] =3D> html_table Object
(
[_attributes] =3D>
[_tabOffset] =3D> 0
[_tab] =3D>
[_lineEnd] =3D>
[_comment] =3D>
[_autoGrow] =3D> 1
[_autoFill] =3D> =A0
[_structure] =3D> Array
(
)
[_rows] =3D> 0
[_cols] =3D> 0
[_nestLevel] =3D> 0
)
[_rendered] =3D>
)
[columnSet] =3D> Array
(
)
[recordSet] =3D> Array
(
)
[_dataSource] =3D>
[sortArray] =3D>=20
[rowLimit] =3D>=20
[page] =3D> 1
[requestPrefix] =3D>
)
| |
| Andrew Nagy 2005-01-31, 3:59 pm |
| Sandro wrote:
> Andrew wrote:
>
>
>
> Sure thing. Here you go and thanks much...
>
>
This is an empty datagrid object, which tells me that the datagrid is
not getting the data binded to it. This has nothing to do with any
depending classes. Can you ensure that you have the array variable
named correctly?
Can you also ensure that you have error_reporting set to E_ALL as well
as have display_errors on?
Can you check the resulting source code to see if the <table> tags are
printed?
Andrew
| |
| Sandro 2005-01-31, 3:59 pm |
| Andrew wrote:
> This is an empty datagrid object, which tells me that the datagrid is
> not getting the data binded to it. This has nothing to do with any
> depending classes. Can you ensure that you have the array variable
> named correctly?
Yes, the array is named correctly. I am checking the array after the bind
call with a print_r and it's as it should be so the error has to be in the
bind call, no?
> Can you also ensure that you have error_reporting set to E_ALL as well
> as have display_errors on?
I went in and am now explicitly setting them via ini_set and no errors
whatsoever are displaying.
> Can you check the resulting source code to see if the <table> tags are
> printed?
Only the open and close table tags are printing but no tr or td tags.
Thanks
-sandro
|
|
|
|
|