Loading...
 
Architecture / Installation

Architecture / Installation


"The XML page cannot be displayed"

posts: 4

Well, I was trying to install TikiWiki offline using MySQL, and the installation process (up until the ponit when I got the error) worked sucessfully. However, when I did as the installation guide directed and followed "Click here to remove the install script and proceed into tiki", the page failed to load and I recieved this error:


"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
----------------------------
Only one top level element is allowed in an XML document. Error processing resource 'http://127.0.0.1/tikiwiki/tiki-index.php'. Line 2, Position 2


Notice: Undefined index: SERVER_HOST in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php on line 997
-^
"

For reference, line 997 of tiki-setup.php is "$feature_server_name = $tikilib->get_preference('feature_server_name', $_SERVER%22SERVER_HOST%22);"

So, this being the problem, does anyone know what it is, how I can fix it or more likely the case, what I've done wrong here?

posts: 2881 United Kingdom

From the message I can tell your using Internet Explorer biggrin

Try and browse with Mozzy and you'll probably be ok.

Also this error message is probably down the web server your using. Which one have you got installed?

If its IIS have you made the Modifications to the codebase on the IIS install page?

Damian

posts: 4

> Damian:
> From the message I can tell your using Internet Explorer biggrin
>
> Try and browse with Mozzy and you'll probably be ok.
>
> Also this error message is probably down the web server your using. Which one have you got installed?
>
> If its IIS have you made the Modifications to the codebase on the IIS install page?
>
> Damian

Well, the webserver I'm currently using is BadBlue.

posts: 4

Ahr, next thing. I ran it with Mozilla, and I didn't get the XML error but I still got this:



Notice: Undefined index: SERVER_HOST in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php on line 997.


The rest of the page loaded. I figured I might as well try to login anyway, at which point I got this:

Notice: Undefined index: SERVER_HOST in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php on line 997

Warning: Cannot modify header information - headers already sent by (output started at C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php:997) in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-login.php on line 26

Sorry for all these questions.


posts: 4

> Damian:
> From the message I can tell your using Internet Explorer biggrin
>
> Try and browse with Mozzy and you'll probably be ok.
>
> Also this error message is probably down the web server your using. Which one have you got installed?
>
> If its IIS have you made the Modifications to the codebase on the IIS install page?
>
> Damian

Well, the webserver I'm currently using is BadBlue.


posts: 4

Ahr, next thing. I ran it with Mozilla, and I didn't get the XML error but I still got this:



Notice: Undefined index: SERVER_HOST in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php on line 997.


The rest of the page loaded. I figured I might as well try to login anyway, at which point I got this:

Notice: Undefined index: SERVER_HOST in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php on line 997

Warning: Cannot modify header information - headers already sent by (output started at C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-setup.php:997) in C:\PROGRAM FILES\BADBLUE\PE\tikiwiki\tiki-login.php on line 26

Sorry for all these questions.


posts: 1001 Canada

My copy reads $feature_server_name = $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]); at this line, not SERVER_HOST.

I never heard about that server and it's certainly much better to use EasyPHP (Apache) if you're new to webservers. You could get quite a few problems trying to get Tiki working with a rare server, and I don't think you want that if you were unable to debug that first problem.
If you still want to try and NAME doesn't work better, remove the last argument to get_preference. If it still fails, try removing from 997 to 1002 or replacing $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]) with 'y' (quoted).

posts: 4

> Chealer9:
> My copy reads $feature_server_name = $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]); at this line, not SERVER_HOST.
>
> I never heard about that server and it's certainly much better to use EasyPHP (Apache) if you're new to webservers. You could get quite a few problems trying to get Tiki working with a rare server, and I don't think you want that if you were unable to debug that first problem.
> If you still want to try and NAME doesn't work better, remove the last argument to get_preference. If it still fails, try removing from 997 to 1002 or replacing $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]) with 'y' (quoted).


"remove the last argument to get_preference" That worked, thanks.


posts: 4

> Chealer9:
> My copy reads $feature_server_name = $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]); at this line, not SERVER_HOST.
>
> I never heard about that server and it's certainly much better to use EasyPHP (Apache) if you're new to webservers. You could get quite a few problems trying to get Tiki working with a rare server, and I don't think you want that if you were unable to debug that first problem.
> If you still want to try and NAME doesn't work better, remove the last argument to get_preference. If it still fails, try removing from 997 to 1002 or replacing $tikilib->get_preference('feature_server_name', $_SERVER["SERVER_NAME"]) with 'y' (quoted).


"remove the last argument to get_preference" That worked, thanks.


posts: 2881 United Kingdom

))BadBlue(( Well if you feel upto the task why not write us a install guide for it linked from the InstallTiki page wink

Thanks a million!

Damian