Open-AudIT
https://www.open-audit.org/phpBB3/

OAv2 Alpha 4 feedback
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=3794
Page 1 of 1

Author:  4077 [ Wed Sep 22, 2010 9:00 pm ]
Post subject:  OAv2 Alpha 4 feedback

Just one thing up to now:
with Windows 7 and IE8 (also with IE9 beta) I always get the login screen again when I click for "more".
And the menu is on the right side.
I've made a little video about this.
http://www.malerfreunde.com/forum/allg_ ... lpha4.html

4077

*edit*
see attachment

Attachments:
oa2_a4.jpg
oa2_a4.jpg [ 68.12 KiB | Viewed 7842 times ]

Author:  a.arenas [ Thu Sep 23, 2010 2:07 am ]
Post subject:  Re: OAv2 Alpha 4 feedback

OAv2 Alpha 4 - Feedback
===========================

1. No Favicon on pages : Depending on your installation procedures, favicon.ico is missing.
_____________________________________________________________________________
File: application/views/theme-tango/v_template.php
Line [11]
[code]<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" >[/code]
Change to
[code]<link rel="shortcut icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" >[/code]

File: application/views/v_login.php
Insert after line [7]
[code]<link rel="shortcut icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" >[/code]


2. Broken links after adding a system from the menu.
___________________________________________________________________________________
File: application/controllers/system.php
Lines [30][31]
[code]
echo "<a href='/index.php/system'>Back to input page</a><br />\n";
echo "<a href='/index.php'>Front Page</a><br />\n";
[/code]
Change to
[code]
echo "<a href='" . base_url() . "index.php/system'>Back to input page</a><br />\n";
echo "<a href='" . base_url() . "index.php'>Front Page</a><br />\n";
[/code]

3. References to Linux: The correct reference should be GNU/Linux
(uname -o should be used to set the system_os_group).
_______________________________________________________________________________
File: application/controllers/insert_bulk.php
Search / Replace => 'Linux' to 'GNU/Linux'

File: other/OAv2_mysql.sql
Line [1941]
[code]
INSERT INTO `oa_group` VALUES (NULL,'Linux Systems','','SELECT distinct(system.system_id) FROM system WHERE system.man_os_group = \'Linux\' AND system.man_status = \'production\'',1,'Linux','os','','linux');
[/code]
Change to
[code]
INSERT INTO `oa_group` VALUES (NULL,'GNU/Linux Systems','','SELECT distinct(system.system_id) FROM system WHERE system.man_os_group = \'GNU/Linux\' AND system.man_status = \'production\'',1,'GNU/Linux','os','','linux');
[/code]

4. Add some advice on the Notes: Regarding the php.ini addition of date.timezone
________________________________________________________________________________
Altough is a PHP configuration, maybe should be mentioned on the readme.txt file.
php.ini should have a line like

date.timezone = "America/Curacao"

Check the php documentation for detals.

That's it for now. I'm working on the audit_linux.sh script to make it work with the OAv2 database, when I haev something to share I will do right away.

Thanks Mark for a great project!

Author:  Mark [ Thu Sep 23, 2010 11:05 am ]
Post subject:  Re: OAv2 Alpha 4 feedback

[quote]with Windows 7 and IE8 (also with IE9 beta) I always get the login screen again when I click for "more".

This looks to be a CodeIgniter cookie thing. I have played about with it, but can't fix it. It does work in Firefox & IE6. Apparently the settings in config.php called $config['cookie_domain'], et al are affecting this. If anyone wants to try fixing this, it would be appreciated. Most frustrating. I've tried setting the variable 'cookie_domain' to the name of the machine - same result. OK in FF, but not IE8. Damn, damn, damn.

[quote]And the menu is on the right side.
Have checked the video - weird. Will check this when I get home tonight.
FWIW - that page validates 100%, so I am gonna blame IE !!! Doesn't mean I don't have to fix it though...

Thanks for the feedback.

Author:  Mark [ Thu Sep 23, 2010 11:06 am ]
Post subject:  Re: OAv2 Alpha 4 feedback

[quote]1. No Favicon on pages : Depending on your installation procedures, favicon.ico is missing.
2. Broken links after adding a system from the menu.
3. References to Linux: The correct reference should be GNU/Linux
4. Add some advice on the Notes: Regarding the php.ini addition of date.timezone

Awesome - thanks. Will fix these tonight.

Author:  Mark [ Thu Sep 23, 2010 12:01 pm ]
Post subject:  Re: OAv2 Alpha 4 feedback

Man - what a pain in the ass.

Apparently the in built CodeIgniter session class and IE don't like each other.
On top of that, if you're using an internal computer name to access the site, well, that's not a valid W3C URL standard. You have to have at least two "." 's in the URL. So, trying to access the site via http://mycomputer is not strictly valid. Sigh.

So, I found the session hybrid class for CodeIgniter. Combining this with accessing the site via http://www.mypcname.com seems to work in IE. Firefox doesn't give a shit. You also have to put the www.mypcname.com in your /etc/hosts file to make it work (otherwise it obviously will not resolve through normal DNS).

So, the long and the short is - I have it fixed, but to work in IE will require a change to your /etc/hosts file (or your internal DNS).

This does not affect submitting audit results, as that page does not use cookies.

Author:  a.arenas [ Sat Sep 25, 2010 3:56 am ]
Post subject:  Re: OAv2 Alpha 4 feedback

Hello again, I found a little bug on application/theme-tango/v_system_display.php
Line [788].

Codeigniter told me is expecting Double and received a String. (It was a video adapter with 0 Memory, Ultra VNC hook driver)

Change
[code]
<p><label for="video_memory_<?php echo $key->video_id?>"><?php echo __('Memory')?>: </label><span id="video_memory_<?php echo $key->video_id?>"><?php echo number_format($key->video_memory)?> Mb</span>
[/code]
To
[code]
<p><label for="video_memory_<?php echo $key->video_id?>"><?php echo __('Memory')?>: </label><span id="video_memory_<?php echo $key->video_id?>"><?php echo number_format(floatval($key->video_memory))?> Mb</span>
[/code]

I'm working hard on the audit_linux file and I hope I can share my results next week.

Regards,

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/