Keyword

Error message in login mod_k2_user

  • ULF ARVIDSSON
  • ULF ARVIDSSON's Avatar Topic Author
  • Offline
  • New Member
More
12 years 10 months ago #59180 by ULF ARVIDSSON
Error message in login mod_k2_user was created by ULF ARVIDSSON
( ! ) Notice: Undefined variable: children in D:\wamp\www\millis\modules\mod_k2_user\helper.php on line 94
Call Stack
# Time Memory Function Location
1 0.0007 379944 {main}( ) ..\index.php:0
2 0.6126 12125056 JSite->render( ) ..\index.php:49
3 0.6383 12329192 JDocumentHTML->render( ) ..\application.php:265
4 0.6383 12329304 JDocumentHTML->_renderTemplate( ) ..\html.php:397
5 0.7353 12882336 JDocumentHTML->getBuffer( ) ..\html.php:599
6 0.7354 12882976 JDocumentRendererModules->render( ) ..\html.php:339
7 0.7717 12946680 JDocumentRendererModule->render( ) ..\modules.php:37
8 0.7723 12949024 JModuleHelper::renderModule( ) ..\module.php:101
9 0.7789 13026968 require( 'D:\wamp\www\millis\modules\mod_k2_user\mod_k2_user.php' ) ..\helper.php:169
10 0.7938 13071688 modK2UserHelper::getMenu( ) ..\mod_k2_user.php:67

This shows after login and the login module does not show all items.

Please Log in or Create an account to join the conversation.

  • ULF ARVIDSSON
  • ULF ARVIDSSON's Avatar Topic Author
  • Offline
  • New Member
More
12 years 10 months ago #59181 by ULF ARVIDSSON
Replied by ULF ARVIDSSON on topic Re: Error message in login mod_k2_user
Looks like an incomplete translation file (se-SV) caused the login frame not to show up fully after login. Now when the language file is complete it looks ok again. Case closed!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago - 12 years 7 months ago #59182 by Moriso
Replied by Moriso on topic Re: Error message in login mod_k2_user
I have the same problem that you said

Notice: Undefined variable: children in C:\wamp\www\Articles\modules\mod_k2_login\helper.php on line 94
Call Stack
# Time Memory Function Location
1 0.0011 383696 {main}( ) ..\index.php:0
2 0.4506 11902704 JSite->render( ) ..\index.php:49
3 0.4532 11912568 JDocumentHTML->render( ) ..\application.php:265
4 0.4532 11912568 JDocumentHTML->_renderTemplate( ) ..\html.php:397
5 0.4687 12173248 JDocumentHTML->getBuffer( ) ..\html.php:599
6 0.4687 12173624 JDocumentRendererModules->render( ) ..\html.php:339
7 0.4759 12184800 JDocumentRendererModule->render( ) ..\modules.php:37
8 0.4760 12186760 JModuleHelper::renderModule( ) ..\module.php:101
9 0.4797 12266696 require( 'C:\wamp\www\Articles\modules\mod_k2_login\mod_k2_login.php' ) ..\helper.php:169
10 0.4864 12332504 modK2LoginHelper::getMenu( ) ..\mod_k2_login.php:67

If your problem Solved please lead me how can i solve it
Thank you

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #59183 by william white
Replied by william white on topic Re: Error message in login mod_k2_user
What happens if you turn error reporting to "none"

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago - 12 years 7 months ago #59184 by Moriso
Replied by Moriso on topic Re: Error message in login mod_k2_user
if you mean that turn off the wamp Eror reporting off >> when I turn it off it works good :unsure: what 's going on an why it 's happening if there is an error so why Wamp mention it :pinch: :blink: ..Thanks for supporting

the joomla version is 2.5
the k2 version is the last version

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #59185 by william white
Replied by william white on topic Re: Error message in login mod_k2_user
Instead of changing wamp error reporting you can probably also go to joomla global settings and set error reporting to none. The message you are showing is a notice...if it was a error you would most likely get a blank page.
Ensure the module is functioning properly and leave the notices off

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago - 12 years 5 months ago #59186 by Víctor
Replied by Víctor on topic Re: Error message in login mod_k2_user
I have the same problem:
Log in  or Create an account to join the conversation.

More
12 years 5 months ago #59187 by william white
Replied by william white on topic Re: Error message in login mod_k2_user
If you are using wamp and the Joomla Global setting error reporting to none did not work try
editing your php.ini file
and
replace the error_reporting line with
error_reporting = E_ALL & ~E_NOTICE
this may work

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #59188 by Víctor
Replied by Víctor on topic Re: Error message in login mod_k2_user
It didn't work for me . What i have to do?

Thank you,

Víctor.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #59189 by Rush_Sykes
Replied by Rush_Sykes on topic Re: Error message in login mod_k2_user
I insert one code here and it fixed :

function getMenu($params){
$items = array();
$children = array();
if($params->get('menu')) {
$menu = &JSite::getMenu();
$items = $menu->getItems('menutype', $params->get('menu'));
}

just init the Variable of children .

Please Log in or Create an account to join the conversation.