Menu

#2 Failed opening required 'Pager/Pager.php

v1.0 (example)
open
nobody
5
2007-04-26
2007-04-26
No

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

Discussion

  • Brad

    Brad - 2007-04-30

    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

     
  • Kenneth Pearce

    Kenneth Pearce - 2007-04-30

    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

     
  • Brad

    Brad - 2007-04-30

    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.

     
  • Kenneth Pearce

    Kenneth Pearce - 2007-05-25

    List.php

     
  • Kenneth Pearce

    Kenneth Pearce - 2007-05-25

    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

     
  • Anonymous

    Anonymous - 2007-07-26

    Logged In: YES
    user_id=703968
    Originator: NO

    Sorry. Duplicate information. Ignore.

     
  • Stefan Rådström

    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!

     

Log in to post a comment.

MongoDB Logo MongoDB