I have added new hubs to our airline, four to be exact. Three work perfectly, but the fourth gives me this error when I click on the link:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'VAA' does not have a method 'kphl' in /home4/virtubu7/public_html/core/classes/MainController.class.php on line 218
All were setup exactly alike, I think. Added to the core_navigation.tpl the same. All mods were made with a cut paste in the files. Any help appreciated. It has to be some small error I can't find. All four are set as hub.
core_navigation mod:
<li><a href="#">Domiciles</a>
<ul class="navigation-2">
<li><a href="<?php echo url('/VAA/kdfw'); ?>">KDFW</a></li>
<li><a href="<?php echo url('/VAA/klax'); ?>">KLAX</a></li>
<li><a href="<?php echo url('/VAA/kord'); ?>">KORD</a></li>
<li><a href="<?php echo url('/VAA/kmia'); ?>">KMIA</a></li>
<li><a href="<?php echo url('/VAA/kjfk'); ?>">KJFK</a></li>
<li><a href="<?php echo url('/VAA/egll'); ?>">EGLL</a></li>
<li><a href="<?php echo url('/VAA/kphx'); ?>">KPHX</a></li> *********New start here
<li><a href="<?php echo url('/VAA/kclt'); ?>">KCLT</a></li>
<li><a href="<?php echo url('/VAA/kphl'); ?>">KPHL</a></li> ********* Problem child
<li><a href="<?php echo url('/VAA/kdca'); ?>">KDCA</a></li>
</ul>
</li>
kphl.tpl file:
v class="bar">KPHL Hub</div>
<div class="box">
<p style="text-align: center;">
</p>
<h2 style="text-align: center;">
Welcome to Philadelphia International Airport</h2>
<p>
</p>
<p style="text-align: center;">
<img alt="Coming Soon" src="http://www.virtualam.../images/TBD.gif" /><img alt="Coming Soon" src="http://www.virtualam.../images/TBD.gif
" /></p>
<p style="text-align: center;">
<img alt="Coming Soon" src="http://www.virtualam.../images/TBD.jpg" /></p>
<strong>Hub Manager : To Be Appointed</strong></p>
<p>
<strong>Email : kphl@virtualamericanusa.com</strong></p>
<p>
</p>
<h2 style="text-align: center;">
KPHX Airport Diagram</h2>
<p>
</p>
<p style="text-align: center;">
<img alt="Coming Soon" src="http://www.virtualam.../images/TBD.jpg" /></p>
<p>
</p>
<p style="text-align: center;">
<img alt="Coming Soon" src="http://www.virtualam.../images/TBD.gif" /></p>
<p style="text-align: center;">
</p>
</div>