Page 1 of 1

Unexpected character in input

Posted: Mon Apr 24, 2006 8:44 pm
by Stian
Installation went fine, however i had a problem at the end and I get the following error when I click on "here is your CMS site":



Not Found
The requested URL /cgi-system/php.cg was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


The only wierd thing I can find is in the preceding page where it tells me that the default url for my site is:

{site url}/cgi-system/php.cg

.cg?  I tried changing to .cgi thinking it might have been some kind of system error, but when I do that I get the following:



Warning: Unexpected character in input: '' (ASCII=15) state=1 in /usr/local/dh/cgi-system/php.cgi on line 1240

Parse error: syntax error, unexpected T_STRING in /usr/local/dh/cgi-system/php.cgi on line 1240


The program also tells me that the "path to the document root" is:

/home/.felder/USERNAME/SITE URL/cms

strange url?

Does anyone know what's up?

Thanks,
Stian

Re: Unexpected character in input

Posted: Tue Apr 25, 2006 2:01 pm
by tsw
can you create "test.php" file into your hosting root with following code

Code: Select all

<?php
phpinfo();
?>
and paste the url here

Re: Unexpected character in input

Posted: Tue Apr 25, 2006 5:20 pm
by Stian

Re: Unexpected character in input

Posted: Tue Apr 25, 2006 5:35 pm
by petert
did you use the search function of this forum? I guess not.
Seacrh for 'The requested URL /cgi-system/php.cg'

Re: Unexpected character in input

Posted: Sun Apr 30, 2006 11:40 am
by Stian
I still haven't figured it out. Anyone?

Re: Unexpected character in input

Posted: Sun Apr 30, 2006 2:04 pm
by Ted
Can you post your config.php file, obviously with the database details commented out?  I have an idea of what it is, but I need to double check.  Thanks!

Re: Unexpected character in input

Posted: Mon Sep 18, 2006 9:48 pm
by yorgi63
I'm running into this as well so if anyone has a solution i'd love to hear it.

George