Menu

Cannot redeclare class user in /var/www/html/

Help
2004-03-25
2004-03-26
  • Nobody/Anonymous

    I think I've followed all the steps to install phpope, but on loading the login site, the error especified in the subject is displayed.
    Please, could someone help me?

     
    • Nobody/Anonymous

      i guess you have a second include of the user class. normaly, the class need only one include in the public_html/index.php file.

      Simply search the line and delete the second include.

       
      • Nobody/Anonymous

        Thank you for your help, but unfortunately, I've already comproved that. userclass.php, the file that contains user class, is declared just once with require_once, and only in index.php.
        I guess if it could be a problem with pear, which also have a user class in /usr/share/pear/case/user.inc. In that case, where is pear user class called?

         

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.