Well I finally stumbled around long enough to find a solution to my problem. In the event anybody else is having the same issue which seems doubtful from the lack of interest in my posts on the subject I am posting the solution I found.
First I manually removed my custom module which wasn't too bad and is documented in another thread.
That having not solved the issue in my case despite seeming to help others with a similar problem, I dove deeper into the problem. After digging around it seems my problem was being caused by the option Subpanel Tabs being selected on the MyAccount page under Layout Options. Simply unchecking this option solved the problem. Since we didn't use them anyway thats as far as I am going for now. Long story short it added the following code to the detailview which seemed to have a problem in the Tasks module. I tried to duplicate the issue another system but it didn't have the same result. With that option selected my installation had additional code that the other did not when viewing the soucrce of the output html.
Code:
<br />
<b>Warning</b>: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in <b>/var/www/VantageCRM/include/SubPanel/SugarTab.php</b> on line <b>73</b><br />
<br />
<b>Warning</b>: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in <b>/var/www/VantageCRM/include/SubPanel/SugarTab.php</b> on line <b>76</b><br />
<br />
<b>Warning</b>: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in <b>/var/www/VantageCRM/include/SubPanel/SugarTab.php</b> on line <b>90</b><br />
<br />
<b>Warning</b>: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in <b>/var/www/VantageCRM/include/SubPanel/SugarTab.php</b> on line <b>91</b><br />
<script>
SUGAR.subpanelUtils.currentSubpanelGroup = 'All';
SUGAR.subpanelUtils.subpanelMoreTab = '';
SUGAR.subpanelUtils.subpanelMaxSubtabs = '12';
SUGAR.subpanelUtils.subpanelHtml = new Array();
SUGAR.subpanelUtils.loadedGroups = Array();
SUGAR.subpanelUtils.loadedGroups.push('All');
SUGAR.subpanelUtils.subpanelSubTabs = new Array();
SUGAR.subpanelUtils.subpanelGroups = new Array();
SUGAR.subpanelUtils.subpanelGroups[''] = [];
SUGAR.subpanelUtils.subpanelTitles = {};
SUGAR.subpanelUtils.tabCookieName = get_module_name() + '_sp_tab';
SUGAR.subpanelUtils.showLinks = false;
SUGAR.subpanelUtils.requestUrl = 'index.php?to_pdf=1&module=MySettings&action=LoadTabSubpanels&loadModule=Tasks&record=4b2aafc2-d6d5-46f9-abb6-47b35c36c354&subpanels=';
</script>
<ul class="subpanelTablist" id="groupTabs">
<li id="_sp_tab">
<a class="current" href="javascript:SUGAR.subpanelUtils.loadSubpanelGroup('');"></a>
</li>
</ul>
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="subpanelTabForm" style="border-top: 0px none; margin-bottom: 4px;">
<tr>
<td> Other code showing up in my install that is not in the other system that I cannot identify as being related to anything I installed is
Code:
<script type="text/javascript" src="include/SubPanel/SubPanelTiles.js?s=5.0.0b&c="></script><script>
if(document.DetailView != null &&
document.DetailView.elements != null &&
document.DetailView.elements.layout_def_key != null &&
typeof document.DetailView.elements['layout_def_key'] != 'undefined'){
document.DetailView.elements['layout_def_key'].value = 'Tasks';
}
</script>
<ul class="noBullet" id="subpanel_list"><li style="height: 5px" class="noBullet"> </li></ul> <script>
var SubpanelInit = function() {
SubpanelInitTabNames([""]);
}
var SubpanelInitTabNames = function(tabNames) {
subpanel_dd = new Array();
j = 0;
for(i in tabNames) {
subpanel_dd[j] = new ygDDList('whole_subpanel_' + tabNames[i]);
subpanel_dd[j].setHandleElId('subpanel_title_' + tabNames[i]);
subpanel_dd[j].onMouseDown = SUGAR.subpanelUtils.onDrag;
subpanel_dd[j].afterEndDrag = SUGAR.subpanelUtils.onDrop;
j++;
}
YAHOO.util.DDM.mode = 1;
}
currentModule = 'Tasks';
YAHOO.util.Event.addListener(window, 'load', SubpanelInit);
</script> <!-- crmprint --><script> if(window.addEventListener){
window.addEventListener("load", checkAlerts, false);
}else{
window.attachEvent("onload", checkAlerts);
} As I said the elimination of Subpanel Tabs solved my problem and I can live with it, but I am offering this info in case someone else can identify what this code is or has a similar problem.
Bookmarks