Molkobain / itop-datacenter-view

Extension for iTop: Easily manage & visualize your racks, enclosures and datacenter devices.
27 stars 14 forks source link

Error installing #5

Closed sskinnider closed 5 years ago

sskinnider commented 5 years ago

When installing on iTop v2.3.3.3159 error is thrown

image

Fatal error: Can't use method return value in write context in /var/www/html/itopdev2/env-production/molkobain-datacenter-view/common/datacenterview.class.inc.php on line 384

Molkobain commented 5 years ago

Hi!

Thanks for the feedback ! This might be due to your PHP version, I guess it's older than 5.6?

Can you tell which version of the extension you are trying to install and how you downloaded or? I'll see what I can do :)

sskinnider commented 5 years ago

Absolutely correct, I'm at 5.4. Time to upgrade. Thanks!

Molkobain commented 5 years ago

Actually, I just find that the extension must be compatible with iTop 2.4+ as one of its dependencies uses some functions that were introduced in iTop 2.4...

So the PHP 5.4 is not the only issue, you will have another after. I'm changing the extension documentation. Thanks for your help!

Molkobain commented 5 years ago

Release v1.3.1 (forcing iTop 2.4+) out! :)