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.


Forbidden by unzip? or /tmp?

Login / Search

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

Well-settled

Forbidden error

Forbidden

You don't have permission to access /adminzone/admin_config/set/SITE.htm on this server.

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


Last edit: by na7kr
Back to the top
 
Posted
Rating:
#71598
Avatar

Community saint

What are you trying to do?

I don't have anything in my /adminzone/admin_config directory.

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:
#71599
Avatar

Well-settled

edit Site options
Back to the top
 
Posted
Rating:
#71600
Avatar

Community saint

That's here: /adminzone/pg/admin_config/category/SITE .

In future just use admin search if you are not sure where things are.

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:
#71601
Avatar

Well-settled

so how do i fix it?
it open but if I save I get

Forbidden

You don't have permission to access /adminzone/admin_config/set/SITE.htm on this server.


Last edit: by na7kr
Back to the top
 
Posted
Rating:
#71602
Avatar

Community saint

Take a look at the following thread as similar issues are being discussed there: View topic: Forbidden Issue - ocPortal .

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:
#71618
Avatar

Well-settled

What file is it trying to update when you hit save?
Back to the top
 
Posted
Rating:
#71619
Avatar

Well-settled

I do not see any errors in the apache log.
I have just tryed deleting all and starting again.
same error.
Back to the top
 
Posted
Rating:
#71626
Avatar

Well-settled

I found the problem…

/tmp
or
/usr/bin/unzip -o @_SRC_@ -x -d @_DST_@
I have tryed different tmp folders and have set to 777 still does not work.

But removing both it does save.





Back to the top
 
Posted
Rating:
#71629
Avatar

Community saint

Congratulations on getting it to work!

You need the /tmp/ directory (set outside the web root for security reasons) to allow you to unzip files.

The /usr/bin/unzip -o @_SRC_@ -x -d @_DST_@ is the command executed to unzip files.

Hostgator supports both, so I'm not sure that deleting the two entries in the adminzone/configuration has helped.

But what the hell. Live with it!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#71634
Avatar

Well-settled

not using Hostgator.
It made it work for now untill i find out why..
I tryed making a tmp in home folder.

Back to the top
 
Posted
Rating:
#71636
Avatar

Community saint

w1ngl said

not using Hostgator.
My error. Somebody else is experiencing similar problems, and they ARE using Hostgator.

 :'(

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: