1
misheck
No input file present after new installation
  • 2008/9/1 21:27

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


I have installed XOOPS and gone through all the steps. Got to the stage where I enter my admin username and details but then when I get to the stage where I have to click the click here to view you site I am getting a blank white screen.

I have tried to go through to my site using http://localhost/xoops but this takes me to the initial installation files. Please note I am using IIS6, php 5, MySQL 5.2.. I have got my website document (Virtual Directory) pointing to xoops/htc/install. I also have added the index.php as one of the site headers.

I am getting a blank screen with the no input file to process. Can someone help I have just spent over 16 hours trying to get the php extension to work

2
misheck
Re: No input file present after new installation
  • 2008/9/2 0:13

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


I have sorted this out but I am having a problem users cannot access the site from over the internet but I can access it locally without a problem.

I have checked out the permissions and everything seems to be ok. When users from the internet try to access the site the site does not display properly and when they try to register or login it does not load up. It looks as if the url is pointing them to the wrong path which is C:\inetpub\wwwroot\Xoops\user.php. My files are located in C:\Xoops\xoops\user.php. Do I have to move the folder into the wwwroot and reconfigure the permissions again?

3
stefan88
Re: No input file present after new installation
  • 2008/9/2 4:53

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Quote:
It looks as if the url is pointing them to the wrong path which is C:\inetpub\wwwroot\Xoops\user.php. My files are located in C:\Xoops\xoops\user.php. Do I have to move the folder into the wwwroot and reconfigure the permissions again?


I'm not familiar with IIS, but you may check mainfile.php in XOOPS root folder. There is

// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/var/www/html');
    
define('XOOPS_ROOT_PATH''/var/www/html');


    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://www.XXX.com');
    
define('XOOPS_URL''http://www.XXX.com');


make sure 'XOOPS_ROOT_PATH' and 'XOOPS_URL' point to the right place...
..

4
misheck
Re: No input file present after new installation
  • 2008/9/2 8:50

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


I have tried changing the path in mainfile.php but I get error messages when I try to logon so I have replaced that again with the original file. I have also noticed that the site does not display properly its like the images have not been uploaded. I have put the site into the trusted site and enabled activeX control but I am still getting the same error.

This the error I am getting when trying to logon from the internet.

HTTP Error 404.0 - Not Found
Description: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Error Code: 0x80070002

Notification: MapRequestHandler

Module: IIS Web Core

Requested URL: http://127.0.0.1:80/Xoops/xoops/htdocs/user.php

Physical Path: C:\inetpub\wwwroot\Xoops\xoops\htdocs\user.php

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile

Most likely causes:

The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
What you can try:

Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
More Information... This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.


--------------------------------------------------------------------------------

5
stefan88
Re: No input file present after new installation
  • 2008/9/2 10:45

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Quote:
This the error I am getting when trying to logon from the internet.

Module: IIS Web Core

Requested URL: http://127.0.0.1:80/Xoops/xoops/htdocs/user.php

Physical Path: C:\inetpub\wwwroot\Xoops\xoops\htdocs\user.php


it looks your web server is not configured properly. 127.0.0.1 is same like localhost and will not work on the internet/intranet. It will work only from the same PC. I'm not familiar with ISS and can't help much, but somewhere you have to set the real ip for that server.

Quote:
My files are located in C:\Xoops\xoops\user.php.


it also seams that your server does not think this way.
..

6
misheck
Re: No input file present after new installation
  • 2008/9/2 12:28

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


What I am surprised with is that when you enter the url in the serach bar you are presented with a logon screen which is not fully loaded. When you enter your details you get an error message. I suspect that since its a 404 error message its do with permissions but I have confirmed with another website I am hosting on the same machine which is working fine. It uses both MySQL and php. I have modified the mainfile.php file with my ip address but when I do that the user can now view my session but not displayed properly. They can access everything without requiring to logon. Here is a link to my site perhaps you can see what I mean. If its down means I am working on it because I have been trying to modify the mainfile.php so that messes up the site and I have ro reload the old one back. Here is the link shout

7
stefan88
Re: No input file present after new installation
  • 2008/9/2 13:39

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


What value do you have for

define('XOOPS_URL''http://');
?


it should be 'http://shout.tzo.net/xoops'
..

8
misheck
Re: No input file present after new installation
  • 2008/9/2 17:42

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


I changed the url in the mainfile.php to anything either the domain name like the one you have listed or to the IP address I get errors when both on the local machine and also the internet users. In PHP I installed IIS Isapi and the php works fine. My main concern is that users over the internet cannot run activeX or any of the images on the site when they login or before they login. The 404 error seems to associated with access denied or permissions. I have tried accessing the site from different OS or Internet browsers but the errors are identical. I have another site on the same server using php and MySQL and this is working ok. Is it the permissions or a folder I might have deleted?

9
stefan88
Re: No input file present after new installation
  • 2008/9/2 19:06

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I'm not familiar with IIS, but I think the problem is with config there. I checked your site while it was onlin and when viewing the page source all links were http://127.0.0.1/... There is no way this to work - 127.0.0.1 is local computer and when my browser loads this page it looks for this files on y computer, not yours. Those are links for images, CSS file and external JavaScript files.

Is this how it looks: http://www.advancedinstaller.com/user-guide/tutorial-iis.html

What do you have in Web Server Bindings IP Address?

For default documents make shure index.php is first.



Also I don't understand why is that:
Quote:
I have got my website document (Virtual Directory) pointing to xoops/htc/install



You may check also this article:
http://www.iis-aid.com/articles/performance_testing/performance_tuning_xoops_on_iis
..

10
misheck
Re: No input file present after new installation
  • 2008/9/2 19:09

  • misheck

  • Just popping in

  • Posts: 21

  • Since: 2008/8/30


I have deleted everything and setup the site again and this seems to have solved my problems. I think the reason for all the errors I was getting was because I had run the install twice because I had not changed the Virtual directory path in IIS6 not to point to the install folder in HTC. What I also did was install it over the internet not on the local server and after the install I went to the local server and deleted the install folder in the Virtual Directory. Before deleting XOOPS I deleted the database.

Thanks for your help its people like you who put effort in helping others that make us think if your so devoted to helping me then why should I not try myself.

When I did the install this time around the mainfile.php was automatically updated with shout.tzo.net/xoops.

The only thing I now need to solve is mainfile.php which is being displayed as writeable but I dont know how to change it to read only to all the users without affecting the site operation.

Thanks again.

Login

Who's Online

429 user(s) are online (354 user(s) are browsing Support Forums)


Members: 0


Guests: 429


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits