Interesting. I get nothing when I view the graphs with IE 9. If I use the F12 Developer Tools to change the User Agent String to Firefox or Chrome it works fine. If I try IE8 or IE7 modes all of OAv2 is messed up.

OK, so I fired up IE8.As long as you are using the actual IE8 (browser / document) mode, page's display fine.My browser had defaulted to another mode (not sure which - I don't really care) and wouldn't display the left side menu. It was very broken. Pressed F12 and checked the mode(s) - reset them and all fine.HOWEVER - disk graphs do not seem to appear. Will see what I can do before beta2 is released.

_________________Support and Development hours available from Opmantek.Please consider a purchase to help make Open-AudIT better for everyone.

If anyone has any idea why IE would not be generating / accepting / reformatting / whatever else, the generated code, feel free to comment. Any help or pointers appreciated.

For what it's worth - if I paste the generated code from firefox into v_partition_graph, the graph does display in IE8. Obviously this is then hardcoded for that exact server - but it proves it will render correctly if I can get it there in the first place... grrrr.

_________________Support and Development hours available from Opmantek.Please consider a purchase to help make Open-AudIT better for everyone.

It seem's the entire code block below is not being executed when the page is served to IE. WTH ? The PHP output (the javascript variables) are not appearing in the source of a page viewed in IE. They are being displayed when the source of a Firefox page is being viewed. Very weird. The page in question is v_partition_graph.php.

Controller "main", Function "disk_graph" calls Model "m_partition", Function "get_partition_graph".That returns the data to main which then calls the view "v_partition_graph".

What's weird is that is works for Firefox. By my reasoning, it should be working for IE or any other browser. This is all calculated THEN sent to the browser. The browser just receives the data. Why the PHP code in v_partition_graph is not being executed when being called by IE is a complete mystery to me.Even dumping in a "print_r($query);" into v_partition_graphs reports that $query is an empty array. How can this be when it is a data filled array when viewed in Firefox.

Call me stumped...

_________________Support and Development hours available from Opmantek.Please consider a purchase to help make Open-AudIT better for everyone.

I tested a bit and sometimes when switching modes in IE the partition_id value would get set to 0 rather than the proper value and $query would then be empty because it's not finding any data. I think this is because of weird caching issues with IE.

After messing with it a bit I decided to go a bit lower in the chain. I replaced jqplot with the latest from the devel site and added the excanvas.js for IE less than 9. The graphs are now displayed with IE 9 in it's various modes as long as I have made sure that I'm not affected by the caching problem noted above and IE doesn't have any data to graph.

So this is what I did.Downloaded the latest jqplot.Extracted archive.Renamed dist directory to jqplot.Replaced OAv2\www\theme-tango\tango-files\jquery\js\jqplot with new jqplot.Added excanvas call to OAv2\code_igniter\system\application\views\theme-tango\v_partition_graph.php.

Tested the disk usage graphing which seems to work. Or not if you do the same and it doesn't work. Didn't test anything else so the above steps could break all kinds of other things. That's for Mark to fix.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum