another mclaren

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Mon Dec 09, 2002 4:37 am    Post subject: another mclaren Reply with quote

genesis inhibitors are: platelet factor 4 sequenced to its rough draft in 2001, fol- AMG0001 Phase II HGF plasmid(PAD
First of all, thank you everyone for your kind wishes. Spent about 6 hours in the hospital ER and then up to the medical floor with Dad. Confirmed it is a fractured hip and will require surger
condensed chromatin which is tran- site flanking the gene of interest in both nonessential genes is feasible and several
In eukaryote cells, nuclear DNA repli- applications include the production of therapeutic and diagnostic proteins having progressive impairment of glucose toler


Last edited by mickey on Tue Sep 07, 2010 10:24 am; edited 2 times in total
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Dec 09, 2002 4:18 pm    Post subject: Re: installation problems Reply with quote

Your problem is that you seem to not understanding how a virtual path maps to a real path.
When you ask for http://yoursite/test.php , you ask to run the file test.php which is located at c:\program files\abyss web server\htdocs . Abyss Web Server won't guess (unless you tell) it that your files are in another folder. So read our "Getting Started" chapter in the documentation if you doesn't master the way virtual paths are converted to real paths and put your test.php in the htdocs folder for now. It will work.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Mon Dec 09, 2002 11:53 pm    Post subject: Re: installation problems Reply with quote

That much I do understand and the webserver itself works fine, normal HTML pages I can get to show up fine, as they are all located in the htdocs file. The problem that I have is to get the php documents working (these I have also put in the htdocs file) but I must be missing something as having followed all the instructions as above they don't show...
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 10, 2002 1:29 am    Post subject: Re: installation problems Reply with quote

mickey wrote:
That much I do understand and the webserver itself works fine, normal HTML pages I can get to show up fine, as they are all located in the htdocs file. The problem that I have is to get the php documents working (these I have also put in the htdocs file) but I must be missing something as having followed all the instructions as above they don't show...

Have you followed the instructions in http://www.aprelium.com/abyssws/php.html carefully? Check that the path / is declared in the CGI Paths table. If not, add it.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Tue Dec 10, 2002 2:00 am    Post subject: Reply with quote

I have followed the instructions on http://www.aprelium.com/abyssws/php.html Very, Very carefully more than once, but just incase have just been through them again to no avail, I have double checked that the CGI path is declared as / and it is. But still the same error message...any other surgestions please?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 10, 2002 2:43 am    Post subject: Reply with quote

mickey wrote:
I have followed the instructions on http://www.aprelium.com/abyssws/php.html Very, Very carefully more than once, but just incase have just been through them again to no avail, I have double checked that the CGI path is declared as / and it is. But still the same error message...any other surgestions please?

mickey, please be more accurate when describing an error. Help us to help you. You said at first PHP doesn't show up and now you say I have an error message. In computers, these two aren't the same and if you get an error message, it would be better to tell us exactly the message you get for example, in which conditions, what is the script, etc...
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Tue Dec 10, 2002 11:26 am    Post subject: Reply with quote

I did say...The error message that I am getting is 'Error 404 Not found'
there is a horizontal line with 'Abyss Web Server X1
© Aprelium Technologies - 2001-2002' underneath

I thought that this was an error message generated by the web server not the php, which is why I said that php did not show up.

the page that I am trying to link to is 'test.php', (which is saved in htdocs) and which contains the following script:

<?php

phpinfo();

?>



the condition is when I put 'http://localhost/test.php' into the web browser.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 10, 2002 1:43 pm    Post subject: Reply with quote

mickey wrote:
I did say...The error message that I am getting is 'Error 404 Not found'
there is a horizontal line with 'Abyss Web Server X1
© Aprelium Technologies - 2001-2002' underneath

I thought that this was an error message generated by the web server not the php, which is why I said that php did not show up.

the page that I am trying to link to is 'test.php', (which is saved in htdocs) and which contains the following script:

<?php

phpinfo();

?>



the condition is when I put 'http://localhost/test.php' into the web browser.

You should put the test.php file in your documents path. By default it is htdocs/ but if you changed it, you should put your test.php in the new path you set.
You seem to not understand how the server maps the virtual paths to real one. Please read our "Getting Started" chapter in the documentation to understand that topic.
If you are new to web servers, you cannot learn things by magic. So please spend sometime reading the documentation. And if you think it isn't necessary, remember that 5 years ago people were paid thousand dollars to install a web server. That means that web servers aren't easy to understand eventhough we did our best to simplify things with Abyss Web Servers. :D
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Tue Dec 10, 2002 3:13 pm    Post subject: re: installing problem Reply with quote

Ok, you've lost me...where I have typed in 'localhost', I don't indicate that I have changed the file holder from htdocs to localhost.

I have been into "Getting Started" as you mentioned (this is what I used to set up my web server) and have seen the file 'setting up a website'. Here it states that to acces the page I need to use 'http://<your host name>'

'If you want to connect to the server from the computer it runs on, you can also use localhost or 127.0.0.1.'

this would mean to me that the address that I would enter would be:

'http://127.0.0.1'
or
'http://localhost'

so are you telling me that I am using the wrong address?

and this is what I have been accessing the pages from and this works for normal html pages. But lets just say for argument sake that I would use my computers ip address 'http://<my ip address>/test.php' this still brings up the same 'Error 404 not found'

Just for the record I have read through all of the associated documents more than once, so to be posting messages in this forum for answers was/is not an easy optiion for me, I am prepared to admit that I may be doing something wrong, and I need help :?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 10, 2002 11:58 pm    Post subject: Re: re: installing problem Reply with quote

OK mickey, let's start from the beginning. When you type http://localhost/test.php (or use 127.0.0.1), the web server needs to know which file you want to access. /test.php is the virtual path of that path. It is virtual because that path doesn't have a real meaning. It is only meaningful inside the web server.
So the web server converst that virtual path to real path. That means it converts it to a path understandable by the operating system.
So if your documents path (this is a parameter in the server configuration) is htdocs/ , /test.php is converted to htdocs/test.php. This new path is a relative path (it doesn't start with the drive letter (c: for example)). So to get the full real path, the web server prepends the root path (another parameter). If your root path is c:\program files\Abyss Web Server, /test.php will be converted to c:\program files\Abyss Web Server\htdocs\test.php .
OK, now if your web server gives you 404 error, that means that after doing the conversion from the virtual path to the real path, it was unable to find a file at that real path.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Wed Dec 11, 2002 6:22 pm    Post subject: Re: installation problems Reply with quote

Quote:
OK, now if your web server gives you 404 error, that means that after doing the conversion from the virtual path to the real path, it was unable to find a file at that real path.


Ok so now that we both know how a virtual path works and how a real path works......and I know for a fact that my computer IS picking up the correct path, as it has no trouble finding test.htm in the same folder that test.php is in ...is there anyone that can tell why it will show test.htm but won't show test.php?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Dec 11, 2002 11:03 pm    Post subject: Re: installation problems Reply with quote

mickey wrote:
Quote:
OK, now if your web server gives you 404 error, that means that after doing the conversion from the virtual path to the real path, it was unable to find a file at that real path.


Ok so now that we both know how a virtual path works and how a real path works......and I know for a fact that my computer IS picking up the correct path, as it has no trouble finding test.htm in the same folder that test.php is in ...is there anyone that can tell why it will show test.htm but won't show test.php?

If you are editing your php file with notepad (or with another program), you
should be aware that it will in some cases add a .txt extension to the file
name. You think you saved test.php, but in fact, you save the file as
test.php.txt .
So open the command line in Windows and extecute the following commands one
by one:
c:
cd C:\Program Files\Abyss Web Server\htdocs\
dir

The last command (dir) should give the listing of the directory. Check that
test.php is there.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Thu Dec 12, 2002 1:03 am    Post subject: Re:Installing Problems Reply with quote

Bingo!

That was the problem, I Thank you very much for your help, I do appreciate it.

But can I just say that if you had taken me seriously in the first place and listened to what I was saying, instead of being such a smart arse and quoting to me the mantra about bloody paths virtual or other wise when I told you many, many times that this was not the problem we could have been here many days ago.

Post No.2.....
Quote:
That much I do understand and the webserver itself works fine, normal HTML pages I can get to show up fine, as they are all located in the htdocs file. The problem that I have is to get the php documents working (these I have also put in the htdocs file) but I must be missing something as having followed all the instructions as above they don't show...


Thanks again! :D
Back to top View user's profile Send private message
TheLinker
-


Joined: 05 Apr 2002
Posts: 165
Location: Oslo, Norway

PostPosted: Thu Dec 12, 2002 3:12 pm    Post subject: Re:Installing Problems Reply with quote

mickey wrote:
But can I just say that if you had taken me seriously in the first place and listened to what I was saying, instead of being such a smart arse and quoting to me the mantra about bloody paths virtual or other wise when I told you many, many times that this was not the problem we could have been here many days ago.

There is nothing wrong in the way aprelium responded to your questions. They did take you very seriously and answered according to available information from you.

The fact that aprelium uses so much of their valueable time to answer all these questions is truly amazing. It's not their job to teach us how the internet works, network configuration, basic error checking and so on. If we, the users, decide to install and use their software, it's our responsibility to upgrade our own knowledge regarding webserver related topics.

Remember... we get both the software AND the support for free.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Dec 13, 2002 11:38 am    Post subject: Re:Installing Problems Reply with quote

mickey wrote:
But can I just say that if you had taken me seriously in the first place and listened to what I was saying, instead of being such a smart arse and quoting to me the mantra about bloody paths virtual or other wise when I told you many, many times that this was not the problem we could have been here many days ago.

Mickey, we're sad to know that you considered us not taking your case seriously. The fact that we told you about virtual and real paths was normal. We had to track the error and to eliminate possibilities one by one. Remember also that we have to guess how you use your computer and files sometimes to understand your errors (it is obvious to you because you're in front of your computer but it isn't obvious for us because we have to act like clairvoyants :D )
Anyway, this is not important. The most important is that it works now.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mickey
-


Joined: 09 Dec 2002
Posts: 25

PostPosted: Fri Dec 13, 2002 1:24 pm    Post subject: Re: installation problems Reply with quote

Aprelium,

As I said in my last posting I very much appreciate the help that you have given me since my first posting and indeed the product itself. I also appreciate that you have given both free, It does work now and for that I am very grateful.

Thank you
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group