# Website suddenly starts redirecting to the /install/install.php directory even though there is no /install/install.php directory?  \[SOLVED\]

**URL:** <https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [December 1, 2010, 10:17pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732 "2010-12-01T22:17:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![James142](https://forum.phpvms.net/user_avatar/forum.phpvms.net/james142/32/92_2.png) [@James142](https://forum.phpvms.net/u/James142)\
**Post date:** [December 1, 2010, 10:17pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/1 "2010-12-01T22:17:39Z")

</div>

Website suddenly starts redirecting to the /install/install.php directory even though there is no /install/index.php directory?

when you go to [www.flyirelandva.com](http://www.flyirelandva.com) it redirects you to [www.flyirelandva.com/install/index.php](http://www.flyirelandva.com/install/index.php) and aas you can see the install folder is gone because i already installed phpvms 3 months ago?

My site has being up for a while now and i have not encountered this problem before.

The only files i have touched was the skins folder and my forums folder that has nothing to do with phpvms, and yes I have checked to see if there is an install folder in the main directory and there is none there.

Thanks for the support,

James

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [December 1, 2010, 10:20pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/2 "2010-12-01T22:20:22Z")

</div>

Did you accidentally delete or rename the local.config.php file? It looks like the system is looking for it and not finding it so it is sending you to the install link to install it and create the file.

---

<div class="post-metadata">

**Author:** ![James142](https://forum.phpvms.net/user_avatar/forum.phpvms.net/james142/32/92_2.png) [@James142](https://forum.phpvms.net/u/James142)\
**Post date:** [December 1, 2010, 10:26pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/3 "2010-12-01T22:26:09Z")

</div>

> Did you accidentally delete or rename the local.config.php file? It looks like the system is looking for it and not finding it so it is sending you to the install link to install it and create the file.

You replied fast

The local config file is still there but i do renember changing

```
Config::Set('MAINTENANCE_MODE', false);

```

=\>

```
Config::Set('MAINTENANCE_MODE', true);

```

then back again to

```
Config::Set('MAINTENANCE_MODE', false);

```

yesterday which could not be the problem becuase i only started getting this problem today :S

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [December 1, 2010, 10:33pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/4 "2010-12-01T22:33:17Z")

</div>

Something has gotten overwritten when you were uploading files I am guessing, open up a new copy of phpvms and make sure all the config files are in your install that are in the new file. Did the index.php get overwritten with your forum index file or corrupted?

---

<div class="post-metadata">

**Author:** ![James142](https://forum.phpvms.net/user_avatar/forum.phpvms.net/james142/32/92_2.png) [@James142](https://forum.phpvms.net/u/James142)\
**Post date:** [December 1, 2010, 10:36pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/5 "2010-12-01T22:36:46Z")

</div>

> Something has gotten overwritten when you were uploading files I am guessing, open up a new copy of phpvms and make sure all the config files are in your install that are in the new file. Did the index.php get overwritten with your forum index file or corrupted?

Ill try doing that and ill get back to you with the result, I guess I should have saved the forum files into another directory..

James.

---

<div class="post-metadata">

**Author:** ![James142](https://forum.phpvms.net/user_avatar/forum.phpvms.net/james142/32/92_2.png) [@James142](https://forum.phpvms.net/u/James142)\
**Post date:** [December 1, 2010, 10:38pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/6 "2010-12-01T22:38:58Z")

</div>

Back already I reuploaded the main index.php file and it worked, guess the new forum had overwritten that file when it was uploading.

thank you so much for the support!

James

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [December 1, 2010, 10:40pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/7 "2010-12-01T22:40:08Z")

</div>

> Ill try doing that and ill get back to you with the result, I guess I should have saved the forum files into another directory..
> 
> James.

Ah, if you saved your forum right into the same directory I bet the forum index.php file has replaced the phpvms index.php file.

---

<div class="post-metadata">

**Author:** ![James142](https://forum.phpvms.net/user_avatar/forum.phpvms.net/james142/32/92_2.png) [@James142](https://forum.phpvms.net/u/James142)\
**Post date:** [December 1, 2010, 10:41pm UTC](https://forum.phpvms.net/t/website-suddenly-starts-redirecting-to-the-install-install-php-directory-even-though-there-is-no-install-install-php-directory-solved/3732/8 "2010-12-01T22:41:32Z")

</div>

> Ah, if you saved your forum right into the same directory I bet the forum index.php file has replaced the phpvms index.php file.

now i need to reupload the forum files

thanks again
