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.


[v5.0.2 beta] Error editing user profile

Login / Search

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

Well-settled

Edit user profile shows up error:


 PHP NOTICE [8] Undefined variable: value in /opt/lampp/htdocs/mtbrrmag/sources/symbols.php on line 2051 (version: 5.0.2 beta 1, PHP version: 5.2.2, URL: /personalzone/editprofile/misc/2.htm?redirect=http%3A%3Aslas
h%3A%3Aslash%3Awww.mountainbike-rennrad-magazin.de%3Aslash%3A
site%3Aslash%3Amembers%3Aslash%3Aview%3Aslash%3Aadmind.htm)
Hier ist der 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    '/opt/lampp/htdocs/mtbrrmag/sources/failure.php
'
Line    '594'
Function    'get_html_trace'
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/global2.php
'
Line    '920'
Function    '_fatal_exit'
Args    

'PHP NOTICE [8] Undefined variable: value in /opt/lampp/htdocs/mtbrrmag/sources/symbols.php on line 2051'

File    '/opt/lampp/htdocs/mtbrrmag/sources/failure.php
'
Line    '161'
Function    'fatal_exit'
Args    

'PHP NOTICE [8] Undefined variable: value in /opt/lampp/htdocs/mtbrrmag/sources/symbols.php on line 2051'

File    '/opt/lampp/htdocs/mtbrrmag/sources/global2.php
'
Line    '779'
Function    '_ocportal_error_handler'
Args    

'notice'

8

'Undefined variable: value'

'/opt/lampp/htdocs/mtbrrmag/sources/symbols.php'

2051

File    '/opt/lampp/htdocs/mtbrrmag/sources/symbols.php
'
Line    '2,051'
Function    'ocportal_error_handler'
Args    

8

'Undefined variable: value'

'/opt/lampp/htdocs/mtbrrmag/sources/symbols.php'

2051

array ( 'lang' => 'DE', 'escaped' => array ( ), 'type' => 2, 'name' => 'RELY_SITE_DEFAULT', 'param' => array ( ), 'TEMPCODE_SETGET' => array ( ), 'CYCLES' => array ( ), 'PREPROCESSABLE_SYMBOLS' => array ( 'PAGE_LINK' => 1, 'SET' => 1, 'BLOCK' => 1, 'JAVASCRIPT_INCLUDE' => 1, 'CSS_INCLUDE' => 1, 'LOAD_PANEL' => 1, 'JS_TEMPCODE' => 1, 'CSS_TEMPCODE' => 1, 'LOAD_PAGE' => 1, 'FRACTIONAL_EDITABLE' => 1, ), 'a' => NULL, 'b' => NULL, 'c' => NULL, 'ret' => NULL, )

File    '/opt/lampp/htdocs/mtbrrmag/sources/tempcode.ph
p(1498) : eval()\'d code'
Line    '1'
Function    'evaluate_conventional_variable'
Args    

'DE'

array ( )

2

'RELY_SITE_DEFAULT'

array ( )

File    '/opt/lampp/htdocs/mtbrrmag/sources/tempcode.ph
p'
Line    '1,498'
Function    'eval'

File    '/opt/lampp/htdocs/mtbrrmag/sources/tempcode.ph
p(1477) : eval()\'d code(1) : eval()\'d code(1) : runtime-created function'
Line    '9'
Function    'evaluate'
Class    'ocp_tempcode'
Type    '->'
Object    object
Args    

Function    '__lambda_func'
Args    

array ( '_GUID' => 'dd76a2685d0fba5f819ef160b0816d03', 'SELECTED' => '_false', 'DISABLED' => '_false', 'CLASS' => '', 'NAME' => '-1', 'TEXT' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_1286645204d52ac640\']="echo evaluate_conventional_variable(\$current_lang,array(),2,\"RE
LY_SITE_DEFAULT\",\$parameters);"; ', 'seq_parts' => array ( 0 => array ( 0 => 'do_runtime_1286645204d52ac640', 1 => array ( ), 2 => 2, 3 => 'RELY_SITE_DEFAULT', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => true, 'codename' => ':container', 'cached_output' => NULL, )), )

'DE'

''

File    '/opt/lampp/htdocs/mtbrrmag/sources/tempcode.ph
p'
Line    '1,103'
Function    'call_user_func'
Args    

'\000lambda_500'

array ( '_GUID' => 'dd76a2685d0fba5f819ef160b0816d03', 'SELECTED' => '_false', 'DISABLED' => '_false', 'CLASS' => '', 'NAME' => '-1', 'TEXT' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_1286645204d52ac640\']="echo evaluate_conventional_variable(\$current_lang,array(),2,\"RE
LY_SITE_DEFAULT\",\$parameters);"; ', 'seq_parts' => array ( 0 => array ( 0 => 'do_runtime_1286645204d52ac640', 1 => array ( ), 2 => 2, 3 => 'RELY_SITE_DEFAULT', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => true, 'codename' => ':container', 'cached_output' => NULL, )), )

'DE'

''

File    '/opt/lampp/htdocs/mtbrrmag/sources/tempcode.ph
p'
Line    '1,056'
Function    'is_really_empty'
Class    'ocp_tempcode'
Type    '->'
Object    object
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/themes2.php
'
Line    '808'
Function    'is_empty'
Class    'ocp_tempcode'
Type    '->'
Object    object
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/ocf_members
_action2.php'
Line    '472'
Function    'nice_get_themes'
Args    

''

false

false

'RELY_SITE_DEFAULT'

File    '/opt/lampp/htdocs/mtbrrmag/personalzone/pages/
modules/editprofile.php'
Line    '94'
Function    'ocf_get_member_fields'
Args    

false

2

NULL

'dkopisch@europicture.de'

0

24

12

1969

0

array ( 1 => 80, 2 => '', 3 => '', 4 => '', 5 => 'dirkkopisch', 6 => 81, 7 => 'Kraichgau, Odenwald', 8 => '', 9 => 82, 10 => '', 11 => 2, 12 => 14, 13 => '', 14 => '', 15 => '', 16 => NULL, 17 => '', 18 => '', 19 => '', 20 => '', 21 => '', 22 => '', 23 => '', 24 => '', 25 => '', 26 => '', 27 => '', 28 => NULL, 29 => NULL, 30 => 4990, 31 => 1, 32 => NULL, 33 => 'Mountainbike und Rennrad Magazin', 34 => 'Chef-Moderator, Administrator und Redakteur', 35 => 'Dirk', 36 => 'Scott Genius 50 Modell 2009 Scott Voltage Scott Nitrous', 37 => 'Kraichgau, Odenwald', 38 => '', )

''

1

1

1

'DE'

1

1

2

'Dirk'

0

''

1

1

'*'

''

1263722040

File    '/opt/lampp/htdocs/mtbrrmag/personalzone/pages/
modules/editprofile.php'
Line    '67'
Function    'gui'
Class    'Module_editprofile'
Type    '->'
Object    Module_editprofile::__set_state(array( ))
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/zones.php'
Line    '336'
Function    'run'
Class    'Module_editprofile'
Type    '->'
Object    Module_editprofile::__set_state(array( ))
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/site.php'
Line    '958'
Function    'load_module_page'
Args    

'personalzone/pages/modules/editprofile.php'

'editprofile'

File    '/opt/lampp/htdocs/mtbrrmag/sources/site.php'
Line    '745'
Function    'request_page'
Args    

'editprofile'

true

File    '/opt/lampp/htdocs/mtbrrmag/personalzone/index.
php'
Line    '51'
Function    'do_site'
Args    
Back to the top
 
Posted
Rating:
#63467
Avatar

The attached should fix this.

Attachment
sources/symbols.php
» Download: symbols.php (63 Kb, 103 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:
#63481
Avatar

Well-settled

Fixed.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: