First make the stored images visible in the GLPI output In %glpiroot%/lib/htmlawed/htmlawed.php add ‘; src: data’ in line 47 If there where any previous inline images stored, these should now be visible in the KB. If you have images stored, but they still do not turn up, you might need to replace the ‘denied’ string […]Read More GLPI 9.1.2 fix inline images KB
For version 1.9.2 review: https://sysengineers.wordpress.com/2017/06/27/glpi-9-1-2-fix-inline-images-kb/ GLPI released their new version 0.90.3. With new each release two questions seem to be very persistent. These questions are: How can we change the default notification prefix: [GLPI ] in the email subject. How do we enable images in the KB articles. In this article you will be […]Read More Howto: change the notification subject and allow KB images in GLPI version 0.90.3
Recently I was creating a simple PHP webpage that required an MSSQL connection for a query. I installed the freetds-0.91-15 driver on my Oracle Linux and configured unixODBC-2.2.11-10.el5 appropriately. All went well and I soon had the first results on my page. My next task was to create a simple enough query that would ‘count’ some […]Read More No tuples available at this result index in […]
GLPI-0-84-8 FIX GLPI uses the htmLawed filter to clean inserted HTML code. Documentation on this framework can be found here: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/ Problem with this framework in GLPI is that it does not match image tags properly when they contain inline base64 information. Here is a simple fix to overcome this problem. The htmLawed.php file can […]Read More Fix the inline images -bug- in glpi knowledgebase (htmLawed.php)
Today I ran into a problem. We needed to migrate a huge amount of data from an old SharePoint 2007 content database without the availability of the MOSS front-end. All i had was the database and a corrupted sharepoint install that wasnt going to help me allot. To overcome this problem I decided to write […]Read More Extract all content to disk from a SPS2007 content DB using PHP
A family member asked me if it was possible to use html, php, mysql to mark spots in an image of the human skeleton during an medical anamnesis collection. He wanted this to easily mark the complaint spots of his patients. He also needed to be able to remove marks when they where faulty and […]Read More Draw dots in images using PHP, XMLHttp, Mysql.
When opening the Monitoring > Hosts > Hosts view to view all the available and configured hosts in Centreon 2.1.4 you will get a blank result. This happens because there is a coding error in the following file. /usr/local/centreon/www/include/monitoring/status/Hosts/xml/hostXML.php on line 249 To correct it you need to add a else statement to the if, […]Read More Fixing the monitoring hosts > hosts view in centreon 2.1.4