Previous Thread
Next Thread
Print Thread
Hop To
#177928 02/07/2007 5:46 PM
Joined: Mar 2005
Posts: 21
S
stranger
stranger
S Offline
Joined: Mar 2005
Posts: 21
I have trasnfered a v7 to another server. All the settings and database stuff works, but now when I try to re-enable the boards, I get a:

-----------

Forbidden
You don't have permission to access /forums/admin/doprimary.php on this server.

Apache Server at www.sapaforums.org Port 80

-----------

error. I have access via FTP to this file and have double checked all of my installation permissions on all the folders, but I'm stumped. I can edit the configuration php file manually via FTP, but this, and a few other amdin functions give me this error and I cna't seem to track down the problem. Anyone have any ideas?


SAPA Admin
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That really looks like a general file permission on that file. If you're on a linux box take a look at the permissions on that specific file. From that message it looks like it's set to 400 or something of that nature.

Joined: Mar 2005
Posts: 21
S
stranger
stranger
S Offline
Joined: Mar 2005
Posts: 21
I don't have server access directly, but both the directory and file itself have 777 permissions when I check with my FTP client.

I can access other files in that same directory just fine through the control panel functions. Could there be a problem with one of the include files for that particular php file?

Last edited by SAPA Admin; 02/07/2007 8:08 PM.

SAPA Admin
Joined: Mar 2005
Posts: 21
S
stranger
stranger
S Offline
Joined: Mar 2005
Posts: 21
It looks like their apache server is blocking this and throwing a generic error. I looked in the error log and it's a generic sql injection error. I'm trying to get to the bottom of this with the hosting company since it's a shared hosting solution and I don't have access to the Apache setup.


SAPA Admin
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
hmmm.. I am seeing this now on a shared setup


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
How did you transfer the files? Did you tar them? If so, what did you use to create the archive? What flags did you pass to tar when creating the archive?

What this could be is that you created the archive and it's trying to recreate it with the user; thus the files in your webspace don't belong to your user account, they belong to the user account which created the files.


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: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
It's just about 4-5 of the admin scripts (doprimary, dofeatures, etc.) giving me this error, the rest work fine. I can edit styles, set the general display settings, portal settings, etc.

I transferred ubb.classic via tar file, threads 7.2 was uploaded from my pc via ftp and the import was done - that went fine.


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If permissions are ok, then I'm wondering if this is something like mod_security where it's detecting a few keywords and just giving a total forbidden on the script? I worked on a site that had mod_security enabled and ended up with the same error about a month ago.

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Possibly, I know the server blocked my ip for a while yesterday because I had entered the wrong info trying to sign in to ssh :smashpc:


- Allen
- ThreadsDev | PraiseCafe
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
That was it - the hosts turned it off and things are swell now - thank you for the headsup smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
Ok, that's it, I'm starting the "We Hate Mod_Security" support group... lol


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
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
2 members (Ruben, 1 invisible), 820 guests, and 150 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 20240506)