Fatal error: Class 'Pager' not found

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
highjo
Forum Contributor
Posts: 118
Joined: Tue Oct 24, 2006 1:07 pm

Fatal error: Class 'Pager' not found

Post by highjo »

hello there!
i'm developing a application that use the pear pager class.After having error on include file file not found,i've asked the tech team of the host and received as response that i should upload it myself.I copy the xampp php/pear/pager to the production and referenced it to the file that use it.on the development i've changed the pager name of the folder i copy from xampp to make sur that the it's this one the application is using rather than the xampp one.then on the production it just show the subjet of this topic.
i change the folder name to Pager in the document root to be able to do :include 'Pager/Pager.php';
still the same error.
Has someone has a tip or has experienced this? Please let me know.Thanks
User avatar
highjo
Forum Contributor
Posts: 118
Joined: Tue Oct 24, 2006 1:07 pm

Re: Fatal error: Class 'Pager' not found

Post by highjo »

come on guys! need your point of view.i've google for it and found a lot of approaches,i've selected 3.but honesty don't know which one is safer.
one use command line to install from local machine:http://greg.chiaraquartet.net/archives/ ... -host.html

one other uses go-pear :http://pear.php.net/go-pear
and one other :http://articles.techrepublic.com.com/51 ... 63311.html
i just dont want to mess up with others files on the same host.need your help.thanks
Post Reply