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 when selecting Create/edit author profile

Login / Search

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

Community saint

I get the following error when clicking the "Create/edit author profile" when a user other than admin who has privileges attempts to reach the author profile:

Code

Programming error: Integers and/or floats should not be passed into templates (VALUE): convert them to strings via integer_format/float_format/strval.
 

Bob
Back to the top
 
Posted
Rating:
#70829
Avatar

Can't reproduce this one. It may have been fixed. If not fixed in 7.1 please provide a stack trace.


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

Community saint

This is still an issue in 7.1.

It appears that it may only occur for members with whitespace in the username.

Bob
Back to the top
 
Posted
Rating:
#71029
Avatar

Stack trace please.


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

Community saint

Here's the stack trace:

Code

File    '/home/xxxxxx/public_html/xxxxxx/sources/failure.php'
Line    '669'
Function    'get_html_trace'
Args   

File    '/home/xxxxxx/public_html/xxxxxx/sources/global2.php'
Line    '936'
Function    '_fatal_exit'
Args   
object


File    '/home/xxxxxx/public_html/xxxxxx/sources/failure.php'
Line    '227'
Function    'fatal_exit'
Args   
object


File    '/home/xxxxxx/public_html/xxxxxx/sources/global2.php'
Line    '896'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/xxxxxx/public_html/xxxxxx/sources/tempcode.php'
Line    '1,416'
Function    'warn_exit'
Args   
object


File    '/home/xxxxxx/public_html/xxxxxx/sources/tempcode.php'
Line    '565'
Function    'bind'
Class    'ocp_tempcode'
Type    '->'
Object    object
Args   
array ( '_GUID' => '1b39e13d1a09573c67522e2f3b7ebf14', 'NAME' => 'forum_handle', 'VALUE' => 4, )

'FORM_SCREEN_INPUT_HIDDEN'


File    '/home/xxxxxx/public_html/xxxxxx/sources/templates.php'
Line    '221'
Function    'do_template'
Args   
'FORM_SCREEN_INPUT_HIDDEN'

array ( '_GUID' => '1b39e13d1a09573c67522e2f3b7ebf14', 'NAME' => 'forum_handle', 'VALUE' => 4, )


File    '/home/xxxxxx/public_html/xxxxxx/cms/pages/modules/cms_authors.php'
Line    '186'
Function    'form_input_hidden'
Args   
'forum_handle'

4


File    '/home/xxxxxx/public_html/xxxxxx/cms/pages/modules/cms_authors.php'
Line    '82'
Function    '_ad'
Class    'Module_cms_authors'
Type    '->'
Object    Module_cms_authors::__set_state(array( ))
Args   

File    '/home/xxxxxx/public_html/xxxxxx/sources/zones.php'
Line    '387'
Function    'run'
Class    'Module_cms_authors'
Type    '->'
Object    Module_cms_authors::__set_state(array( ))
Args   

File    '/home/xxxxxx/public_html/xxxxxx/sources/site.php'
Line    '960'
Function    'load_module_page'
Args   
'cms/pages/modules/cms_authors.php'

'cms_authors'


File    '/home/xxxxxx/public_html/xxxxxx/sources/site.php'
Line    '749'
Function    'request_page'
Args   
'cms_authors'

true


File    '/home/xxxxxx/public_html/xxxxxx/cms/index.php'
Line    '50'
Function    'do_site'
Args   
Back to the top
 
Posted
Rating:
#71056
Avatar

Great, thanks. Fix attached.

Attachment
cms/pages/modules/cms_authors.php
» Download: cms_authors.php (13 Kb, 88 downloads so far)


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

Community saint

Thanks, Chris.

This is fixed.

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

Quick reply   Contract

Your name:
Your message: