HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


HELP 403 FORBIDDEN

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#107072 (In Topic #20870)
Avatar

Fan in training

403

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Back to the top
 
Posted
Rating:
#107073
Avatar

Community saint

You should ideally provide more info, as 403 is quite a common error. What page are you trying to access? Did you change any settings before the error appeared? Have you changed your .htaccess file directly? 403 errors occur for a valid reason, and are quite easy to rectify once the reason is clearer.
Back to the top
 
Posted
Rating:
#107076
Avatar

Fan in training

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other
The website software has detected what may be a hacking attempt. Please do not be alarmed, and unless you are really trying to hack the website, nobody will question you. Please do not click refresh though or you could be automatically banned. If you got here via a link, please inform the link maintainer of the problem.

Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file).



was saving in comcode start page using tempcode to add a javascript for the users to be able to login using their facebook account.... this is what the url main index page says...thanks
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#107077
Avatar

Community saint

Looks like it might be a mod_security issue (caused by adding javascript to your page).

Ask your host to white list all the rules listed here: Configuring mod_security - ocPortal.com

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#107089
Avatar

Fan in training

I appreciate the input and suggestions... What is the best way to use a ".js" script in your comcode page? Should you place the whole script on the page itself(and if so) does it need to be in its own


Or, as I did, I used the advanced tempcode {$REQUIRE_JAVASCRIPT,javascript_example} and replace the javascript_example with "fblogin.js" So my insert looked like this {$REQUIRE_JAVASCRIPT, fblogin.js}

Thanks again
Back to the top
 
Posted
Rating:
#107090
Avatar

Community saint

The simplest way is to just add it to the comcode page. Use a html tag as follows:

Code


[html]
<script type="text/javascript">
// <![CDATA[
.....Contents of .js file goes here.....
//]]></script>
[/html]

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: