Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 9
J
stranger
stranger
J Offline
Joined: Jun 2006
Posts: 9
Hey all,

I recently moved the UBB to a new server and all was working great until now. I remember changing some advanced settings to allow html extensions and search engine friendly URLs, then I changed the userID on the superadmin and then changed a forum setting to sort differently. After that last step it logged me out and says Access Denied when trying to log in as any user or register a new one. Any ideas as to what happened or where I should start looking? I already re-imported the users table but that didn't change anything. Any clues would be greatly appreciated.

Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
First is the super admin member default is 2.
If you changed the id then possibly the new member was not a admin to begin with.
But I would think that registration would still work.

First thing i would do is look at /includes/config.inc.php
Check the first several lines.
change the MAIN_ADMIN_ID back to 2
And check if the other top lines for database connection,user and password are correct.

If the file is completely blank,that is your problem.
Just re upload a backup.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 9
J
stranger
stranger
J Offline
Joined: Jun 2006
Posts: 9
Unfortunately that didn't change the behavior. I've checked permissions on the files in the ubb directory, I've run the upgrade script with no change. I'd hate to have to revert the entire install to the one from the old server and start over. Here is the address: http://www.melaniesmusic.com/forums/ubbthreads.php

If I try to log into the admin control panel directly it tells me I don't have permission and forwards me to the login screen which says access denied even before i attempt a login. I don't understand what if any permissions were changed during the steps I noted above and which files I should be looking at. Thanks again for your help.

Joined: Jun 2006
Posts: 9
J
stranger
stranger
J Offline
Joined: Jun 2006
Posts: 9
Ok, going into config.inc.php and disabling the search friendly urls brings it back in action. I don't understand why it worked for a little while and then decided not to. Weird stuff.

Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
Likely the new server doesn't allow "acceptpathinfo", which is the webserver option that drives the search engine URLs.

more info


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
Yep, that would break it if pathinfo is not available on your site.
That is why the last item in the note says:
Quote
Enable Spider-friendly URLs?
Warning: This function allows most search engine spiders to crawl the community and also allows for specially formatted URLs, which may result in higher bandwidth usage and server load.

Note: The PATH_INFO environmental variable must be available for this feature to function properly.

So I would guess that this is a windows server?
Because most linux based servers have this enabled.
And most windows based servers do not.

And probably why it worked for a little while is due to your browser cache.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
I've always been on linux servers, and "spider-friendly" has always broken my board. Now that I have moved to Mindraven, maybe I can try again. I have not asked about it.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
Well, a lot of the times a host will let you set (via your .htaccess file) to have path_info on; and a lot of the time if you explain why you want it on, they'll turn it on for you.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
mindraven runs php as cgi and has pathinfo allowed, so it should be fine smile

Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Wow. I tried it; the board slowed to a crawl and seized up IE7 and IE8 on two different computers. I had to kill them via task manager. Then I opened up a new IE8, went into CP directly, and changed the setting back. Everything works again.

I'll let the spiders think I'm not very friendly. laugh


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
if it was that bad on Mindraven, i'd open a ticket and find out why

2c


Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
Yeah, agreed with SD... The setting simply changes how the URLs are thrown out and interpreted by the forum, it really shouldn't "slow" anything...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
2 members (Ruben, ahmed047), 799 guests, and 143 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)