Menu

Fatal Error!!!

Help
Jon
2004-10-16
2012-10-11
  • Jon

    Jon - 2004-10-16

    I'm getting the following error when i try and sign on with an a new user name ::

    Fatal error: Cannot instantiate non-existent class: file_passwd in /home/oranapple/public_html/jwiki/lib/WikiUserNew.php on line 2122

    any thoughts ppl?

     
    • Reini Urban

      Reini Urban - 2004-10-16

      Yes, you miss the pear File_Passwd class.
      Or your system cannot find it.

       
    • Jon

      Jon - 2004-10-16

      okay I get it, although i understood Pear support was compiled into PHP.

      What can I do include the class and any other missing classes?

      Cheers - Jon

       
      • Reini Urban

        Reini Urban - 2004-10-16

        pear is not compiled in.
        you have to install it.

        but most likely you just miss the include_path to your pear directory.

         
    • Jon

      Jon - 2004-10-16

      Yep - I added : include_once('pear/File_Passwd.php'); into WikiUserNew.php and it's now working.

      Is there a more elegant way i should be doing this?

      Cheers - Jon

       
    • Jon

      Jon - 2004-10-18

      im getting this error now ...

      PHP Warnings
      lib/pear/File_Passwd.php:97: Warning[2]: fopen(): open_basedir restriction in effect. File(/etc/passwd) is not within the allowed
      path(s): (/home/applehom:/usr/lib/php:/usr/local/lib/php:/tmp)
      lib/pear/File_Passwd.php:97: Warning[2]: fopen(/etc/passwd): failed to open stream: Operation not permitted

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.