Failed opening required 'Pager/Pager.php
Brought to you by:
marcomus
Where can I get the Pear (Pager.php) stuff needed to install Home Inventory? Error Message below.
Fatal error: main() [function.require]: Failed opening required 'Pager/Pager.php' (include_path='.:/usr/local/lib/php') in /homepages/2/d196396411/htdocs/WebApplications/home_inventory/htdocs/list.php on line 4
Logged In: YES
user_id=1782143
Originator: NO
I fixed this problem by installing the "Pager" Pear package in the htdocs folder. No setup was needed for the Pear package. I just downloaded, unpacked the folder and uploaded to the htdocs folder. I did have to change the folder name from Pager-2.4.3 to Pager.
http://pear.php.net/package/Pager
Logged In: YES
user_id=1779258
Originator: YES
Resolved paged but am having problems with auth.tpl & Smarty
Warning: Smarty error: unable to read resource: "auth.tpl" in /homepages/2/d196396411/htdocs/WebApplications/Smarty-2.6.18/libs/Smarty.class.php on line 1095
Logged In: YES
user_id=1782143
Originator: NO
the path is not correct in the "list.php" file. one of the top lines sets the path to the "template" directory. Make sure that it is correct and this should fix your problem. Home-inventory has its own directories for smarty. These are the ones you should use. Not the ones that were set up when installing smarty. Hope your not to confused.
List.php
Logged In: YES
user_id=1779258
Originator: YES
Sitll getting errors, did not see template directory in top lines.
ERROR
Fatal error: main() [function.require]: Failed opening required '/homepages/2/db204117583/htdocs/WebApplications/home_inventory/smarty/Smarty.class.php' (include_path='.:/usr/local/lib/php') in /homepages/2/d196396411/htdocs/WebApplications/home_inventory/htdocs/environment.php on line 19
File Added: list.php
Logged In: YES
user_id=703968
Originator: NO
According to a post by the developer, you can get the package from here:
http://pear.php.net/package/Pager
I got this from here:
http://sourceforge.net/forum/forum.php?thread_id=1685535&forum_id=641790
Logged In: YES
user_id=703968
Originator: NO
Sorry. Duplicate information. Ignore.
Logged In: YES
user_id=2032064
Originator: NO
I was puzzled when I got the same message too, but after some Googling I soon found out that I had to install the package php-pager to my Ubuntu Linux system (i.e. sudo apt-get install php-pager). Now all works perfectly fine!