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.


Please check back over the form - you did not fill in all fields on the form correctly

Login / Search

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

Fan in training

Hello,

When I tried to edit my language file earlier to rephrase some stuff, I came across this error:


You have permission to . Stack traces help programmers identify the cause of a problem so are good for making bug reports. As the page is POSTed clicking the link will resubmit the form.

An error has occurred


Please check back over the form - you did not fill in all fields on the form correctly

How can I fix this? I edited a text earlier, and It worked, untill I tried to edit another line, and I kept encountering that error.

Hope to hear from you soon!

Thanks!
Back to the top
 
Posted
Rating:
#77435
Avatar

Hi,

The stack trace it is offering to give you would help us debug it a lot. And/Or if you can give precise step by step instructions on how to reproduce the problem (i.e. exactly what language file edited, exactly what changes made [if any], along with a copy of your current .ini file override for what is being edited).


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

Fan in training

Hey!

When I edit something in

adminzone/index.php?page=admin_lang&type=misc&lang=EN&lang_f
ile=global#jmp_DESCRIPTION_LANGUAGE

It gives me the above message. I edited the 'We hope you enjoy your visit here. Please join or login if you have joined before.' part.

But it seems like it isn't just for that part. I edited the other blanks too e.g I tried changing 'Leave Feedback' to "leave A Feedback' and I got that error as well.

So i guess I cant edit that entire file anymore.

Previous change I made that WORKED:

Changing

Welcome to our newest member, {1}

to

Say hello to {1}, our newest member!

[ along with a copy of your current .ini file override for what is being edited).]

Sorry, I am new to this and have not much knowledge in PHP. What does the above line mean?
Back to the top
 
Posted
Rating:
#77437
Avatar

I need you to attach lang_custom/EN/global.ini. Just zip it and attach it to a reply here.

The bug probably depends on how that file has been edited previously if it's stopped working now.


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

Fan in training

Attachment
» Download: global.ini (2 Kb, 158 downloads so far)


There you go! Hope it's the correct file!


Last edit: by Appletards
Back to the top
 
Posted
Rating:
#77455
Avatar

I'm afraid I can't explain how this could happen, unless it's a server issue. There's an unofficial PHP extension called suhosin that imposes limits on PHP, like the maximum number of fields – it may be that the server has this and it is interfering.

I suppose we could split up the full form, but to be honest that's just more code, and annoying to use. Modern browsers can handle long forms okay.

You might want to use the contextual language editor. If you're at a page, there's an option in the dropdown in the footer for editing just the language strings used on the page you're on.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: