Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Internal page/file references
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Internal page/file references
Internal page/file references
13-01-2009 12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am in the process of converting my Frontpage site to work on the new Plesk host.
The new site is at gladman.plushost.co.uk, the old site being at fp.gladman.plus.com.
But I am having a problem in that none of my internal references work and I would be very grateful for any advice people can offer on what is going wrong.
All my internal references are based on a PHP variable $r that is set at the start of each page (which I have echoed for testing):
<?php
$r = $_SERVER['DOCUMENT_ROOT'];
$rt = $r . '/mysite/';
echo $r . ' ---- ';
echo $rt . 'borders/left.php';
?>
this outputs:
/var/www/vhosts/gladman.plushost.co.uk/httpdocs
----
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php
(without the newlines), the second reference being the location of my substitute PHP include for my old Frontpage left border.
But when I later use this address in this PHP include:
<?php include($rt . 'borders/left.php'); ?>
it fails saying:
Warning: include() [function.include]: Unable to access
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php
in
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/index.php on line 13
Warning: include(/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php)
[function.include]: failed to open stream: No such file or directory in
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/index.php on line 13
And yet the directory and files all seem ok.
I realise there are better ways of doing this but this is a quick and dirty translation of an existing Frontpage site.
Any advice will be much appreciated.
best regards,
Brian Gladman
The new site is at gladman.plushost.co.uk, the old site being at fp.gladman.plus.com.
But I am having a problem in that none of my internal references work and I would be very grateful for any advice people can offer on what is going wrong.
All my internal references are based on a PHP variable $r that is set at the start of each page (which I have echoed for testing):
<?php
$r = $_SERVER['DOCUMENT_ROOT'];
$rt = $r . '/mysite/';
echo $r . ' ---- ';
echo $rt . 'borders/left.php';
?>
this outputs:
/var/www/vhosts/gladman.plushost.co.uk/httpdocs
----
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php
(without the newlines), the second reference being the location of my substitute PHP include for my old Frontpage left border.
But when I later use this address in this PHP include:
<?php include($rt . 'borders/left.php'); ?>
it fails saying:
Warning: include() [function.include]: Unable to access
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php
in
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/index.php on line 13
Warning: include(/var/www/vhosts/gladman.plushost.co.uk/httpdocs/mysite/borders/left.php)
[function.include]: failed to open stream: No such file or directory in
/var/www/vhosts/gladman.plushost.co.uk/httpdocs/index.php on line 13
And yet the directory and files all seem ok.
I realise there are better ways of doing this but this is a quick and dirty translation of an existing Frontpage site.
Any advice will be much appreciated.
best regards,
Brian Gladman
Message 1 of 7
(1,313 Views)
6 REPLIES 6
Re: Internal page/file references
13-01-2009 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jim:quote
I found the problem - I'm sorry to have bothered you.
Brain Gladman
I found the problem - I'm sorry to have bothered you.
Brain Gladman
Message 2 of 7
(474 Views)
Re: Internal page/file references
13-01-2009 1:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jim:quote
Moving from the FrontPage server to the new platform has gone well and the new platform looks to be a nice step forward.
I am now left with how to take down my FrontPage site whilst leaving a redirection message in place.
What will happen to the old fp.username.plus.com addresses when the FrontPage host is turned off?
I ask because it might make a difference to what I say in my message on the old server.
Brian Gladman
Moving from the FrontPage server to the new platform has gone well and the new platform looks to be a nice step forward.
I am now left with how to take down my FrontPage site whilst leaving a redirection message in place.
What will happen to the old fp.username.plus.com addresses when the FrontPage host is turned off?
I ask because it might make a difference to what I say in my message on the old server.
Brian Gladman
Message 3 of 7
(474 Views)
Re: Internal page/file references
13-01-2009 3:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you disable frontpage in the Member Centre, the fp.username.plus.com address will be removed from DNS after a day or two.
Message 4 of 7
(474 Views)
Re: Internal page/file references
13-01-2009 5:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thank you Ben for your answer about what happens when I turn off the FrontPage Server. However, I am a bit more worried about what happens when you turn it off 
For example, it would be nice to know the answers to the following questions:
1) PAYH is a trial at the moment - does this mean that users should not rely on it and should keep their old web site(s) in place?
2) Will it be possible after the Frontpage server has been switched off to have the address fp.username.plus.com redirected to username.plushost.co.uk/xxx for a reasonable period after switch-off.
3) If not, how much overlap will there be between PAYH going live and the FP server being withdrawn (during which time a redirection notice can be hosted).
To be honest I don't want to maintain two sites as I am now doing - I would like to replace my site on the FP server with a redirection message right now, so that my users have as much time as possible to see the change. But if I do this I would be relying on a trial service, which doesn't sound sensible unless it is clear that it is a trial that will definitely go live.
best regards,
Brian Gladman

For example, it would be nice to know the answers to the following questions:
1) PAYH is a trial at the moment - does this mean that users should not rely on it and should keep their old web site(s) in place?
2) Will it be possible after the Frontpage server has been switched off to have the address fp.username.plus.com redirected to username.plushost.co.uk/xxx for a reasonable period after switch-off.
3) If not, how much overlap will there be between PAYH going live and the FP server being withdrawn (during which time a redirection notice can be hosted).
To be honest I don't want to maintain two sites as I am now doing - I would like to replace my site on the FP server with a redirection message right now, so that my users have as much time as possible to see the change. But if I do this I would be relying on a trial service, which doesn't sound sensible unless it is clear that it is a trial that will definitely go live.
best regards,
Brian Gladman
Message 5 of 7
(474 Views)
Re: Internal page/file references
14-01-2009 3:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Although PAYH is a trial for Plusnet users at the moment, it has been in production for a while now hosting sites for direct PAYH customers. It's not quite as resilient as the CCGI platform in some ways, but in many ways it is, and I'd say it's probably more stable than the frontpage platform, which is pretty flaky to be honest.
So in answer to point 1, I'd be happy to rely on it.
I've not seen the plan for what will happen about fp.username.plus.com after frontpage is decommissioned, but I would be surprised if we kept it going. We could point it somewhere else in theory, but it would take a fair bit of work in our backend systems.
As for overlap, we always give at least 30 days notice before withdrawing a service, so the best thing for you to do would be to move over to the PAYH site and redirect your FP page to the new PAYH one.
So in answer to point 1, I'd be happy to rely on it.
I've not seen the plan for what will happen about fp.username.plus.com after frontpage is decommissioned, but I would be surprised if we kept it going. We could point it somewhere else in theory, but it would take a fair bit of work in our backend systems.
As for overlap, we always give at least 30 days notice before withdrawing a service, so the best thing for you to do would be to move over to the PAYH site and redirect your FP page to the new PAYH one.
Message 6 of 7
(474 Views)
Re: Internal page/file references
14-01-2009 4:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thank you Ben, that is most helpful. In order to give my users as much notice as possible, I will do as you suggest and replace my FP site with a simple redirection message.
Brian Gladman
Brian Gladman
Message 7 of 7
(474 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Internal page/file references