Menu

#2 Call-time pass-by-reference has been removed in /var/www/vcmdb/classes/vcmdb.inc.php

1.0
closed
2014-04-25
2014-02-14
No

Hello, with vcmdb freshly checkout from the repo, there is an error when opening index.php:

PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/vcmdb/classes/vcmdb.inc.php on line 1352

It seems to be caused by Freemind.

Discussion

  • Vincent PAGES

    Vincent PAGES - 2014-02-14

    Ok found the problem. This is done by PHP 5.4. I can't pass variable by references into a function.

    I'll modify the code to solve the problem. I'll make the change next week as I remember there is an other place in the code where I use this functionnality.

     
  • Éric Gillet

    Éric Gillet - 2014-02-14

    Spot-on I think, on debian php is stuck on 5.4. Looking forward for the update !

     
  • Vincent PAGES

    Vincent PAGES - 2014-02-14

    I finally found the time to make the update today. Can you check on your side ?

     
  • Éric Gillet

    Éric Gillet - 2014-03-19

    Oops, forgot to comment, sorry.

    Everything is working fine !

     
  • Vincent PAGES

    Vincent PAGES - 2014-04-25
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB