Re: Problem after moving servers
| From: | Evert Lammerts | Date: | Sun, 31 Aug 2008 10:09:02 +0000 |
| Subject: | Re: Problem after moving servers | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45276@lists.php.net to get a copy of this message | ||
Can you send over the function ProfileList::render? And you should
make sure that whenever the render() function of one of ProfileList's
subclasses is called, the value of $count is 30... It seems the most
likely source of your problem to me. To check the value of $count you
can do and echo $count; or var_dump($count); in the
ProfileList::render() function.
Make sure to always include the list in your replies. This way people
can reuse solutions from the archives.
Evert
On Sun, Aug 31, 2008 at 11:21 AM, Gav <ipv6guru@gmail.com> wrote:
> Hi All,
>
> I moved a site across from one server to another, and now there is one thing
> no longer working properly that worked fine on the other. It may turn out to
> be a PHP4 to PHP5 problem, dont know as I cant access now what the other
> server had.
>
> Certain pages on the website were able to render a list of 30 items, since
> the move it now only renders the first item only.
>
> I'm sure you want some code, but before I give that can we determine if I'm
> on the right list - the function does pull items from a database so it is
> sort of related, though I'm not sure it is a db problem.
>
> In the php output page we have
>
> $list->render( $db, $start, COUNT );
>
> Not sure if that is a clue or not, anyway let me know if you me to post all
> the related classes and functions.
>
> Cheers
>
> Gav...
>