Re: problem with the pager class not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, April 22, 2005 5:25 pm, Tomás Rodriguez Orta said:
> Hello friends
>  I  try to use the packet pear, but I have a big problem, the IE show me
> the
>  following Error.
>   Fatal error: Class 'Pager' not found in D:\Angerona\paginas\1.php on
> line
> 9
>  require 'Pager.php';
>  the line 9 --->$pager = new Pager($res, $from, $limit);
>  somebody can help me?
>
>  why the class Pager not found if I include_path at the file php.ini?
>
>  PD: I use php over windows.

The rest of the error message should be telling you what PHP is using for
include_path.

Does that match what you expect?

If not, then you don't have php.ini the way it should be.  Check the
location of php.ini in <?php phpinfo();?>

If it *does* match, then maybe your Pager.php file is messed up and the
class is missing a closing bracket, so your script thinks you're still in
the middle of your class definition.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux