Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#35 closed bug (worksforme)

Error in lang.lib

Reported by: narnua Owned by: lioen
Priority: minor Milestone:
Component: unknown Keywords:
Cc:

Description (last modified by lioen)

for example on: http://localhost/bewelcome/htdocs/bw/member.php?cid=admin

Notice: Trying to get property of non-object in C:\wamp\www\bewelcome\htdocs\bw\lib\lang.php on line 183

Change History (6)

comment:1 Changed 10 years ago by lioen

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 10 years ago by lioen

  • Description modified (diff)

Resolution : Overlooked check when translation is missing

comment:3 Changed 10 years ago by lioen

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 10 years ago by lioen

  • Owner changed from somebody to lioen
  • Status changed from reopened to new

comment:5 in reply to: ↑ description Changed 10 years ago by steinwinde

Replying to narnua:

for example on: http://localhost/bewelcome/htdocs/bw/member.php?cid=admin

Notice: Trying to get property of non-object in C:\wamp\www\bewelcome\htdocs\bw\lib\lang.php on line 183

This problem could easily been fixed by inserting

if (!$rEnglish) {
   return ''; //return '<!-- empty: ' . $code . ' -->';
}

in line 203ff of lang.php. Disadvantage: You don't recognise missing words in the page, you have to look into the HTML. What are the alternatives?

comment:6 Changed 10 years ago by steinwinde

  • Resolution set to worksforme
  • Status changed from new to closed

Probably have been fixed by Jean-Yves, see SVN releases 3023, 3024, which were aimed at lang.php.

I set this ticket to "worksforme", because I can't see any "Notices" on

http://test.bewelcome.org/bw/member.php?cid=admin

anymore.

Note: See TracTickets for help on using tickets.