Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Bug in 3.3.3 & 3.3.4
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Bug in 3.3.3 & 3.3.4

Bug in 3.3.3 & 3.3.4 15 years, 3 months ago #7775

  • Refresh
In joomsef.php 918 row:

 
...
if (isset($string)) {
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `link` = '$string' AND `published` > 0";
}
elseif (isset($id) && $id != 0) {
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `id` = '$id' AND `published` > 0";
}
else {
// Search for direct link to component only
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `link` = 'index.php?option=$option' AND `published` > 0";
}
 
$db->setQuery($sql);
$row = $db->loadObject();
 
if (!empty($row)) {
if (!empty($row->[color=#800000][b]$columns[/b][/color])) $title = $row->name;
}
else {
...
 


Corrected:

 
...
if (isset($string)) {
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `link` = '$string' AND `published` > 0";
}
elseif (isset($id) && $id != 0) {
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `id` = '$id' AND `published` > 0";
}
else {
// Search for direct link to component only
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `link` = 'index.php?option=$option' AND `published` > 0";
}
 
$db->setQuery($sql);
$row = $db->loadObject();
 
if (!empty($row)) {
if (!empty($row->[color=#008000][b]name[/b][/color])) $title = $row->name;
}
else {
...
 

Re:Bug in 3.3.3 & 3.3.4 15 years, 2 months ago #8016

  • jaku
Thanks for your post. The error is a bit different but thanks for pointing to it. It will be fixed in the next release 3.3.6.
Last Edit: 15 years, 2 months ago by .

Re:Bug in 3.3.3 & 3.3.4 15 years, 2 months ago #8053

  • alankoifman
When will the nxt elease 3.3.6 be out probably...???

Re:Bug in 3.3.3 & 3.3.4 15 years, 2 months ago #8171

  • jaku
Hello,
it is already out.
  • Page:
  • 1
Přihlášení uživatele Prázdný