SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / Forbidden.. 404 with usercp?
Posted:  05 Jul 2005 15:59
yo hrists, again.

my forum is nearly polished >>
My Forum

BUT!!! when i try to go to 'my preferences' (usercp) i get this message
Quote:

Forbidden
You don't have permission to access /f/forum/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

this only happens when i got to index.php?a=usercp
usercp.php DOES exist.
i changed file permissions...
i don't know what to do ?
can anyone help!
Posted:  05 Jul 2005 17:18
Never had this situation before. You can try to trace when this message pops. Like you can print messages at various parts of the code. Try outputting sth at the top in usercp.php to see if the error happens before that. How about the search function, admin panel etc.?

btw. nice skin. You need to fix the logout link so that it does not appear when a guest visits the forum.
Posted:  06 Jul 2005 06:12
ok.. i tried outputting text on the first (second) line of the index.php file... it outputted when i went to the board page but when i clicked 'my preferences' it did not, all i got was the same error.

maybe its the server? maybe i've mutilated the script too much
Posted:  06 Jul 2005 09:27
frazels,
if you've modified the board I can't guess anything about what's going on. Get a cup of coffee, install it on your local computer and start digging the script the usual way
Posted:  06 Jul 2005 13:28
[sad]

well i haven't touched index.php pretty much at all, and not usercp !!!!!!!!!!!!!!!!!!! :'( :'( :'(
Posted:  06 Jul 2005 13:45
can you access usercp.php directly typing it in the url? Also, check your filepaths in seo-board_options.php
Posted:  16 Dec 2005 18:57
Hi frazels,

I had the same problem - it worked fine locally, but not on my server. I finally tracked down the problem - it was the 'usercp' bit - something was causing problems with that name.

Here is the fix:
Rename the usercp.php file to prefs.php (or whatever you want)
Edit index.php - in the array with 'vtopic','forgotpass','usercp' - change 'usercp' to 'prefs' (or what you used in step 1 - don't add the '.php' bit here)
Edit skin/mainmembernavigation.htm - change '?a=usercp' to '?a=prefs'
Edit skin/userpanel.htm - change '?a=usercp' to 'a?=prefs'. There doesn't seem to be any need to change 'type=submit name=usercp' near the end.

Hope this helps.
Posted:  16 Dec 2005 20:28
That's weird. Do we have another <dot>htaccess problem here, this time usercp?
Posted:  16 Dec 2005 21:04
I am missing something I guess. frazels forum appears to be Invision Power Board.
Posted:  16 Dec 2005 23:44
Hi Hristo,

For some reason my server didn't like the name 'usercp' - as soon as I changed it to prefs and made the coding changes to suit, it worked fine!

Don't you hate computers!!

Thanks for the forum though - it's the only one I've been able to incorporate properly into my site.
Posted:  17 Dec 2005 14:27
Hi Hristo,

It seems there is some problem with usercp. I'm too facing exactly same problem.

I never changed any thing in coding too.

help us please. my forum is here

btw, should i try what g0akh said?

thank u.
niceboy.
Posted:  17 Dec 2005 15:26
Email your hosting provider about this issue. The file is there but access is forbidden. That's stupid. Have in mind that some of the world's most popular forums use usercp.php (vbulletin) and I don't see why usercp.php should cause problems. If your hosting provider does not help, the above solution (renaming the file and tweaking the index.php) should work.
Posted:  12 Feb 2006 14:49
I had a similar problem, but it was a 406 error.  I used the above fix to change to prefs and I have no issues.  I am using the board on two different sites and they both have different hosts.  On the host that does not use Cpanel, I have not had a problem. 

I think the problem may be related to CPanel and fantastico, but I am not certain.  I know fantastico in Cpanel sets up BBs, so it could have some reservations in your hosting package.  Just a thought.
Posted:  12 Feb 2006 16:54
I am using SEO-Board on 2 sites with CPanel. CPanel is not the problem. I may rename this file in the next version.
Posted:  09 Mar 2006 05:29
I had the same problem, used the fix and it worked.  I am on hostgator...maybe someone else is using them to?
Posted:  27 May 2006 23:43
I am experiencing the same problem right now. I will try the usercp to prefs solutions.
Posted:  24 Jun 2006 07:00
Thanks g0ak.. you solved my 406 problem that I had with a new downloaded 1.04 version.
Posted:  17 Aug 2006 10:54
Used the prefs fix with one more tweak to make it work

in prefs.php change line 17:

if (isset($_POST['usercp']))
to
if (isset($_POST['prefs']))

without this change the prefs fix would give me a null link.
Posted:  17 Aug 2006 11:58
Another solution is to put this line of code into your .htaccess file
Code:

SecFilterEngine Off
Posted:  21 Sep 2006 07:35
I was able to work around my 403/404 issue with this fix as well. (Find & Replace all instances of "usercp" with "prefs" and rename usercp.php prefs.php)

There are no .htaccess files on the machine that I've seen. (my first hour or so playing with it...)

Thanks all!

-tank.