News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

2.0.9 Fresh install all menus redirect to main page

Started by nightw0lf, March 27, 2015, 12:46:27 PM

Previous topic - Next topic

nightw0lf

Hi I have used SMF before but I had no such problems
I do fresh install many times I also asked my host to reset my account because of that but still the same.

1 Upload the smf 2.0.9 (tryed with beta and other versions) tyed also with other forums all working fine i mean ALL I tested worked 100%.
2 Install... all ok
3 logout. (i am already logged in)
4 login. PROBLEM redirect

if in step 3 I dont use log out and keep clicking on ANY menu i get redirected in the main page.
I tryed some expiriments with this

on querystring.php I changed this
$scripturl = $boardurl . '/index.php';
to this
$scripturl = $boardurl;

and now

ALMOST everything working fine I was acually happy for a moment but some places still use redirect to main page (at least not all)
example link
http://community.gameprophet.eu/?action=admin;area=theme;sa=admin;sa=admin;c9adcd8f02=b158c54a614429a570067858dfc93b46
if I remove some spesific part and let only this
http://community.gameprophet.eu/?action=admin;area=theme
I can see the menu

it happens on some other places of the menu also and its a problem for me many days now nobody has a similar problem to this and I still searching for a solution
tryed to use some .htaccess solution I had no idea what i've done so I deleted that file

I ask desparate help..

margarett

Quote from: nightw0lf on March 27, 2015, 12:46:27 PM
on querystring.php I changed this
$scripturl = $boardurl . '/index.php';
to this
$scripturl = $boardurl;
DON'T do this. Remove index.php is prone to all kinds of issues.
Run repair_settings. Something might not be correctly set at install, leaving you with bad paths.

Also, for your description, it seems that you might have some issues with PHPSESSID on the URL. That usually means that you have mod_security running and, as usual, it's messing things up. Ask your host to disable it and try again...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

nightw0lf

I dont want to do this I was trying to find a "why" but thank you for pointing a possible reason I will contact and come back to tell what happen.
REALLY THANK YOU FOR YOUR ANSWER!

PS: that captcha will send me to doctor

margarett

Oh, another thing. It can be that your PHP configuration doesn't "like" sessions in the URL. Can you get us a phpinfo?
What is a phpinfo() file?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

nightw0lf

#4
you can check right here I just added it.
http://gameprophet.eu/index.php

nightw0lf

Quote from: nightw0lf on March 27, 2015, 01:55:58 PM
you can check right here I just added it.
http://gameprophet.eu/index.php
changed to info
http://gameprophet.eu/info.php


margarett

I'm not totally sure, but you can ask your host to disable
session.use_only_cookies
in php.ini
(although it I tried it locally and could not reproduce that so it's likely not the cause)

My recommendation is for you to ask your host to disable mod_security
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

nightw0lf

thank you I can contact him tomorrow because its sunday, I hope for the best thank you for your time Mr.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

nightw0lf

The problem has been solved with some mod_security disabled, thank you for your time and help this issue can be closed.

Advertisement: