For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > Re: Structures_DataGrid installation issues: only returns a blank









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: Structures_DataGrid installation issues: only returns a blank
Andrew Nagy

2005-01-28, 8:57 pm

Sandro wrote:
> Hello
>
> I downloaded Structures_DataGrid because it sounds like it could be a great
> solution however I am having a difficult time trying to get it to work. I
> installed all the required packages and have tried the quick example
> provided in the documentation, as well as some simple examples I have found
> online, but all I ever get is a blank screen (no errors, no inclusion
> warning, nothing); for testing out this package I tried using an assoc array
> as the data source which is supported according to the docs.
>
> I already have several PEAR packages installed and running smoothly
> (HTML_QuickForm, Pager_Sliding, and HTML_Table_Matrix to name a couple) so I
> know that things _should_ work.
>
> I have read the docs, and searched this list but haven't found anything that
> works and apologize if this has been covered before and if I've missed
> something obvious.
>
> Running solaris 5.9, php 4.3.9.
>
> Any thoughts and/or help would greatly appreciated.
>
> Thanks much


You are most not instantiating SDG as a reference:

$dg =& new Structures_DataGrid();

You must use the '&'.

If you are already doing this, post the code that you are using.

Andrew
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com