<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks, I should have provided more detail. The error I get is:<br><br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">PHP Fatal error: Call to undefined function __() in [path_removed]/libraries/sanitizing.lib.php on line 135</blockquote><div><br></div><div>which suggests that the sanitizing.lib.php must be loading before libraries/sql-parser/src/common.php</div><div><br></div><div>But in common.php, the function definition is a fallback wrapped inside</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>if (!function_exists('__')) {</div></div><div><div> /**</div></div><div><div> * Translates the given string.</div></div><div><div> *</div></div><div><div> * @param string $str String to be translated.</div></div><div><div> *</div></div><div><div> * @return string</div></div><div><div> */</div></div><div><div> function __($str)</div></div><div><div> {</div></div><div><div> return $str;</div></div><div><div> }</div></div><div><div>}</div></div></blockquote><div><br></div><div>So it never gets defined if php can handle __() from a predefined library. Which makes me think that there are two issues. </div><div><br></div><div>- for MacPorts php, what do I need so that the function exists.</div><div>- for phpmyadmin devs, why common.php isn't loading first.</div><div><br></div><div>I'll try to find some support channel for phpmyadmin to submit the second. </div><div><br></div><div>Jim</div><div><br>On Apr 22, 2016, at 3:34 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Fri, Apr 22, 2016 at 4:18 PM, Jim Hu <<a href="mailto:jim.hu.biobio@gmail.com">jim.hu.biobio@gmail.com</a>> wrote:<br>From what I can find online, __() is a shortcut for a translation function used in internationalization.<br><br>What I am seeing is that in phpMyAdmin 4.6 this is not part of gettext but is defined in sql-parser/src/common.php.<br><br>-- <br>brandon s allbery kf8nh sine nomine associates<br>allbery.b@gmail.com ballbery@sinenomine.net<br>unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net<br></blockquote><br></div></body></html>