I'm running weathermap 0.91 and all was working perfectly until Yesterday.
Yesterday I logged off my workstation and go back at home. This morning I came at work and get the joined message when I tried to use the editor.
I made absolutely no changes to my computer, and I tried to access the editor with 4 others workstations and I get the same error as well.
when I try iy with the cli I got:
Code: Select all
# php editor.php
PHP Warning: Function registration failed - duplicate name - gd_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagearc in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imageellipse in Unknown on line 0
[...same kind of error...]
PHP Warning: Function registration failed - duplicate name - imagepsencodefont in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagepsextendfont in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagepsslantfont in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagepstext in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagepsbbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imagetypes in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - jpeg2wbmp in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - png2wbmp in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - image2wbmp in Unknown on line 0
PHP Warning: gd: Unable to register functions, unable to load in Unknown on line 0
<html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" media="screen" href="editor.css" /> <script src="editor.js" type="text/javascript"></script><title>PHP Weathermap Editor 0.91</title></head><body><div id="nojs" class="alert"><b>WARNING</b> - Sorry, it's partly laziness on my part, but you really need JavaScript enabled and DOM support in your browser to use this editor. It's a visual tool, so accessibility is already an issue, if it is, and from a security viewpoint, you're already running my code on your <i>server</i> so either you trust it all having read it, or you're already screwed.<P>If it's a major issue for you, please feel free to complain. It's mainly laziness as I said, and there could be a fallback (not so smooth) mode for non-javascript browsers if it was seen to be worthwhile (I would take a bit of convincing, because I don't see a benefit, personally).</div><div id="withjs"><div id="dlgStart" class="dlgProperties" ><div class="dlgTitlebar">Welcome</div><div class="dlgBody">Welcome to the PHP Weathermap 0.91 editor.<p><div style="border: 3px dashed red; background: #055; padding: 5px; font-size: 97%;"><b>NOTE:</b> This editor is not finished! There are many features of Weathermap that you will be missing out on if you choose to use the editor only.These include: curves, node offsets, font definitions, colour changing, per-node/per-link settings and image uploading. You CAN use the editor without damaging these features if you added them by hand, however.</div><p>Do you want to:<p>Create A New Map:<br><form method="GET">Named: <input type="text" name="mapname" size="20"><input name="action" type="hidden" value="newmap"><input type="submit" value="Create"></form>OR<br />Open An Existing Map (looking in /var/www/cacti/plugins/weathermap/configs):<ul class="filelist"><li><a href="?mapname=example.conf">example.conf</a> - <span class="comment">Network Overview</span></li>
<li><a href="?mapname=simple.conf">simple.conf</a> - <span class="comment"></span></li>
<li><a href="?mapname=simple.conf.save">simple.conf.save</a> - <span class="comment">(no title)</span></li>
<li><a href="?mapname=test">test</a> - <span class="comment">(no title)</span></li>
<li><a href="?mapname=test.conf">test.conf</a> - <span class="comment">(no title)</span></li>
</UL></div><div class="dlgHelp" id="start_help">PHP Weathermap 0.91 Copyright © 2005-2007 Howard Jones - howie@thingy.com<br />The current version should always be <a href="http://www.network-weathermap.com/">available here</a>, along with other related software. PHP Weathermap is licensed under the GNU Public License, version 2. See COPYING for details. This distribution also includes the Overlib library by Erik Bosrup.</div></div></div></body></html>
Any idea what could be the cause?
Thanks,
Gilles