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.


CCP_NO_CLOSE and An error has occurred

Login / Search

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

Well-settled

Had another "A language entry is missing:"

All I did before this was add a new usergroup and 2 clubs and then deleted the usergroup that I created.
(then went to work)
Got home logged into site clicked on the forums and noticed this right away.

A language entry is missing: CCP_NO_CLOSE

Checked if this was actually missing and it seems to be all there.

Also I got this in my PT:

Notification: An error occurred on the 'start' page'

Comcode validation error () at line 364

This message was generated automatically and sent to you due to your notification settings. You cannot reply. — An error occurred at: http://tisnartgames.com/data/comcode_helper.php?type=step2&tag=right&field_name=&keep_session=454551805 The full error details follow: PHP NOTICE [8] Undefined variable: descriptiont in sources/comcode_add.php on line 533 (version: 8.0.1, PHP version: 5.3.8, URL: /data/comcode_helper.php?type=step2&tag=right&field_name=&keep_session=454551805)

An error has occurred

PHP NOTICE [8] Undefined variable: descriptiont in sources/comcode_add.php on line 533 (version: 8.0.1, PHP version: 5.3.8, URL: /data/comcode_helper.php?type=step2&tag=right&field_name=&keep_session=454551805)

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/tisnartw/public_html/tisnartgames.com/sources/failure.php'
Line '701'
Function 'get_html_trace'
Args

File '/home/tisnartw/public_html/tisnartgames.com/sources/global2.php'
Line '979'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: descriptiont in sources/comcode_add.php on line 533'


File '/home/tisnartw/public_html/tisnartgames.com/sources/failure.php'
Line '217'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: descriptiont in sources/comcode_add.php on line 533'


File '/home/tisnartw/public_html/tisnartgames.com/sources/global2.php'
Line '853'
Function '_ocportal_error_handler'
Args

'notice'

8

'Undefined variable: descriptiont'

'sources/comcode_add.php'

533


File '/home/tisnartw/public_html/tisnartgames.com/sources/comcode_add.php'
Line '533'
Function 'ocportal_error_handler'
Args ...

File '/home/tisnartw/public_html/tisnartgames.com/data/comcode_helper.php'
Line '49'
Function 'comcode_helper_script'
Args

//
This notice was in my PT 4 times and once more while I was writting this
I don't know what to make of it?

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Item has a rating of 5 (Liked by Tisnart)  
Rating:
#85632
Avatar

This should fix the second problem.

Attachment
sources/comcode_add.php
» Download: comcode_add.php (29 Kb, 87 downloads so far)


I can't see what could cause that CCP language string error, except possibly a corrupt language cache. Does it keep happening, or was it a one-off?


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

Well-settled

Thanx Chris
and yes it keeps happening ?

I just now deleted all the notifications that I had on that error and the message went away.
A language entry is missing: CCP_NO_CLOSE


Last edit: by Tisnart

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#85637
Avatar

If you add &keep_fatalistic=1 to the URL it should give a stack trace. That may help.


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

Well-settled

the message is gone now so i get no stack trace now..

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Item has a rating of 5 (Liked by BobSLiked by TisnartLiked by sholzy)  
Rating:
#85641
Avatar

lol. I guess that's good.

I've just worked it out though. It was a real pile of things.

The Comcode assistant had an error on a step, causing an error mail to be produced, which contained half-broken Comcode, which produced a Comcode error, which was written in Tempcode that was then run when you viewed the forum index (because you've set it to send notifications as PTs) and the Comcode errors failed to run out-of-context.

lol :lol:

Fixed 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:
#85642
Avatar

Well-settled

Lol, my head hurts now after that!
Thanx Chris

Making games is fun…having people play them is the reward!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: