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.


[SOLVED] Deleted links now have problems

Login / Search

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

Community saint

I was playing around with the catelogs module and messed up someting.
Right now my Links tree looks like:
Category Module: catalogues >>Entry point: Catalogues >>Links >>(Links)

During my session I had added aditional categories under Links and at some point accidently unchecked the TREE box before a save - At that point the second '(Links)' in the tree was moved down the tree line and had been replaced by a 'Root'. I noticed on the edit page for 'Root' there was no delete checkbox and the sub-categories weren't showing up. I've worked on it and keep getting an error that lands me on a site tree page. 

I tried to rename Root to Links but that doesn't help. In the process I deleted the second (Links) so as confusing as my description is I am guessing I need to restore stuff I deleted.

What should I do? ...get the files for the (or some) files for the catalog module and put them in somewhere? or is there database 'damage' that I will need to approach this with a reinstall (hope not)? I realize this was my goof, calling out for ...help!


Last edit: by friendly


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83818
Avatar

I believe you can make a catalogue tree-based again. You need to make sure you are editing the catalogue itself, not a category (the option isn't on the category edit forms).

There are no sub-categories for a non-tree catalogue. Instead all categories are linked from the catalogue index. If you go to /?page=catalogues it will list all catalogues, then if you click to go to the Links catalogue that is the Links catalogue index.

I think it is possible to click to edit the category you're at, delete it, then get redirected back to it and get a missing resource error. That's normal enough, it's telling you the truth.


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

Community saint

Chris Graham said

I believe you can make a catalogue tree-based again. You need to make sure you are editing the catalogue itself, not a category (the option isn't on the category edit forms).

There are no sub-categories for a non-tree catalogue. Instead all categories are linked from the catalogue index. If you go to /?page=catalogues it will list all catalogues, then if you click to go to the Links catalogue that is the Links catalogue index.

I think it is possible to click to edit the category you're at, delete it, then get redirected back to it and get a missing resource error. That's normal enough, it's telling you the truth.
I went back in today after the 'day of deletion' event and tried again and for some reason it all works fine. Self healing software or problem never existed? I have no idea but thanks for your disection and motivention to try it again!

That's why you sit in the big chair Chris! Thanks again!!!


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83843
Avatar

Community saint

Now I am having a problem either trying to find the correct combination of permissons  or overcoming a bug when I try to access Catalogues as test_1 who is an entry level member (Appreciator). I get this Stack Trace when I try to access the Catalogue:

An error has occurred

“test_1” does not have access to this category. (version: 7.1.6, PHP version: 5.2.17, URL: /site/index.php?page=catalogues&type=category&id=links_3&keep_fatalistic=1&keep_su=test_1)

You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/davidlfr/public_html/sources/failure.php'
Line '674'
Function 'get_html_trace'
Args  

File '/home/davidlfr/public_html/sources/global2.php'
Line '969'
Function '_fatal_exit'
Args

object


File '/home/davidlfr/public_html/sources/failure.php'
Line '232'
Function 'fatal_exit'
Args

object


File '/home/davidlfr/public_html/sources/global2.php'
Line '929'
Function '_generic_exit'
Args

object

'WARN_SCREEN'


File '/home/davidlfr/public_html/sources/failure.php'
Line '967'
Function 'warn_exit'
Args

object


File '/home/davidlfr/public_html/sources/permissions.php'
Line '95'
Function '_access_denied'
Args

'CATEGORY_ACCESS'

''

false


File '/home/davidlfr/public_html/site/pages/modules/catalogues.php'
Line '642'
Function 'access_denied'
Args

'CATEGORY_ACCESS'


File '/home/davidlfr/public_html/site/pages/modules/catalogues.php'
Line '601'
Function 'view_catalogue_category'
Class 'Module_catalogues'
Type '->'
Object Module_catalogues::__set_state(array( ))
Args  

File '/home/davidlfr/public_html/sources/zones.php'
Line '386'
Function 'run'
Class 'Module_catalogues'
Type '->'
Object Module_catalogues::__set_state(array( ))
Args  

File '/home/davidlfr/public_html/sources/site.php'
Line '970'
Function 'load_module_page'
Args

'site/pages/modules/catalogues.php'

'catalogues'


File '/home/davidlfr/public_html/sources/site.php'
Line '753'
Function 'request_page'
Args

'catalogues'

true


File '/home/davidlfr/public_html/site/index.php'
Line '51'
Function 'do_site'
Args  


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83845
Avatar

Should be a simple case of editing the category and ticking view access for the right group(s).


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

Community saint

OK- good to narrow it down to permissions although I have been trying that. I thought that the globals could be overridden by the page permissions - must be the other way around.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83848
Avatar

It's definitely not privileges, it's view access, which works a bit differently. There are no globals for view access, it is set independently for each category/page/zone.


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

Community saint

Thank you - I thought I had done it but evidently there are 2 'Links' permission sets - which I knew but had set them already (till I checked the tree permissions - oops) set visibility - ok now but the add/edit/delete menus aren't showing up for the member usergrop yet - so something else isn't set right.

Trying to figure out permissions and which switches are on/off can be a real PAIN IMHO - I almost always dread setting or resetting them.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83858
Avatar

Community saint

Well I know that the add/edit/delete function controls not showing up has nothing to do with setting Submission permissions. I went to: Admin Zone » Security » Choose » Privileges: Submission and clicked all the permissions to ON then tried it using SU with the 'test_1' member and it still doesn't show up.

Still wondering what is blocking this function from showing up to use?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83859
Avatar

Community saint

friendly said

Well I know that the add/edit/delete function controls not showing up has nothing to do with setting Submission permissions. I went to: Admin Zone » Security » Choose » Privileges: Submission and clicked all the permissions to ON then tried it using SU with the 'test_1' member and it still doesn't show up.

Still wondering what is blocking this function from showing up to use?

Go to the catalog page that is giving you troubles and check the permissions for the usergroup that is giving you fits.

Steve
Back to the top
 
Posted
Rating:
#83860
Avatar

If it's overridden for the category that wouldn't make a difference. If you don't want the category to have privileges any different, leave them set as 'Use defaults' (but always leave view access checked).


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

Community saint

sholzy said

friendly said

Well I know that the add/edit/delete function controls not showing up has nothing to do with setting Submission permissions. I went to: Admin Zone » Security » Choose » Privileges: Submission and clicked all the permissions to ON then tried it using SU with the 'test_1' member and it still doesn't show up.

Still wondering what is blocking this function from showing up to use?

Go to the catalog page that is giving you troubles and check the permissions for the usergroup that is giving you fits.

I had done that thinking that the highest permissions were overridden by what was checked there.  I have now set the pages back to user defaults. See next reply to Chris.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83862
Avatar

Community saint

Chris Graham said

If it's overridden for the category that wouldn't make a difference. If you don't want the category to have privileges any different, leave them set as 'Use defaults' (but always leave view access checked).

So as I said to sholtzy I have now set the pages back to user defaults and in the Admin Zone Security Choose Privileges: Submission area I have checked on + for all submission for all members for:

Submit/edit/delete Low/Medium/High impact content as well as Bypass validator Low/Medium/High impact content

I did not check the boxes to allow delete/edit for others users for Low/Medium/High impact content I'm sure I am missing something but I am running out of options. There is a cork still plugging the bottle somewhere…


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Item has a rating of 5 (Liked by sholzy)  
Rating:
#83863
Avatar

Sholzy may be alluding to something important – that you can set permissions on the catalogue itself, as well as it's categories. So try editing the catalogue itself and you may see you set some there.


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

Community saint

Catalogues and Categories are all visible and still set to Defaults (all gray)

If it helps this is on the http:davidlfriend.com website - First page - Commmunity Menu - Links are here button


Last edit: by friendly


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83865
Avatar

Missing view access to CMS zone maybe?


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
Item has a rating of 5 (Liked by sholzy)  
Rating:
#83867
Avatar

Community saint

Chris Graham said

Missing view access to CMS zone maybe?
Is that necessary since all the function controls should show up under the Category? but to answer your question visibility is off there

~~~~~~~~~~~~~~~~~~~~~~~~~

Turned on visibility to CMS and to Catalogues and the controls appeared. Thanks ...sorry I made that one so hard.


Last edit: by friendly


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#83868
Avatar

Success :). The key to all this is privileges and view permissions have completely separate schemes.

Privileges are inherited. For catalogues it goes
Global > Catalogue > Category

So they inherit all the way from global, as long as not overridden.

But view permissions work on a basis of needing to get past successive barriers.

To view
Site zone > catalogues page > Catalogue > Category

To submit/edit/delete
CMS zone > cms_catalogues page


Last edit: by Chris Graham


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

Oh yes, I see an obvious point of confusion now you make me write this up ;).

To submit/edit/delete you need view permission all the way to the page that does it.

That's probably what confused you most.


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

Community saint

Chris Graham said

Oh yes, I see an obvious point of confusion now you make me write this up ;).

To submit/edit/delete you need view permission all the way to the page that does it.

That's probably what confused you most.
Last piece to the puzzle for me… Thanks again.



Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Expand