Page 1 of 1

[HELP] Error on line 42

PostPosted: 06. May 2008 01:49
by Wipper
Hi, I post here because i get a strange problem when i run xampp_start.exe it say:

"Please wait [Bite warten] apache.exe: Syntax error on line 42 of \Xampplite\apache\conf\httpd.conf: ServerRoot must be a valid directory"

and it close.

I try to connect to http://localhost but its say "PAGE NOT FOUND"

Please help

Thanks.

PostPosted: 06. May 2008 08:59
by Wipper
Sorry for double post but Anybody know how to fix this or just an opinion or i will stop cheking for a reply evryday :? :(

PostPosted: 06. May 2008 11:15
by Nobbie
Is it really to difficult to understand the error message?
Is it really to difficult to look into the file httpd.conf?
Is it really to difficult to move to line 42 of the file httpd.conf?
Is it really to difficult to check the value of ServerRoot?

It's done within 20 seconds (or 30).

PostPosted: 06. May 2008 13:45
by Wipper
Nobbie wrote:Is it really to difficult to understand the error message?
Is it really to difficult to look into the file httpd.conf?
Is it really to difficult to move to line 42 of the file httpd.conf?
Is it really to difficult to check the value of ServerRoot?

It's done within 20 seconds (or 30).


I will try this but im Really new to Xampp can you explain me furter with detail?

Thanks for your help dude.

Edit : This is what I found on the httpd.conf file at the ServerRoot line (42) :

# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "C:/Documents and Settings/myname/browser/xampplite/apache"

Maybe it will help to find out the problem...

PostPosted: 06. May 2008 14:31
by Nobbie
>I will try this but im Really new to Xampp can you explain me furter with detail?

Forget about Xampp! Simpy understand the message: the pathname is invalid!

Do you have a folder "C:/Documents and Settings/myname/browser/xampplite/apache" on your PC? You dont have - thats what the message says.

So simply create it OR apply a different path.

All in all it looks NOT like a standard Xampp installation. Obviously, you are going to mix Xampp Lite and Xampp or similar. Only you(!) know, what you installed on your PC (as well today as previously).

PostPosted: 06. May 2008 22:18
by Wipper
Nobbie wrote:>I will try this but im Really new to Xampp can you explain me furter with detail?

Forget about Xampp! Simpy understand the message: the pathname is invalid!

Do you have a folder "C:/Documents and Settings/myname/browser/xampplite/apache" on your PC? You dont have - thats what the message says.

So simply create it OR apply a different path.

All in all it looks NOT like a standard Xampp installation. Obviously, you are going to mix Xampp Lite and Xampp or similar. Only you(!) know, what you installed on your PC (as well today as previously).


Well yes i have a folder named like that but there's nothing interested in it that sound like ServerRoot... that's why I'm confused =/

PostPosted: 08. May 2008 13:35
by ifokkema
There will be no file or directory named ServerRoot. This directory IS your Server Root. And Apache cannot find it :)
Are you absolutely sure (please check letter for letter) that the directory exists on your computer.

Ivo

PostPosted: 08. May 2008 14:32
by Wipper
ifokkema wrote:There will be no file or directory named ServerRoot. This directory IS your Server Root. And Apache cannot find it :)
Are you absolutely sure (please check letter for letter) that the directory exists on your computer.

Ivo


Well evrything is easyer with a picture... =/

Image

PostPosted: 08. May 2008 15:18
by ifokkema
Maybe Apache doesn't like spaces in the directory name? What if you just move the xampplite directory to c:\?

PostPosted: 08. May 2008 17:06
by Wipper
ifokkema wrote:Maybe Apache doesn't like spaces in the directory name? What if you just move the xampplite directory to c:\?


I did what you say and it give me that...

Image

thank you for helping me Ivo ;)

hope it will work someday...

PostPosted: 08. May 2008 17:34
by LooseCannon
Hi Wipper.

Did you move the xampplite directory to c:\ AND change that line 42 to: ServerRoot "C:/xampplite/apache"?

EDIT: Ignore me! I've just RTFImage.

PostPosted: 08. May 2008 18:19
by Wipper
LooseCannon wrote:Hi Wipper.

Did you move the xampplite directory to c:\ AND change that line 42 to: ServerRoot "C:/xampplite/apache"?

EDIT: Ignore me! I've just RTFImage.


Ahahh!! I love you dude :D

Xampp now running, i forgot to change the path :)

Thanks evrybody :D

PostPosted: 09. May 2008 08:07
by ifokkema
Cool :D

PostPosted: 12. May 2008 12:56
by LooseCannon
Hehe, I very pleased that you didn't do as I suggested and ignore me! :D

PostPosted: 13. May 2008 08:15
by ifokkema
LooseCannon wrote:Hehe, I very pleased that you didn't do as I suggested and ignore me! :D

:lol: