Advertisement:

Author Topic: Small bug while splitting  (Read 2980 times)

Offline jindroush

  • Semi-Newbie
  • *
  • Posts: 66
  • CZE translator
Small bug while splitting
« on: May 24, 2004, 04:12:56 PM »
Hi,

I'm translating SMF to czech language, thus doing a wealth of reloads.

When I did split, I got the dialogue with possibility of going to new or old topic. After pressing reload (to see the translation) the following bug appeared:

Database Error
You have an error in your SQL syntax near 'LIMIT 1' at line 6
File: /var/www/forum/Sources/Subs-Boards.php
Line: 228

Using beta 5 on RH9, Apache 2.0.40, PHP 4.2.2, MySQL 3.23.54.

Tried to search the forums before posting, but found nothing. My apologies if it's a duplicate.

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: Small bug while splitting
« Reply #1 on: May 24, 2004, 06:18:55 PM »
IT's probably because it's trying to do the split AGAIN when you hit reload. However, this time the message you were splitting at had already been removed hence the error. Not all pages can be refreshed without causing errors.
I'm only a half geek really...

Offline jindroush

  • Semi-Newbie
  • *
  • Posts: 66
  • CZE translator
Re: Small bug while splitting
« Reply #2 on: May 24, 2004, 06:27:12 PM »
Yeah, I figured out what's {probably} wrong.

I just let you know because this looks to me like an unhandled error message. I think it would be kosher to print out something about missing topic or such... Just my $0.02

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: Small bug while splitting
« Reply #3 on: May 24, 2004, 06:52:07 PM »
Good point. :)
I'm only a half geek really...

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Small bug while splitting
« Reply #4 on: May 28, 2004, 07:44:34 PM »
Should be solved in cvs...

-[Unknown]