jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Pages: 1 [2] 3

Author Topic: How do translated articles work?  (Read 47121 times)

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #15 on: July 31, 2014, 02:26:28 pm »

These are the error I get. If I disable the jDiction multilanguage package plugin it goes back to normal.

15 - unknown [expr_type] = reserved in "WHERE expression subtree" [21]

unknown [expr_type] = reserved in "WHERE expression subtree" [21]
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #16 on: July 31, 2014, 02:38:20 pm »

Could you send me a PM with superuser and the url?
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #17 on: July 31, 2014, 04:29:40 pm »

please try to remove the comments in the query in file /components/com_s2framework/s2framework/libs/model/model.php at line 1124

there should be something like:
Code: [Select]
                # Removed directory from order by because it makes the query SLOW
                # Instead we run a much faster query below to re-order the output array
please remove both lines.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #18 on: July 31, 2014, 04:34:55 pm »

Can't seem to find those lines. I attach the file here so you can take a look.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #19 on: July 31, 2014, 04:36:41 pm »

maybe its in /components/com_jreviews/jreviews/controllers/categories_controller.php:239
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #20 on: July 31, 2014, 04:39:04 pm »

Can't find it there either.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #21 on: July 31, 2014, 04:41:18 pm »

now that should be the correct file ;-) /components/com_jreviews/jreviews/models/category.php:575
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #22 on: July 31, 2014, 04:46:08 pm »

Found it. But removing those two lines made no difference. :/
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #23 on: July 31, 2014, 04:55:14 pm »

Please post the file.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #24 on: July 31, 2014, 04:57:44 pm »

There you.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #25 on: July 31, 2014, 05:11:55 pm »

Did you really removed these 2 lines because it doesn't look so.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #26 on: July 31, 2014, 05:42:16 pm »

Yes, but since it didn't work I put them back.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #27 on: July 31, 2014, 05:42:55 pm »

please remove the comments.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xaman

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: How do translated articles work?
« Reply #28 on: July 31, 2014, 05:47:13 pm »

Done.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: How do translated articles work?
« Reply #29 on: July 31, 2014, 06:18:51 pm »

So its fixed.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Pages: 1 [2] 3