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.


Fresh Install, can't edit menues.

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#18851 (In Topic #4373)
SMC
Avatar

Fan in training

When try to edit a menu I get no permission to access admincentre/index.php on this server

Everything else seems to work but when I try to edit a menu I get the error:

You don't have permission to access /ocportal/admincentre/index.php on this server

This is after I get the edit menu page. When I try to submit the changes I get that.

Obviosly ocportal is my install dir and index.php is the file where this is happening but I don't understand why I can use the index.php one minute and then not the next. Could it be a php settings thing?

Unfortunately I have to admit I know jack about PHP.  Someone else picked this portal for me and I was impressed by its plug-&-play abilities.  Everything else in the forum works wonderfully and I can't wait to learn the pseudo code system you use to customize things. (I'm an ASP man myself but I know a little of the old world technologies like C/C++ :P)

SMC is a startup game development company on a shoestring budget.  We're working on using ocportal for our main site (especially since it has dev tools like support tickets and what not) and plan on going pay to use with ocportal within 6 months to a year.  

So it would be great if we could get the bugs ironed out now.

I did do a forum/site search and couldn't find anything on this error. Not too suprising since its so generic.  I searched for editing menues as well.

I also hope this is the right place to post this. I know you don't technically support non paying customers but I figured you would support instalation issues since if a customer to be cant install they probably wont pay. :D

Still, your system is rockin and I really hope we can get this to work!

Thanks.

–David Schwanke : SMC Enterprises
Back to the top
 
Posted
Rating:
#18852
Avatar

Hi David,

You might be interested to know that ocPortal does actually have some roots as a portal for games development, as that's what I used to do for a time.

You don't have permission to access /ocportal/admincentre/index.php on this server

This is a strange one, but it looks similar to something someone reported a long time ago. I believe the server was set up to run PHP in CGI mode and execute file permissions were required on each .php file that could be loaded by URL. Normally this isn't the case, as the webserver kind of treats PHP files as data, but CGI mode is different and the PHP files are run like normal unix scripts.
We've included some information about this in our advanced installation tutorial that I hope'll solve it for you. It seems a bit odd how the root index.php runs and the admincentre one doesn't though.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#18894
SMC
Avatar

Fan in training

Thank you for your time. This sounds about right as that particular server was using the CGI version of PHP.  

However that wasnt our actual deployment server and our actual server didn't have the problem so I didn't have to figure out how to implement what you said.

Still thank you and sorry for 'wasting your time' if you consider this that.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: