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.


Error messages

Login / Search

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

Community saint

I'm receiving by email these error messages and the matching comcode…

Code

 - ERROR: A resource, :members:type=view:id=monotoba, requested within some Comcode (the page tag) does not exist.
  - [page caption="Monotoba"]members:type=view:id=monotoba[/page]

 - ERROR: A resource, :catalogues:type=category:id=41, requested within some Comcode (the page tag) does not exist.
  - [page caption="contributors are acknowledged"]catalogues:type=category:id=41[/page]

The links work and the pages exist. Is my comcode written wrong? I'm not really sure where to look first at solving these nuisance error emails. Any help is appreciated.

Thanks!

Steve
Back to the top
 
Posted
Rating:
#76487
Avatar

"site:" should be prefixed to those page links.


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

Community saint

I prefixed "site:" as you said but I still get those errors.

ERROR: A resource, :site:catalogues:type=category:id=41, requested within some Comcode (the page tag) does not exist.

It appears a colon is being prefixed to the links.

Steve
Back to the top
 
Posted
Rating:
#76489
Avatar

oh whoops yeah you're using the wrong syntax

Code

[page="site:catalogues:type=category:id=41"]contributors are acknowledged[/page]

or

Code

[page type="category" id="41" caption="contributors are acknowledged"]catalogues[/page]
(I think)

Haven't tried the latter one in years, it's kind of lame.


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

Community saint

Thanks, Chris! I used the first example you gave and it worked.

The code I posted was generated by clicking on the "comcode: add tag" button in the editor and going to the "page" link and filling in the fields. Somewhere I remember seeing the syntax I used so that is what I used in the "Tag contents" field. It worked, but would generate nuisance emails once in awhile, mainly after saving an edited page.

Also, if you click on the comcode help link icon just above the editor and go down to the "links" section, it gives this example…

Code

[page="cms" caption="Content Management"]cms[/page]
which is close to your first example. If I remember correctly (its been a few months), I tried this example but all I got was errors and a non-functioning link.

Steve
Back to the top
 
Posted
Rating:
#76530
Avatar

Thanks.

It would have failed erratically as the non-specified zone would be implied as "current zone", which is bad because sometimes Comcode parses in a different context.


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
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: