MyBB Community Forums

Full Version: Index.php goes to 404 page, while no file does not
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my site, if I go to http://testchan.org/minecraft/index.php , it will 404;
HOWEVER, if I go to http://testchan.org/minecraft/ , it does not. They load the same file, could this be from an htaccess error? How can I resolve it, or is it just a messed up cache on -my- side?
You have index.php present in /minecraft directory?

If yes, does it have proper CHMOD settings?
(2011-05-06, 09:36 AM)crazy4cs Wrote: [ -> ]You have index.php present in /minecraft directory?

If yes, does it have proper CHMOD settings?

Yes.

And what is proper? Mine is set to rw-r--r--


Also, should forum links be like, "forum-1.html", "forum-2.html" etc?
Or is the something wrong with my forum? It's not a big deal if I have to reinstall. Before this happened I had changed index.php to forum.php and portal.php to index.php, should I not have done that? I was reading and that's what others recommended, but could that have been the culprit?

I did change the names back to normal, when I changed portal.php to index.php is when it started to give the 404 error.

This is a fresh install, not an upgrade.
(2011-05-06, 09:39 AM)magestickown Wrote: [ -> ]Yes.

And what is proper? Mine is set to rw-r--r--


Also, should forum links be like, "forum-1.html", "forum-2.html" etc?
Or is the something wrong with my forum? It's not a big deal if I have to reinstall. Before this happened I had changed index.php to forum.php and portal.php to index.php, should I not have done that? I was reading and that's what others recommended, but could that have been the culprit?
Are you using Google SEO? For link changes, it is responsible.

And I highly doubt if it was supposed to be changed to forum.php, I guess it should be index.php only, although am not sure because I never used portal thing.

Maybe you can try to reupload index.php again?

and about CHMOD, it should have 755 CHMOD.

(2011-05-06, 09:45 AM)crazy4cs Wrote: [ -> ]
(2011-05-06, 09:39 AM)magestickown Wrote: [ -> ]Yes.

And what is proper? Mine is set to rw-r--r--


Also, should forum links be like, "forum-1.html", "forum-2.html" etc?
Or is the something wrong with my forum? It's not a big deal if I have to reinstall. Before this happened I had changed index.php to forum.php and portal.php to index.php, should I not have done that? I was reading and that's what others recommended, but could that have been the culprit?
Are you using Google SEO? For link changes, it is responsible.

And I highly doubt if it was supposed to be changed to forum.php, I guess it should be index.php only, although am not sure because I never used portal thing.

Maybe you can try to reupload index.php again?

and about CHMOD, it should have 755 CHMOD.

The only link modifying on my forum is from adf.ly plugin (and it only modifies links in posts), I tried reuploading untouched files (from a install on localhost) with no effect.

I'll just save my plugins and reinstall if I can't resolve my problem; I just installed like 3 days ago anyway LOL.

No portal for me Sad


EDIT:

The forum names have reverted, but index.php remains the same (404'd)
When I goto:

http://testchan.org/minecraft/index.php

it gets redirected to:

http://testchan.org/minecraft/

and it seems fine.

And I too have adf.ly plugin, it is not an obstructing factor, site seems fine from here.

Even threads opening fine.
(2011-05-06, 09:54 AM)crazy4cs Wrote: [ -> ]When I goto:

http://testchan.org/minecraft/index.php

it gets redirected to:

http://testchan.org/minecraft/

and it seems fine.

And I too have adf.ly plugin, it is not an obstructing factor, site seems fine from here.

Even threads opening fine.

Must be a caching error.. I just looked at http://testchan.org/minecraft/index.php on browsershots, it showed my forum. CCleaner and restart, I'll be back Smile

I'm back:
Yay! It was just a caching error Smile CCleaner alone fixed the problem, solved!


OH!

One last question; since I moved localhost files and junk, the cookie won't set - How can I fix it?

I just edited settings.php (cookie stuff) to this:
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/minecraft/";
$settings['cookieprefix'] = "";

is it right? What should I put in cookiedomain?


Everything is working accordingly now Smile
Including portal.php to index.php and index.php to index2.php
Cookie domain should be:

.testchan.org

otherwise all good, and glad to see all things solved. Smile