View Full Version : Index.php file location?
March 7th, 2005, 09:27 PM
:confused: The INDEX.php file is in the PHOTOPOST folder under the HTDOCS folder. Therefore, when I go to the website www.kaboodlegallery.com the underconstruction page appears. I tried moving the index.php file directly to the HTDOCS folder without luck and renaming the original index.html. How do I launch photopost directly by going to www.kaboodlegallery.com without defining the specific path, www.kaboodlegallery.com/photopost/index.php?
Thanks in advance!
March 7th, 2005, 10:34 PM
Your host is looking for the 'index' file in a certain order, first .html then .htm.
I would delete all other 'index.*' files and only have the index.php available in HTDOCS
March 8th, 2005, 08:56 AM
Or place index.php first on the DirectoryIndex ;)
March 8th, 2005, 07:33 PM
Now with only the index.php file in HTDOCS i get the following error.......
Fatal error: main(): Failed opening required 'pp-inc.php' (include_path='.:/usr/local/php4/lib/php') in /www/k/kaboodlegall/htdocs/index.php on line 20
March 8th, 2005, 07:34 PM
You cant move the index.php file - it has to stay in the same folder as the PhotoPost files.
March 8th, 2005, 07:39 PM
so if i do not move the index.php file from HTDOCS/PHOTOPOST, i have no files under HTDOCS. So then what path and file will the program initiate from?
March 9th, 2005, 02:27 AM
As Micheal said you need to have the index.php in the same directory as the other main php files which i'm sure all could be uploaded to htdocs
March 9th, 2005, 07:36 AM
Or you could have a redirect index.htm file in your root directory to forward people to the photopost directory.
March 10th, 2005, 09:31 PM
The photopost installation procedure shows the photopost folder as shown below and the index.php is in this folder. Sounds like I should have left out the photopost folder so that the index.php could be found in the top directory. Since this is not the case, what do I need for a redirect index.htm file?
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
data (chmod 777)
1 (chmod 777)
2 (chmod 777)
500 (chmod 777)
languages (chmod 755) (all subdirectories, too)
english (chmod 755)
March 10th, 2005, 09:35 PM
You can install Photopost in whatever directory you want.
To redirect people to the photopost directory you can use an index.php file like this in your main webroot
March 12th, 2005, 07:49 PM
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.