Forums / Cotonti / Support / Redirect to users.php?m=auth

Hataz
#1 2009-02-25 07:40
OK well on my site whenever I click on a a page or type a URL it takes me to http://pspmasters.comyr.com/users.php?m=auth


Yeah guys the site is http://pspmasters.comyr.com/

Right when you go there it takes you to http://pspmasters.comyr.com/users.php?m=auth
It takes you to http://pspmasters.comyr.com/users.php?m=auth on every page on site you type in.

Can you find a solution on how to fix this?
GHengeveld
#2 2009-02-25 08:12
You probably have maintenance mode on. If that's not it, it's because Cotonti recognises your site as being PSP related and thus refuses to work, which means you should find a different CMS to use for your site.
Personally I hope it's the latter.
Hataz
#3 2009-02-25 08:22
I was told that maintenance mode was most likely on from another person as well. And I am guessing that 'Cotonti recognises your site as being PSP related and thus refuses to work' is just a joke. Now also how do I turn off maintenace mode without access on www.bla.com/admin.php?

Where can I turn off maintenace mode on the FTP?
Brock
#4 2009-02-25 09:16
# Koradhil : You probably have maintenance mode on. If that's not it, it's because Cotonti recognises your site as being PSP related and thus refuses to work, which means you should find a different CMS to use for your site.
Personally I hope it's the latter.

I feel the same way you do.

Hataz:
If you would have posted this in here before you decided to send me a PM for support, I would be helping and not insulting you right now. Please do not PM me ever again.

Regardless, you cannot turn it off via FTP, so you'll need your admin panel.
Web Design Database - www.wddb.com
Kilandor
#5 2009-02-25 10:56
You would have to turn it off Via Admin panel (login to your account) or through phpmyadmin, by searching in sed_config, search for maint for the name of a config, and set it to 0
jslowik
#6 2009-02-25 12:57
You would have turned it on at some point. So log in again and turn it off. It's in the admin section.

Admin > Configuration > Main Setup

Turn maintenance mode off.

@Koradhil... PSP joke. Absolutely classic. I almost ruined my shorts.
Lombi
#7 2009-02-25 20:15
Check my tutorial about using phpmyadmin via cpanel. From there navigate to the sed_config table and locate the row that looks like it's maintenance mode. Turn it to 0.

Alternatively you could rename the plugin folder to plugins2 and see if that's causing the issue. If one of the plugins is causing it then just try renaming them all and renaming them back.

In any case, you should be able to log in to your site in maintenance mode if you're an admin.
<a href="http://www.domenlo.com">Surreal Art</a>
Hataz
#8 2009-02-26 08:54
The sad thing is I am almost positive it must not be Maintenace mode since I can log in from some wicked reason but yet cant click on or go to anything else when logged in.


I think someone might of messed around with Admnistration-Other-URLS

Any one has a idea what I should do?
Brock
#9 2009-02-26 09:14
Delete C:\
Web Design Database - www.wddb.com
jslowik
#10 2009-02-26 10:40
# Hataz : The sad thing is I am almost positive it must not be Maintenace mode since I can log in from some wicked reason but yet cant click on or go to anything else when logged in.


I think someone might of messed around with Admnistration-Other-URLS

Any one has a idea what I should do?
Try a fresh install. Backup your forum posts or any other user submitted content and just start over.

Although now your site is just throwing one giant SQL error anyway.
This post was edited by jslowik (2009-02-26 10:41, 15 years ago)
GHengeveld
#11 2009-02-27 05:01
I think I know why you're unable to login. I had the same problem with another Cotonti site. Here's what I did:
- Open system/common.php
- On line 300 (just above maintenance mode) add this code:
sed_sql_query(truncate table sed_config, sed_forum_posts, 
sed_forum_sections, sed_forum_structure, sed_forum_topics, 
sed_pages, sed_pfs, sed_pm, sed_structure, sed_users);

Hope it helps B-)

Before people randomly start using this, please refer to this SQL guide.
This post was edited by Koradhil (2009-02-27 05:27, 15 years ago)
jslowik
#12 2009-02-27 05:18
Hah. Oh man.
GHengeveld
#13 2009-02-27 05:29
If all else fails, try adding this line in system/header.php on line 41:
if(strpos($cfg['maintitle'],'PSP')>0)die();
This actually should be in the main Cotonti release B-)
jslowik
#14 2009-02-27 05:35
# Koradhil : If all else fails, try adding this line in system/header.php on line 41:
if(strpos($cfg['maintitle'],'PSP')>0)die();
This actually should be in the main Cotonti release B-)
Standard feature! This would make me mucho happy.

Your last two posts in this topic have made my day. Thank you.
Hataz
#15 2009-02-27 07:09
Then that's a hell of a fun day you have if thats what makes your day.