opendcim / openDCIM

An open source (GPL v3) Data Center Inventory Management (DCIM) application.
http://opendcim.org
305 stars 204 forks source link

Data Center drawings not showing up in dc_stats.php #1475

Closed CharlesCraigDell closed 10 months ago

CharlesCraigDell commented 10 months ago

on line 106 in dc_stats.php $mapHTML="<div class=\"canvas\" style=\"background-image: url('".urlencode($mapfile)."')\"> .urlencode breaks the drawing path in the code. fix is to change the line to $mapHTML="<div class=\"canvas\" style=\"background-image: url('$mapfile')\">

wilpig commented 10 months ago

https://github.com/opendcim/openDCIM/wiki/FAQ#getting-404-trying-to-access-some-linksimages

CharlesCraigDell commented 10 months ago

Thanks. Might want to add that to the install directions.

wilpig commented 10 months ago

You mean like right here?

https://github.com/opendcim/openDCIM/wiki/RHEL#add-a-virtual-host-for-opendcim https://github.com/opendcim/openDCIM/wiki/RHEL#add-a-virtual-host-for-opendcim-1 https://github.com/opendcim/openDCIM/wiki/Ubuntu#add-a-virtual-host-for-opendcim https://github.com/opendcim/openDCIM/wiki/OpenSUSE#add-a-virtual-host-for-opendcim

CharlesCraigDell commented 10 months ago

sorry must be blind or was working off an old directory... could swear I double checked the virtual host file.