Follow us on Twitter

1. Check the Documentation

2. Make a search

3. Read Support Rules
before posting

  • Index
  • » AceSEF
  • » Solved Issues
  • » Variable 'result' not set in router.php

Variable 'result' not set in - Forums Task Topic P 1 Id 1802

Variable 'result' not set in - Forums Task Topic P 1 Id 1802

Variable 'result' not set in router.php
#1 Top

Variable 'result' not set in router.php

Hi,

I got a "notice" error with Joomla 1.5.14 and AceSEF 1.1.3 in the login module :

Notice: Undefined variable: result in [...]/administrator/components/com_acesef/classes/mainrouter.php on line 459

Because this variable is not set before you test it. The problem can be solved by inserting

Code:

$result = FALSE;

in line 453 of this file.

Laurent
Non-Customer
useravatar
Offline
2 Posts
User info in posts
Administrator has disabled public posting
#2 Top

Re: Variable 'result' not set in router.php

Thak you very much, fixed.

Denis Dulici
Administrator
ranks
useravatar
Offline
2270 Posts
User info in posts
Administrator has disabled public posting
#3 Top

Re: Variable 'result' not set in router.php

More generally, it is recommended for devs to set your server to display notices. This way you can see what variables are not initialized and it is better for security...

Laurent
Non-Customer
useravatar
Offline
2 Posts
User info in posts
Administrator has disabled public posting
  • Index
  • » AceSEF
  • » Solved Issues
  • » Variable 'result' not set in router.php