Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problem adding peripheral

Help
Jake
2007-10-09
2013-04-25
  • Jake
    Jake
    2007-10-09

    When I click on Peripherals->Add New Peripheral I get this:

    Fatal error: Call to a member function toString() on a non-object in C:\wamp\www\OpenIT-2.2\OpenIT-2.2\inc\classes\Computers.php on line 67

    Can someone explain what the problem is, or point me to a thread that deals with it? I've searched around a bit but have not found anything. Thanks!

     
    • Adam Moore
      Adam Moore
      2007-10-09

      Have you added any Vendors?

       
      • Jake
        Jake
        2007-10-09

        Yes, I have 4 vendors entered, and I can use them when entering a new computer.

         
    • Adam Moore
      Adam Moore
      2007-10-10

      I don't use 2.2. I've based my version off of 3.0rc1, but looking at the code I don't see anything wrong.  What's interesting about the error is that it says Computers.php instead of Peripherals.php.  Can you double check that error?
      If you are just testing it at the moment then I would suggest you use 3.0rc1.  It is pretty stable. 

       
      • Jake
        Jake
        2007-10-11

        I installed 3.0rc1 and it is working perfectly. The 2.2 error was indeed referencing computers.php, so who knows? Anyway, I'm all set. Thanks Adam!

         
    • Adam Moore
      Adam Moore
      2007-10-11

      no problem