Menu

PHP Prado incompatibility

Help
2008-11-20
2013-05-01
  • Marijn Verkerk

    Marijn Verkerk - 2008-11-20

    Hi there!

    I had this question before, so the forum might be a nice place to give my response.

    This error is due to some incompatibility with PHP 5.0.4 and the old Prado version SVNManager is using.

    If you really need this software, downgrade PHP to 5.0.4. I'm using PHP 5.2.6-2ubuntu4 with Suhosin-Patch 0.9.6.2 which is working fine as well.

    Sorry for the inconvenience!

    Marijn

    Hello Marijn,
    I've installed SVNManager. It looks very nice but doesn't work for me :(
    When I'm trying to edit User/Group Privileges just I choose a Path I got blank screen of death.
    httpd error_log:

    [Thu Nov 20 17:09:19 2008] [error] [client 10.100.102.113] PHP Fatal error:  Argument 1 passed to TComponent::addChild() must be an instance of TComponent, called in /var/www/svnmanager/svnmanager/RepositoryModule/GroupPrivilegesEditPage.php on line 48 and defined in /var/www/svnmanager/prado-2.0.3/framework/TComponent.php on line 267, referer: http://svnmanager.novades/index.php?page=Repository:GroupPrivilegesEditPage&RepositoryID=1

    Please help me to resolve the issue.

    Thanks a lot.

    --
    Best Regards,
    Vitaly

     
    • Vitaly Kichenko

      Vitaly Kichenko - 2008-11-21

      I decided to try to upgrade PHP to v.5.2.6-1 centos5 x64 first (like yours configuration). It still doesn't work but I got the error on a browser screen.

      Fatal Error
      [4096] Argument 1 passed to TComponent::addChild() must be an instance of TComponent, instance of __PHP_Incomplete_Class given, called in /var/www/svnmanager/svnmanager/RepositoryModule/GroupPrivilegesEditPage.php on line 48 and defined (@line 267 in file /var/www/svnmanager/prado-2.0.3/framework/TComponent.php).
      Debug Backtrace

      #1 TComponent.php:267 -- pradoErrorHandler(...)
      #2 GroupPrivilegesEditPage.php:48 -- TComponent->addChild(...)
      #3 TControl.php:406 -- GroupPrivilegesEditPage->onInit(...)
      #4 TPage.php:1070 -- TControl->onInitRecursive(...)
      #5 TPage.php:940 -- TPage->onInitRecursive(...)
      #6 TApplication.php:483 -- TPage->execute()
      #7 index.php:5 -- TApplication->run()

      So you suggest to downgrade PHP to 5.0.4.
      Nothing else?

       
      • Marijn Verkerk

        Marijn Verkerk - 2008-11-23

        This is odd. I have tried to change / add user and group privileges and it all works fine! Maybe this has to do with your 64 bit system (that's a difference).

        I'm using PHP 5.2.6-2ubuntu4 with Suhosin-Patch 0.9.6.2

        Anyone an idea?

         

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.