Reply to Re: [PHP] problem with the pager class not found

Your name:

Reply:


Posted by Richard Lynch on 04/23/05 01:36

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация