I have a major problem. I have a production box with asterisk@home 2.7 installed. I have upgraded from amp to freepbx on it. Since it is asterisk 1.2 it is the older version of freepbx. (freePBX 2.3.0 alpha) I have already installed capstral, nerdvittels telephone reminders and I have also bought the licenses for Alison 5 simultaneous calls.
Everything worked fine. I installed Teleyapper 4.0 and it worked great. Then I installed telephonebook from wget http://www.highness.com/typhonebook.pbx
Then I wen on to setup to go to module admin in install it locally. But to my horror, this is the message I am getting.
XML error: not well-formed (invalid token) at line 15
So I can not see anything in setup. I can still see CDR reports, Panel and recordings. But I can not see tools or setup.
The address for setup is http://myasteriskip/admin/config.php?type=setup
The address for tools is http://myasteriskip/admin/config.php?type=tool
Error message for both is same:
XML error: not well-formed (invalid token) at line 15
Here is the code in the first few lines in config.php
Here is code
- \n";
$prev_category = '';
foreach ($fpbx_menu as $key => $row) {
if ($amp_conf['USECATEGORIES'] && ($row['category'] != $prev_category)) {
echo "\t\t
- "._($row['category'])." \n"; $prev_category = $row['category']; } $href = isset($row['href']) ? $row['href'] : "config.php?type=".$type."&display=".$key; $extra_attributes = ''; if (isset($row['target'])) { $extra_attributes .= ' target="'.$row['target'].'"'; } echo "\t'._($row['name'])."\n"; } echo "
"._("Not found")."
"; echo ""._("The section you requested does not exist or you do not have access to it.")."
"; break; case 'modules': include 'page.modules.php'; break; case '': if ($astman) { printf( "%s
", dgettext("welcome page", "Welcome to freePBX.") ); $modules_needup = module_getinfo(false, MODULE_STATUS_NEEDUPGRADE); $modules_broken = module_getinfo(false, MODULE_STATUS_BROKEN); if (count($modules_needup) || count($modules_broken)) { echo ""._("Warning: The following modules are disabled because they need upgrading: "); echo implode(", ",array_keys($modules_needup)); echo "
"; } if (count($modules_broken)) { echo ""._("Warning: The following modules are disabled because they are broken: "); echo implode(", ",array_keys($modules_broken)); echo "
"; } echo "", sprintf(dgettext("welcome page","You should go to the Module Admin page to fix these.
"), "config.php?display=modules&type=tool"); echo "%s
", dgettext("welcome page", "You are running Release Candidate 1 of freePBX. This release is a final test before we make the official 2.2.0 freePBX release. We are unaware of any major bugs in this release, and urge users to report any that they find.") ); printf( "%s
" , dgettext("welcome page", "Currently known bugs are maintained on this TRAC page. If you find a bug, please create a bug report (you need to create an account - this is to avoid spammers) and the bug report will immediately appear on the TRAC page so that it can be easily tracked by other users.") ); echo "%s
%s
%s
" , dgettext("welcome page", "If you're new to freePBX, Welcome. Here are some quick instructions to get you started") ); echo ""; printf( dgettext("welcome page", "There are a large number of Plug-in modules available from the Online Repository. This is available by clicking on the Tools menu up the top, then Module Admin, then Check for updates online. Modules are updated and patched often, so if you are having a problem, it's worth checking there to see if there's a new version of the module available."), "config.php?type=tool", "config.php?display=modules&type=tool", "config.php?display=modules&type=tool&extdisplay=online" ); echo "
\n"; echo ""; printf( dgettext( "welcome page", "If you're having any problems, you can also use the Online Support module (you need to install this through the Module Repository first) to talk to other users and the devlopers in real time. Click on Start IRC, when the module is installed, to start a Java IRC client." ), "config.php?type=tool&display=irc", "config.php?display=modules&type=tool&extdisplay=online", "config.php?type=tool&display=irc&action=start" ); echo "
\n"; echo ""; printf( dgettext( "welcome page", "There is also a community based freePBX Web Forum where you can post questions and search for answers for any problems you may be having."), "http://forums.freepbx.org" ); echo "
\n"; print( "" . _("We hope you enjoy using freePBX!") . "
\n" ); } // no manager, no connection to asterisk else { echo ""; echo "
\n"; echo _("Cannot connect to Asterisk Manager with "). "" .$amp_conf["AMPMGRUSER"] . ""; echo "
"; echo _("Asterisk may not be running."); echo "
What went wrong.
Please help me!!! This is really urgent.
Thanks in advance.