Help - Search - Members - Calendar
Full Version: Moved servers
Hostony Board > General Support > General Support
smokie
Hi guys had the moved servers email, I have no idea what to do if anything, currently my site is not accessable, I assume this is because it hasnt progated round or do i have to do something, help
Regards
Smokie

site is www.smokiebum.com
smokie
Guys just logged in with the temp https://67.15.12.44:20**
and find there is no disk spaced used where are my sites, have you lost them in the transfer. I do not have ICQ or AIM what ever that is
Alexandre
We've changed your DNS records to the

smokiebum.com. 14400 IN NS dns.hostony.org.
smokiebum.com. 14400 IN NS dns.hostony.com.


Your site will be online soon.

Thank you for your patience.
Alexandre
Your site is working now.

http://smokiebum.com

All your files were tresaferred.

Thank you.
smokie
QUOTE
We've changed your DNS records to the

smokiebum.com. 14400 IN NS dns.hostony.org.
smokiebum.com. 14400 IN NS dns.hostony.com.


Do I have to do anything ?

Getting errors with some of my php stuff for instance
Fatal error: Call to undefined function: virtual() on
[url=http://www.comag.smokiebum.com/]
its a vistor counter, called by
<?php virtual("/******/*****/count.cgi?page=comag&type=image&style=&imgtype=&nbdigits=5"); ?>

there are other errors on my sites as well
Phil
Why were we not informed this was taking place till after the event ????
smokie
Anybody else getting problems after swap and using <php virtual..... > to call try using
<?php include_once("http........."); ?>

dont know if this correct but it works, dont know if I should just use include on its own, will have to do some more checking.
Smokie
Slavik
Make sure you have PHP installed into Apache as a module and not as a CGI. The virtual() function is only available using PHP as a module on apache.

There are two ways that I have generally dealt with including CGI output into PHP scripts. First is to use file() or file_get_contents() and the URL.

$cgiOutput = file_get_contents('http://www.domain.com/cgi-bin/script.cgi?arg=val');

Secondly, in some cases, such as if you are using the CGI search script "HTdig" you can actually just exec() the script with the correct command line options.

I believe that the first method is probably one of the most common. All though it is possible do what you are trying to with the virtual() function, it has many side effects such as flushing the output buffer and the query string is handled a little differently.
smokie
From the ticketform replies

Sorry for the delay in getting back to you.
The reason is that as PHP is installed as CGI module on the server.

There are two ways that you can dealt with including CGI output into PHP scripts. First is to use file() or file_get_contents() and the URL.

$cgiOutput = file_get_contents('http://www.domain.com/cgi-bin/script.cgi?arg=val');

Secondly, in some cases, such as if you are using the CGI search script "HTdig" you can actually just exec() the script with the correct command line options.
Rate It: Bad Poor Not Rated Good Excellent
=======================
Me
EDIT Well it worked before with no problem, are you saying php is now now a cgi module or was it before in which case it still should work. Cant you install php as it was before, surely I can't be the only one with problems as you have changed the setup from the previous servers.

I have no idea how to proceed with what you suggested, just learning php

Sorted by using the call <?php include_once("http........."); ?>

dont know if this correct but it works, dont know if I should just use include on its own, will have to do some more checking.
Thanks for your help

www.comag.smokiebum.com
========

Reply
2005-05-14 19:28:51 Dear
Sorry but php can't be reinstalled as Apache module on this server.
================================

Can I install it then as a module, because the reply on ticket said it couldnt
Sergey
I cannot give you a clarified answer in our forum.
Our support team will give your an answer to the ticket if you submit it in our support system.


----------------------
Sergey
Supervisor.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here