Author Topic: [FIX 1.7.5] - categories.php file (by order)  (Read 5717 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX 1.7.5] - categories.php file (by order)
« on: January 17, 2008, 03:30:28 AM »
Is fix for order by prefix name with field.

In categories.php file,

find:

Code: [Select]
ORDER BY ".$config['image_order']." ".$config['image_sort'].", image_id ".$config['image_sort']."

replace:

Code: [Select]
ORDER BY i.".$config['image_order']." ".$config['image_sort'].", i.image_id ".$config['image_sort']."
« Last Edit: February 05, 2008, 04:20:03 PM by kai »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?