Page 1 of 1

Help! Can't change index

PostPosted: Sat Feb 16, 2008 12:52 am
Author: Lycanth
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://www.tmntrpg.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
fresh install


What was done to try to solve the problem?
tried knowledge base



De.scription and Message

Hi, I'm a relative newbie to all this, but i have a site, and i DID have a frontpage index page etc, but wanted to have integramod instead, so followed all instructions and it works perfectly at its IM141/portal.php

What I have been trying to do is have the portal page show up when people go to my http://www.tmntrpg.com
I tried the two ways suggested by the knowledge base and neither are working. What am I doing wrong?

I got rid of the frontpage info as best i could, but now i'm left with a skeleton page.

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 12:59 am
Author: Helter
not sure why your directory is showing instead of the portal. index.html should always load before all other files

Code: Select all
 <HTML><HEAD><META></HEAD><BODY></BODY></HTML>  

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 1:26 am
Author: Lycanth
Perhaps i'm putting the file in the wrong spot? I've been putting it in both the root web and in IM141

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 1:50 am
Author: obiku
I don't know if you yourself can edit the httpd.conf on your server, but if so,

Look for the line that starts with "DirectoryIndex". I'm for sure you or someone else deleted the index.htm out of that line.

The DirectoryIndex line will tell the apache server which default file will be loaded when entering a site. When I click the link to your site, I see your root with an index.htm. Normaly that index.htm must be loaded by the browser, but that doesn't happen. But when I type you the url to your site with the path to your forum, it automaticly starts the index.php.

So my beliefs are that the index.php is in that line, but the index.htm is not.

Mayby, but I'm not a master in .htaccess, you can put this line in the top of your .htaccess file

Code: Select all
DirectoryIndex index.htm, index.html, portal.php, index.php


That way, the browser will always first load any of these files.

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 11:20 am
Author: .QUACK.Major.Pain
When you click on your index page, the portal page comes up with a lot of errors.

Warning: Cannot modify header information - headers already sent by (output started at /home/nextinca/public_html/tmntrpg/IM141/includes/auth.php:473) in /home/nextinca/public_html/tmntrpg/IM141/includes/functions.php on line 205

Warning: Cannot modify header information - headers already sent by (output started at /home/nextinca/public_html/tmntrpg/IM141/includes/auth.php:473) in /home/nextinca/public_html/tmntrpg/IM141/includes/page_header.php on line 1156

Warning: Cannot modify header information - headers already sent by (output started at /home/nextinca/public_html/tmntrpg/IM141/includes/auth.php:473) in /home/nextinca/public_html/tmntrpg/IM141/includes/page_header.php on line 1158

Warning: Cannot modify header information - headers already sent by (output started at /home/nextinca/public_html/tmntrpg/IM141/includes/auth.php:473) in /home/nextinca/public_html/tmntrpg/IM141/includes/page_header.php on line 1159


Maybe you changed something during install that should have been left as default?

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 11:29 am
Author: obiku
It's even worse now, my Kasparsky antivirus immediately complains about a Trojan on your site

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 11:31 am
Author: .QUACK.Major.Pain
Actually when I switched from your portal page to forum page, it set off my McAfee too.

Detected: Exploit-IFrame (Trojan)

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 11:35 am
Author: .QUACK.Major.Pain
In your ACP>General Admin>Configuration, is the 3rd line,

Script Path: set to /IM141/ ?

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 1:33 pm
Author: CaNNon
You can also use the DirectoryIndex command that obiku mentions in your .htaccess file. Order the extensions as you wish them to load first.

PostPosted: Sat Feb 16, 2008 4:09 pm
Author: Lycanth
Oh great, what fun. Guess I've been hacked somehow...

Will try deleting the lot and another fresh install. Will let you know how it goes.

Re: Help! Can't change index

PostPosted: Sat Feb 16, 2008 5:56 pm
Author: CaNNon
I don't think you have, most of your stuff is intact you just need to do some redirection to get people to the right place.

everything is at http://www.tmntrpg.com/IM141/portal.php and working for the most part. I'm moving all over your site and not getting any warnings at all, I'm not even finding where a IFrame was used?

Re: Help! Can't change index

PostPosted: Sun Feb 17, 2008 1:08 pm
Author: XHIBIT
WOW !, yeah it looks like you'd do better with a fresh install bro

PostPosted: Sun Feb 17, 2008 10:37 pm
Author: Lycanth
Thank you all, but think I will just wipe the lot and start from scratch.