Jump to content

A very strange issue


rodoy

Recommended Posts

Ok, this is my VA site:

http://www.airlinesofisrael.com/phpvms.full/index.php/

On the right you can see 2 buttons, "Our Fleet" and "Our Hub, Tel Aviv".

Each button should link the a specific page.

The "Our Hub, Tel Aviv" button should link to this page:

http://www.airlinesofisrael.com/phpvms.full/index.php/pages/telaviv

But somehow, there are times that the system itself removes the "index.php" from the address and when I press it I link to this: http://www.airlinesofisrael.com/phpvms.full/pages/telaviv, and of course this page doesnt work without the "index.php". Some does with the "Our Fleet" button.

It seems like the system changes something in the files.

Have anyone got this in the past?

Link to comment
Share on other sites

  • Moderators

Ok, this is my VA site:

http://www.airlineso...full/index.php/

On the right you can see 2 buttons, "Our Fleet" and "Our Hub, Tel Aviv".

Each button should link the a specific page.

The "Our Hub, Tel Aviv" button should link to this page:

http://www.airlineso...p/pages/telaviv

But somehow, there are times that the system itself removes the "index.php" from the address and when I press it I link to this: http://www.airlineso...l/pages/telaviv, and of course this page doesnt work without the "index.php". Some does with the "Our Fleet" button.

It seems like the system changes something in the files.

Have anyone got this in the past?

Are you using pages for your fleet or telaviv? Cause you go over the buttons and you see the link at the bottom of the browser. Make sure you have linked your buttons correctly. Go to admin center Pages/News, click on pages and click on the link and make sure it shows what supposed to. Then check the button link.

Link to comment
Share on other sites

Are you using pages for your fleet or telaviv? Cause you go over the buttons and you see the link at the bottom of the browser. Make sure you have linked your buttons correctly. Go to admin center Pages/News, click on pages and click on the link and make sure it shows what supposed to. Then check the button link.

Agreed.

Also, if you want the pages to be public, make sure within phpVMS, the pages are "enabled".

Just a thought :)

Link to comment
Share on other sites

Are you using pages for your fleet or telaviv? Cause you go over the buttons and you see the link at the bottom of the browser. Make sure you have linked your buttons correctly. Go to admin center Pages/News, click on pages and click on the link and make sure it shows what supposed to. Then check the button link.

These link are beind edited via the skin core files. The link is entered correctly

Jeff, I edit the pages by using the admin panel.

I dont know if you, guys, understand the problem.

When I press one of the buttons, there are time that I directed to this address:

http://airlinesofisrael.com/phpvms.full/pages/fleet

When I should be addressed to this:

http://airlinesofisrael.com/phpvms.full/index.php/pages/fleet

This is the code of the links:

           <div class="sidebar_box"> <[b]a href="pages/fleet"[/b]><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/nightlife.png" alt="Night Life" border="0" /></a> </div>

           <div class="sidebar_box"> <[b]a href="pages/telaviv"[/b]><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/city-zoo.png" alt="City Zoo" border="0" /></a> </div>

You can see that I have inserted the correct path to the correct pages, and if I will add "index.php" to the link in this code I will get this address:

http://airlinesofisrael.com/phpvms.full/index.php/index.php/pages/fleet

This problem happends to my crew too.

Thank you for you help.

Link to comment
Share on other sites

It seems to be working fine for me, but you might want to use these codes instead of what you have posted above since those are showing bb tags, used in forums and blogs.

<div class="sidebar_box"><a href="<?php echo SITE_URL ?>/index.php/pages/fleet"><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/nightlife.png" alt="Night Life" border="0" /></a></div>

<div class="sidebar_box"><a href="<?php echo SITE_URL ?>/index.php/pages/telaviv"><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/city-zoo.png" alt="City Zoo" border="0" /></a></div>

and it is a lot cleaner this way.

Link to comment
Share on other sites

  • Moderators

These link are beind edited via the skin core files. The link is entered correctly

Jeff, I edit the pages by using the admin panel.

I dont know if you, guys, understand the problem.

When I press one of the buttons, there are time that I directed to this address:

http://airlinesofisrael.com/phpvms.full/pages/fleet

When I should be addressed to this:

http://airlinesofisrael.com/phpvms.full/index.php/pages/fleet

This is the code of the links:

   		<div class="sidebar_box"> <[b]a href="pages/fleet"[/b]><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/nightlife.png" alt="Night Life" border="0" /></a> </div>

           <div class="sidebar_box"> <[b]a href="pages/telaviv"[/b]><img src="<?php echo SITE_URL ?>/lib/skins/cityportal/images/city-zoo.png" alt="City Zoo" border="0" /></a> </div>

You can see that I have inserted the correct path to the correct pages, and if I will add "index.php" to the link in this code I will get this address:

http://airlinesofisrael.com/phpvms.full/index.php/index.php/pages/fleet

This problem happends to my crew too.

Thank you for you help.

<div class="sidebar_box"> <[b]a  href="<?php echo url('pages/fleet') ;?>"[/b]><img src="<?php echo SITE_URL  ?>/lib/skins/cityportal/images/nightlife.png" alt="Night Life"  border="0" /></a> </div>

<div class="sidebar_box"> <[b]a  href="<?php echo url('pages/telaviv') ;?>"[/b]><img src="<?php echo SITE_URL  ?>/lib/skins/cityportal/images/city-zoo.png" alt="City Zoo"  border="0" /></a> </div>

Try these two codes, the link to your pages is not going through you site URL

Your code:

<[b]a href="pages/fleet"[/b]>

My code:

 <[b]a  href="<?php echo url('pages/fleet') ;?>"[/b]>

BTW it's not tested. wink.gif

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...