View Full Version : Issue due to more number of Components
I have installed more than 12 components on my mambo site and as the result, the Components dropdown on the administrator panel now comes with the option as "More Components.."
Now when I click on this dropdown link, it list down all the components in big list box. But when I click on any of the component link in the list box, it gives me page not found error. But if I try to access that menu link with URL (something like .../index.php?option=com_akuate&task...) it works.
Can someone please tell me how can I fix this issue?
Thanks in Advance!
Akuate
I have installed more than 12 components on my mambo site and as the result, the Components dropdown on the administrator panel now comes with the option as "More Components.."
Now when I click on this dropdown link, it list down all the components in big list box. But when I click on any of the component link in the list box, it gives me page not found error. But if I try to access that menu link with URL (something like .../index.php?option=com_akuate&task...) it works.
Can someone please tell me how can I fix this issue?
Thanks in Advance!
Akuate
Just a hunch, but... Have you tried doing a global check in and retrying?
Yes, I even tried that but the issue persists. Any help would be appreciated.
Thanks again!
ChaosNo1
07.08.2004, 12:25
Hi,
I dont know why you get this error, but perhaps you can sitestep it with this:
http://www.mambers.com/showthread.php?t=1447
greeting
Sascha
Thanks a lot ChaodNo1!! This works like a charm, but I was thinking if there is a way to make the list box of "More Components..." work, as this is not a permanent fix.
Where should I check for that listbox code? and how should I fix it?
Ok I got the damn bug...
Here is the solution:
File to fix: administrator\components\com_admisc\admin.admisc.h tml.php
Now insert these lines of code (near line 458) just below form declaration:
echo "<script language=\"JavaScript\">
function goSubmit() {
alert('Inside submit');
document.adminForm.action = document.adminForm.link.value;
alert(document.adminForm.link.value);
document.adminForm.submit();
return true;
}
</script>";
Now change these lines:
1. line 457:
echo "<div align=\"left\"><form name=\"adminForm\" method=\"post\" action=\"index2.php\">\n\n";
to
echo "<div align=\"left\"><form name=\"adminForm\" method=\"post\" action=\"\">\n\n";
2. Line 501 and 508 after code insert: change at two places
$link = $row->admin_menu_link ? "'index2.php?$row->admin_menu_link'" : "null";
to
$link = $row->admin_menu_link ? "index2.php?$row->admin_menu_link" : "null";
3. Line 521:
echo "</select> <input type=\"submit\" name=\"Submit\" value=\"Go...\" class=\"button\"></form>";
to
echo "</select> <input type=\"button\" name=\"Submit\" value=\"Go...\" class=\"button\" onclick=\"javascript: goSubmit();\"></form>";
It works for me...
Does it work for you?
Cheers!
Akuate
vBulletin® v3.8.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.