HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

ocPortal 8 RC5 released

Login / Search

 [ Join | More ]
 
Posted
Rating:
#83812
Avatar

ocStaff (admin)

Comment: #news_293

mythus said

I found another problem for you Chris! Aren't you excited?

Anyway, the error, I think has to do with making a post by copy/pasting a post you wrote in a word program (ie Microsoft Word, LibreOffice Writer, Calligra Words, ect...)

You see, I wrote a post in LibreOffice Writer and then pasted it into a new post on my forum - running rc4. It now not only has these distracting section marks that luckily do not show up in a posted post, but if I add some information that I want as Out Of Character info (it is a RP forum/post), and thus make use of HIDE tags, the hide tag will not expand in the finished post once posted.

It is important to note that this issue only happens if the post itself was copy/pasted from an external office program. If you simply use HIDE in a post that you write completely in the forum editor, HIDE will work as normal. I am thinking it has something to do with the section marks.

Since I have upgraded to rc5, I tried again, and the error remains. I have made the following screenshots to show a little more about what I mean, using rc5.



The above shot shows the post, in edit mode, with the section dividers that I am talking about. See the dotted line boxes around each supposed paragraph?



This one shows the information in the HIDE tags. Yes, there is a table in hide tags, but that has worked before as well. Notice how it keeps everything in section boxes, could that be the problem?

You may or may not see Chris's Cheat Code (TM) at the bottom. I had to put that in otherwise it spits out comcode formatting errors and won't post *groans*.



This final shot shows the post once submitted. It shows up fine, but the OOC Hide box will not expand.
Could I have a link to this post please.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83813
Avatar

Community saint

Chris Graham said

Could I have a link to this post please.

View topic: A Destiny Entangled - Legends of NorOva

Legends of Nor'Ova: A site powered by ocPortal; a role playing community where you can purchase the LofN core rule book and participate in the forum-based RPG.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."

Back to the top
 
Posted
Rating:
#83814
Avatar

ocStaff (admin)

mythus said

Showing "More Replies" shows something other than more replies, it shows the front page of this site, with an internal error warning!



Fixed



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83815
Avatar

Community saint

Chris Graham said

mythus said

Showing "More Replies" shows something other than more replies, it shows the front page of this site, with an internal error warning!



Fixed
Yup, thanks!

Legends of Nor'Ova: A site powered by ocPortal; a role playing community where you can purchase the LofN core rule book and participate in the forum-based RPG.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."

Back to the top
 
Posted
Rating:
#83816
Avatar

ocStaff (admin)

mythus said

Chris Graham said

Could I have a link to this post please.

View topic: A Destiny Entangled - Legends of NorOva

Actually I can see what's wrong from your post now. It's not actually a bug. What you have is the 'hide' tag starting inside a 'p' tag, and ending inside another 'p' tag. So when it is all rendered, the HTML will be mangled – what you intended to be encapsulated inside the hide tag won't be by the browser, as it respects the HTML from Comcode and the HTML from the editor, altogether.

We turned on the CKEditor tag markers for v8, and in this case it actually helps see the problem.

Normally the WYSIWYG editor uses line breaks (br's) rather than paragraphs. But your pasted code must have set a precedent. You'll need to somehow get those hide tags outside the 'p's.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83817
Avatar

Community saint

Chris Graham said

mythus said

Chris Graham said

Could I have a link to this post please.

View topic: A Destiny Entangled - Legends of NorOva

Actually I can see what's wrong from your post now. It's not actually a bug. What you have is the 'hide' tag starting inside a 'p' tag, and ending inside another 'p' tag. So when it is all rendered, the HTML will be mangled – what you intended to be encapsulated inside the hide tag won't be by the browser, as it respects the HTML from Comcode and the HTML from the editor, altogether.

We turned on the CKEditor tag markers for v8, and in this case it actually helps see the problem.

Normally the WYSIWYG editor uses line breaks (br's) rather than paragraphs. But your pasted code must have set a precedent. You'll need to somehow get those hide tags outside the 'p's.

OK, I was able to fix that then.

Basically, I needed to hit the source button, and remove every single paragraph html tag that was in the post. Only removing the paragraph tags from around the HIDE tags, and the items within the HIDE tags did not work, every single paragraph tag had to be removed.

Which means that after returning to the WYSIWYG editor screen, it all became one big paragraph, that I had to break up into a readable post. I also had to remove the old HIDE tags and put in new ones.

Why paragraph tags and such are put in instead of just br tags when pasted from LO Writer, I do not know.

Legends of Nor'Ova: A site powered by ocPortal; a role playing community where you can purchase the LofN core rule book and participate in the forum-based RPG.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."

Back to the top
 
Posted
Rating:
#83844
Avatar

Well-settled

When using Keep_su it keeps telling me some accounts don't have access when they do then gives this stack trace

â€ceZanulf” does not have a sufficient access level for this category. (version: 8-RC5, PHP version: 5.2.17, URL: /forum/pg/forumview/misc/forum-home/index.php?keep_fatalisti
c=1&keep_su=Zanulf)

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/thenewh6/public_html/pf/sources/failure.php'
Line    '683'
Function    'get_html_trace'
Args   

File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '979'
Function    '_fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '237'
Function    'fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '939'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '1,009'
Function    'warn_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/permissions.php'
Line    '97'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'

''

false


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '658'
Function    'access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '54'
Function    'ocf_get_forum_view'
Args   
0

30

1


File    '/home/thenewh6/public_html/pf/forum/pages/modules/forumview
.php'
Line    '241'
Function    'ocf_render_forumview'
Args   
1

''

30

0

1

NULL


File    '/home/thenewh6/public_html/pf/sources/zones.php'
Line    '424'
Function    'run'
Class    'Module_forumview'
Object    Module_forumview::__set_state(array( ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'forum/pages/modules/forumview.php'

'forumview'


File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'forumview'

true


File    '/home/thenewh6/public_html/pf/forum/index.php'
Line    '51'
Function    'do_site'

Hello I'm The Hamburgler and if you want to know more please visit my website, The New Hut All your Burgers are belonging to me!
Back to the top
 
Posted
Rating:
#83846
Avatar

ocStaff (admin)

Hamburgler said

When using Keep_su it keeps telling me some accounts don't have access when they do then gives this stack trace

â€ceZanulf” does not have a sufficient access level for this category. (version: 8-RC5, PHP version: 5.2.17, URL: /forum/pg/forumview/misc/forum-home/index.php?keep_fatalisti
c=1&keep_su=Zanulf)

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/thenewh6/public_html/pf/sources/failure.php'
Line    '683'
Function    'get_html_trace'
Args   

File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '979'
Function    '_fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '237'
Function    'fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '939'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '1,009'
Function    'warn_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/permissions.php'
Line    '97'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'

''

false


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '658'
Function    'access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '54'
Function    'ocf_get_forum_view'
Args   
0

30

1


File    '/home/thenewh6/public_html/pf/forum/pages/modules/forumview
.php'
Line    '241'
Function    'ocf_render_forumview'
Args   
1

''

30

0

1

NULL


File    '/home/thenewh6/public_html/pf/sources/zones.php'
Line    '424'
Function    'run'
Class    'Module_forumview'
Object    Module_forumview::__set_state(array( ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'forum/pages/modules/forumview.php'

'forumview'


File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'forumview'

true


File    '/home/thenewh6/public_html/pf/forum/index.php'
Line    '51'
Function    'do_site'

If it says they don't, I'm pretty sure that will be reliable. First check the view permissions by editing the forum they were looking in, second check they weren't put on probation.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83849
Avatar

Well-settled

Chris Graham said

Hamburgler said

When using Keep_su it keeps telling me some accounts don't have access when they do then gives this stack trace

â€ceZanulf” does not have a sufficient access level for this category. (version: 8-RC5, PHP version: 5.2.17, URL: /forum/pg/forumview/misc/forum-home/index.php?keep_fatalisti
c=1&keep_su=Zanulf)

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/thenewh6/public_html/pf/sources/failure.php'
Line    '683'
Function    'get_html_trace'
Args   

File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '979'
Function    '_fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '237'
Function    'fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '939'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '1,009'
Function    'warn_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/permissions.php'
Line    '97'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'

''

false


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '658'
Function    'access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '54'
Function    'ocf_get_forum_view'
Args   
0

30

1


File    '/home/thenewh6/public_html/pf/forum/pages/modules/forumview
.php'
Line    '241'
Function    'ocf_render_forumview'
Args   
1

''

30

0

1

NULL


File    '/home/thenewh6/public_html/pf/sources/zones.php'
Line    '424'
Function    'run'
Class    'Module_forumview'
Object    Module_forumview::__set_state(array( ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'forum/pages/modules/forumview.php'

'forumview'


File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'forumview'

true


File    '/home/thenewh6/public_html/pf/forum/index.php'
Line    '51'
Function    'do_site'

If it says they don't, I'm pretty sure that will be reliable. First check the view permissions by editing the forum they were looking in, second check they weren't put on probation.
Had 2 users who previously not had any problems and made lots of posts say its let them post once then stopped them posting saying they don't have access to that category when they have had it previously, 2 minutes previously.

Hello I'm The Hamburgler and if you want to know more please visit my website, The New Hut All your Burgers are belonging to me!
Back to the top
 
Posted
Rating:
#83850
Avatar

Well-settled

Chris Graham said

Hamburgler said

When using Keep_su it keeps telling me some accounts don't have access when they do then gives this stack trace

â€ceZanulf” does not have a sufficient access level for this category. (version: 8-RC5, PHP version: 5.2.17, URL: /forum/pg/forumview/misc/forum-home/index.php?keep_fatalisti
c=1&keep_su=Zanulf)

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/thenewh6/public_html/pf/sources/failure.php'
Line    '683'
Function    'get_html_trace'
Args   

File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '979'
Function    '_fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '237'
Function    'fatal_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '939'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '1,009'
Function    'warn_exit'
Args   
object


File    '/home/thenewh6/public_html/pf/sources/permissions.php'
Line    '97'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'

''

false


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '658'
Function    'access_denied'
Args   
'CATEGORY_ACCESS_LEVEL'


File    '/home/thenewh6/public_html/pf/sources/ocf_forumview.php'
Line    '54'
Function    'ocf_get_forum_view'
Args   
0

30

1


File    '/home/thenewh6/public_html/pf/forum/pages/modules/forumview
.php'
Line    '241'
Function    'ocf_render_forumview'
Args   
1

''

30

0

1

NULL


File    '/home/thenewh6/public_html/pf/sources/zones.php'
Line    '424'
Function    'run'
Class    'Module_forumview'
Object    Module_forumview::__set_state(array( ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'forum/pages/modules/forumview.php'

'forumview'


File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'forumview'

true


File    '/home/thenewh6/public_html/pf/forum/index.php'
Line    '51'
Function    'do_site'

If it says they don't, I'm pretty sure that will be reliable. First check the view permissions by editing the forum they were looking in, second check they weren't put on probation.
It seems it had lost all the permissions for new ranks i spent 3 hours setting on saturday :( better go and re-do them

Hello I'm The Hamburgler and if you want to know more please visit my website, The New Hut All your Burgers are belonging to me!
Back to the top
 
Posted
Rating:
#83851
Avatar

ocStaff (admin)

Did you make them clubs later on? If you tick this, it will delete permissions for them. It does say clubs don't have permissions but I guess that is very easily overlooked.

You can set up permissions very quickly using the "copy permissions from" field on the edit usergroup form. Just absorb permissions for some group that is close to what you want, then make the subsequent tweaks.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: