I have tracked down in the code what is causing the problem, however, obviously this is not an error in the code but an error with my linux/PHP install which is the underlying cause.
This is a section from the html source of the broken one, note the error on the last line about Language-Learning mode:-
<div id="wrapper">
<div id="topsection" style="margin: 0 auto; padding: 10px 0;">
<div id="header" style='height: 70px; margin-left: auto; margin-right: auto; padding: 0px 0px 0px 0px; text-align: left;'>
<div style="width:260px; float: left; text-align: left;">
<img src='http://openaudit.aylnews.com/theme-tango/tango-images/logo.png' alt='logo' style='border-width:0px;' />
</div>
<div style="width:100px; float: right; text-align: center;">
<br /><a href="http://openaudit.aylnews.com/index.php/main/edit_user">Administrator<br /></a>
<a href="http://openaudit.aylnews.com/index.php/login/logout"><img id="logout_button" src="http://openaudit.aylnews.com/theme-tango/tango-images/28_button_logout.png" onmouseover="this.src='http://openaudit.aylnews.com/theme-tango/tango-images/28_button_logout_over.png'" onmouseout="this.src='http://openaudit.aylnews.com/theme-tango/tango-images/28_button_logout.png'" alt="" style='border-width:0px;' /></a>
</div>
</div>
<div id="menu" style="float: left; width: 100%; ">
<ul id="nav">
<li><a href='http://openaudit.aylnews.com/index.php/main'>HOME</a></li>
<li><a href='#'>REPORTS</a>
<ul>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/1/1'>Acrobat</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/2/1'>Alerts</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/3/1'>Alerts - New Systems</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/4/1'>Alerts - Software</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/5/1'>Alerts - Software Updates</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/6/1'>Alerts - USB Disks</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/7/1'>AntiVirus</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/8/1'>Audit Dates</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/9/1'>Changes</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/24/1'>Databases</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/26/1'>Dell Systems</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/28/1'>Installed Services</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/30/1'>Installed Software</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/31/1'>Local Administrators</a></li>
<li style="width:200px;"><a href='http://openaudit.aylnews.com/index.php/report/show_report/33/1'>Log Files</a></li>
Language-Learning-Mode, but /usr/OAv2/code_igniter/system/application/views/lang/en.inc not writeable
This is a section from my Windows installation which is working:-
<div id="wrapper">
<div id="topsection" style="margin: 0 auto; padding: 10px 0;">
<div id="header" style='height: 70px; margin-left: auto; margin-right: auto; padding: 0px 0px 0px 0px; text-align: left;'>
<div style="width:260px; float: left; text-align: left;">
<img src='http://localhost/oav2/theme-tango/tango-images/logo.png' alt='logo' style='border-width:0px;' />
</div>
<div style="width:100px; float: right; text-align: center;">
<br /><a href="http://localhost/oav2/index.php/main/edit_user">Administrator<br /></a>
<a href="http://localhost/oav2/index.php/login/logout"><img id="logout_button" src="http://localhost/oav2/theme-tango/tango-images/28_button_logout.png" onmouseover="this.src='http://localhost/oav2/theme-tango/tango-images/28_button_logout_over.png'" onmouseout="this.src='http://localhost/oav2/theme-tango/tango-images/28_button_logout.png'" alt="" style='border-width:0px;' /></a>
</div>
</div>
<div id="menu" style="float: left; width: 100%; ">
<ul id="nav">
<li><a href='http://localhost/oav2/index.php/main'>HOME</a></li>
<li><a href='#'>REPORTS</a>
<ul>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/1/1'>Acrobat</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/2/1'>Alerts</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/3/1'>Alerts - New Systems</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/4/1'>Alerts - Software</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/5/1'>Alerts - Software Updates</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/6/1'>Alerts - USB Disks</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/7/1'>AntiVirus</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/8/1'>Audit Dates</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/9/1'>Changes</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/24/1'>Databases</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/26/1'>Dell Systems</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/28/1'>Installed Services</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/30/1'>Installed Software</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/31/1'>Local Administrators</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/33/1'>Log Files</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/34/1'>MS Frontpage</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/35/1'>MS Office</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/32/1'>MS Office Versions</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/29/1'>MS Project</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/27/1'>MS Suite</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/25/1'>MS Visio</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/23/1'>Orphaned Users</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/22/1'>Partitions</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/21/1'>Reconciliation</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/20/1'>Shares</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/19/1'>Software Keys</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/17/1'>System Details</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/16/1'>System Hardware</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/15/1'>System Locations</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/14/1'>System Manual Export</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/13/1'>System Replacement</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/12/1'>User PC Report</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/11/1'>Web Sites</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/show_report/10/1'>Workstation Details</a></li>
<li style="width:200px;"><a href='http://localhost/oav2/index.php/report/partition_alert/1'>Partition Alerts</a></li>
</ul>
</li>
If I modify the code_igniter\system\application\views\theme-tango\inlude_menu.php file and take out the __() from the report section of the foreach statement. i.e. do :-
<div id="menu" style="float: left; width: 100%; ">
<ul id="nav">
<li><a href='<?php echo base_url()?>index.php/main'><?php echo mb_strtoupper(__('Home'))?></a></li>
<?php if (isset($group_id)){
echo "<li><a href='#'>" . mb_strtoupper(__('Reports')) . "</a>\n";
echo "<ul>\n";
foreach ($menu as $report):
echo "<li style=\"width:200px;\"><a href='" . base_url() . "index.php/report/show_report/" . $report->report_id . "/" . $group_id . "'>" . [color=#FF0000] $report->report_name[/color] . "</a></li>\n";
endforeach;
echo "<li style=\"width:200px;\"><a href='" . base_url() . "index.php/report/partition_alert/" . $group_id . "'>" . __('Partition Alerts') . "</a></li>\n";
echo "</ul>\n";
echo "</li>\n";
} ?>instead of this:-
<div id="menu" style="float: left; width: 100%; ">
<ul id="nav">
<li><a href='<?php echo base_url()?>index.php/main'><?php echo mb_strtoupper(__('Home'))?></a></li>
<?php if (isset($group_id)){
echo "<li><a href='#'>" . mb_strtoupper(__('Reports')) . "</a>\n";
echo "<ul>\n";
foreach ($menu as $report):
echo "<li style=\"width:200px;\"><a href='" . base_url() . "index.php/report/show_report/" . $report->report_id . "/" . $group_id . "'>" . __($report->report_name) . "</a></li>\n";
endforeach;
echo "<li style=\"width:200px;\"><a href='" . base_url() . "index.php/report/partition_alert/" . $group_id . "'>" . __('Partition Alerts') . "</a></li>\n";
echo "</ul>\n";
echo "</li>\n";
} ?>Then the page displays correctly.
From my very limited understanding and the assistance of a colleague the __() is used for localisation as the the "Language-Learning-Mode, but /usr/OAv2/code_igniter/system/application/views/lang/en.inc not writeable" error may suggest.
Funnily enough when I got that page to work I clicked on an item in the list and that error then showed up on the next page:-
[attachment=1]
attachment 3.png [ 18.42 KiB | Viewed 9312 times ]