Results 1 to 4 of 4

Thread: [RESOLVED] php & IIS only let me load the page once in one Virtual directory

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    [RESOLVED] php & IIS only let me load the page once in one Virtual directory

    the error is: No input file specified.

    Ok, so I setup php, created a virtual direcroty (under another VD called intranet) called forum (localhost/forum). I installed phpbb with ldap and everything works good. I then created another VD in the intranet folder called "daily" and all PHP works fine there (localhost/daily).

    Both localhost/daily and localhost/forum work fine.
    BUT
    localhost/intranet/daily, localhost/intranet/forum and localhost all have the same problem: Seems they can only display one page then it fails until you refresh there main folder.

    ex: localhost/intranet/forum will load, then I can click on one link, after that all fails and I have to go back to localhost/intranet/forum (which will load) then hit refresh to get one more loading page.

    This works the same way with localhost/intranet/phpinfo.php. If I run it once, it will then give me the error until I go to localhost/intranet/ and hit refresh and go back to the script.

    The home directory does seem to work fine with php. But I cannot have my script there because of HDD space.

    As a last resort I think moving the whole home directory (and everything that is in it) to a other drive would resolve the issue.

    edit: and if I put in a index.php it will load it correctly unlimited number of times.

    edit2: In IE I do not need to refresh (in fact a refresh on any other pages such as localhost/intranet/phpinfo.php will cause issues, can I can click around on some pages)
    Last edited by Zeratulsdomain; Feb 12th, 2008 at 07:18 PM.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: php & IIS only let me load the page once in one Virtual directory

    Remove the doc_root setting from php.ini and restart IIS.


    Also, I would avoid abbreviating 'Virtual Directory' as 'VD', for unrelated reasons.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Re: php & IIS only let me load the page once in one Virtual directory

    sort of forgot I had posted this...

    but yeah one of the things I had tried was removing doc_root and even changing it to other locations.

    I still could not get it to work...

    I think we are going to give up and move the whole home directory to the other HDD.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Re: php & IIS only let me load the page once in one Virtual directory

    the issues was security settings in the permissions.

    I dont know why it was affecting the sub-sub folder but not the sub-sub-sub folders....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width