ph4nt0mmy/mmtorrents-xbtt-frontend — Issue #1: short_open_tag On in php.ini
Author: knoonrx
Created: 2012-02-25 00:12:36+00:00
State: open

short_open_tag must be set "On" in php.ini to prevent the error bellow:

mtStart = $this->getMicroTime(); $this->nbQueries = 0; $this->lastResult = NULL; mysql_connect($server, $user, $pass) or die('Server connexion not possible.'); mysql_select_db($base) or die('Database connexion not possible.'); } /** Query the database. * @param $query The query. * @param $debug If true, it output the query and the resulting table. * @return The result of the query, to use with fetchNextObject(). */ function query($query, $debug = -1) { $this->nbQueries++; $this->lastResult = mysql_query($query) or $this->debugAndDie($query); ...

Thx