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 with an Error

Login / Search

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

Fan in action

I get this error when I try to validate/publish to my news section of my website...


An error has occurred

PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84 (version: 9.0.10, PHP version: 5.3.13, URL: /cms/index.php?page=cms_news&type=_ad&redirect=http%3A%2F%2Frbcj-hub.co.uk%2Findex.php%3Fpage%3Dstart&uploading=1)

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/rbcjhubc/public_html/sources/failure.php'
Line '805'
Function 'get_html_trace'
Args  
File '/home/rbcjhubc/public_html/sources/global.php(210) : eval()\'d code'
Line '1,042'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84'

File '/home/rbcjhubc/public_html/sources/failure.php'
Line '224'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84'

File '/home/rbcjhubc/public_html/sources/global.php(210) : eval()\'d code'
Line '905'
Function '_ocportal_error_handler'
Args

'notice'

8

'Undefined variable: has_member_category_access'

'sources/news_sitemap.php'

84

File '/home/rbcjhubc/public_html/sources/news_sitemap.php'
Line '84'
Function 'ocportal_error_handler'
Args ...
Function 'build_news_sitemap'
Args  

Parameters

label_for__title
Title
comcode__title
1
title
Updates
require__title
1
label_for__main_news_category
Main category
main_news_category
1
require__main_news_category
1
label_for__author
Source
require__author
1
label_for__post
News article
comcode__post
1
MAX_FILE_SIZE
8388608
post_parsed  
f_face
/
f_size  
f_colour  
post
Hello, and a Happy New Year to you all...!<br /> <br /> I&#39;ve started working on the site again, and am currently 33% into updating menu system to be more mobile friendly for our mobile/cell phone browsers amongst us.<br /> <br /> Hopefully, this should see the start of the site evolving into more than what it is...<br /> <br />
posting_ref_id
13057
label_for__validated
Validated
validated
1
tick_on_form__validated
0
require__validated
0
comcode__news
1
label_for__news
News summary
news  
news_parsed  
label_for__news_category
Secondary categories
require__news_category
0
label_for__file
Image
require__file
0
label_for__allow_rating
Allow rating
allow_rating
1
tick_on_form__allow_rating
0
require__allow_rating
0
label_for__allow_comments
Allow comments
allow_comments
1
require__allow_comments
0
label_for__notes
Notes
notes  
pre_f_notes
1
require__notes
0
meta_keywords
(array)
label_for__meta_keywords
(array)
require__meta_keywords
0
label_for__meta_description
Concise description
meta_description  
require__meta_description
0
label_for__award_3
Joke of the week
tick_on_form__award_3
0
require__award_3
0
http_referer
http://rbcj-hub.co.uk/cms/index.php?page=cms_news&type=ad&redirect=http%3A%2F%2Frbcj-hub.co.uk%2Findex.php%3Fpage%3Dstart&cat=1
post__is_wysiwyg
1
news__is_wysiwyg
1
Back to the top
 
Important!
Posted
Rating:
#101613
Avatar

Automated fix message

Roy 'a Day' Jones said

I get this error when I try to validate/publish to my news section of my website...


An error has occurred

PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84 (version: 9.0.10, PHP version: 5.3.13, URL: /cms/index.php?page=cms_news&type=_ad&redirect=http%3A%2F%2Frbcj-hub.co.uk%2Findex.php%3Fpage%3Dstart&uploading=1)

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/rbcjhubc/public_html/sources/failure.php'
Line '805'
Function 'get_html_trace'
Args  
File '/home/rbcjhubc/public_html/sources/global.php(210) : eval()\'d code'
Line '1,042'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84'

File '/home/rbcjhubc/public_html/sources/failure.php'
Line '224'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: has_member_category_access in sources/news_sitemap.php on line 84'

File '/home/rbcjhubc/public_html/sources/global.php(210) : eval()\'d code'
Line '905'
Function '_ocportal_error_handler'
Args

'notice'

8

'Undefined variable: has_member_category_access'

'sources/news_sitemap.php'

84

File '/home/rbcjhubc/public_html/sources/news_sitemap.php'
Line '84'
Function 'ocportal_error_handler'
Args ...
Function 'build_news_sitemap'
Args  

Parameters

label_for__title
Title
comcode__title
1
title
Updates
require__title
1
label_for__main_news_category
Main category
main_news_category
1
require__main_news_category
1
label_for__author
Source
require__author
1
label_for__post
News article
comcode__post
1
MAX_FILE_SIZE
8388608
post_parsed  
f_face
/
f_size  
f_colour  
post
Hello, and a Happy New Year to you all...!<br /> <br /> I&#39;ve started working on the site again, and am currently 33% into updating menu system to be more mobile friendly for our mobile/cell phone browsers amongst us.<br /> <br /> Hopefully, this should see the start of the site evolving into more than what it is...<br /> <br />
posting_ref_id
13057
label_for__validated
Validated
validated
1
tick_on_form__validated
0
require__validated
0
comcode__news
1
label_for__news
News summary
news  
news_parsed  
label_for__news_category
Secondary categories
require__news_category
0
label_for__file
Image
require__file
0
label_for__allow_rating
Allow rating
allow_rating
1
tick_on_form__allow_rating
0
require__allow_rating
0
label_for__allow_comments
Allow comments
allow_comments
1
require__allow_comments
0
label_for__notes
Notes
notes  
pre_f_notes
1
require__notes
0
meta_keywords
(array)
label_for__meta_keywords
(array)
require__meta_keywords
0
label_for__meta_description
Concise description
meta_description  
require__meta_description
0
label_for__award_3
Joke of the week
tick_on_form__award_3
0
require__award_3
0
http_referer
http://rbcj-hub.co.uk/cms/index.php?page=cms_news&type=ad&redirect=http%3A%2F%2Frbcj-hub.co.uk%2Findex.php%3Fpage%3Dstart&cat=1
post__is_wysiwyg
1
news__is_wysiwyg
1
This issue has been filed on the tracker as issue #1496, with a fix.


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.
Important!
 
Posted
Rating:
#101615
Avatar

Fan in action

Thank you
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: