Jump to content

Adding New Hubs Problem [SOLVED]


BBQSteve

Recommended Posts

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...