Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  $opts['filters'] gives MySQL error 1052

phpMyEdit Configuration     $opts['filters'] gives MySQL error 1052
Odoslať novú tému   Odpovedať na tému    
 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-05-07 14:03
Návrat hore  Odpovedať s citátom     

Documentation section "Filters" was updated few weeks ago. For fields, which do not have unique names (for example ID, because column with name "ID" is usually in more than one table), you have to define also table alias.

This alias changed from "Table0" and similars to "PMEtable0" for main table and "PMEjoinN" for join tables.

So try to use filter with table aliases:

Kód:
$opts['filters'] = 'PMEtable0.some_column = "some_value"';


There was also bug submitted in tracking system regarding this matter. I guess it is resolved or closed now. Let me also know, if this works for you.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov