) in /home/sites/trevifun.com/www/ext/db.mysql.inc [58] DB->tune(String
localhost
, String
trevifuncom
, String
vet4WT}i6kvg5!DJj2
, String
trevifuncom
) in /home/sites/trevifun.com/www/bin/core.inc [5330] Start->tuneSQL() in /home/sites/trevifun.com/www/bin/core.inc [5309] Start->__construct() in /home/sites/trevifun.com/www/bin/core.inc [5977] require_once(String
/home/sites/trevifun.com/www/bin/core.inc
) in /home/sites/trevifun.com/www/index.php [6]
Error: Cannot modify header information - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350).
Call stack: myErrorHandler(Integer
2
, String
Cannot modify header information - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350)
, String
/home/sites/trevifun.com/www/bin/core.inc
, Integer
764
, Array
Array
(
[name] => __hash
)
) in [] setcookie(String
__hash
, String, Integer
1267717443
) in /home/sites/trevifun.com/www/bin/core.inc [764] Cookies::unsetVar(String
__hash
) in /home/sites/trevifun.com/www/bin/core.inc [3074] Navigator->startPath() in /home/sites/trevifun.com/www/bin/core.inc [2936] Navigator->__construct(Boolean) in /home/sites/trevifun.com/www/bin/core.inc [3096] Navigator::instance() in /home/sites/trevifun.com/www/bin/core.inc [4864] Request->savePaths(Boolean, Boolean, Boolean) in /home/sites/trevifun.com/www/bin/core.inc [4787] Request->__construct() in /home/sites/trevifun.com/www/bin/core.inc [5134] Request::instance() in /home/sites/trevifun.com/www/bin/functions.inc [600] get(String
req.locale-addr
) in /home/sites/trevifun.com/www/bin/global_ps.const [5] include_once(String
/home/sites/trevifun.com/www/bin/global_ps.const
) in /home/sites/trevifun.com/www/bin/core.inc [5978] require_once(String
/home/sites/trevifun.com/www/bin/core.inc
) in /home/sites/trevifun.com/www/index.php [6]
Error: session_start(): Cannot send session cookie - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350).
Call stack: myErrorHandler(Integer
2
, String
session_start(): Cannot send session cookie - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350)
Error: mysql_query() expects parameter 2 to be resource, boolean given.
Call stack: myErrorHandler(Integer
2
, String
mysql_query() expects parameter 2 to be resource, boolean given
, String
/home/sites/trevifun.com/www/ext/db.mysql.inc
, Integer
134
, Array
Array
(
[query] =>
SELECT
DISTINCT
jc.id, jct.name, jc.alias
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = 'ru'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
[transaction] =>
[__usec] => 0.12109000
[__sec] => 1327717443
[__time_start] => 1327717443.1211
)
) in [] mysql_query(String
SELECT
DISTINCT
jc.id, jct.name, jc.alias
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = 'ru'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
, Boolean) in /home/sites/trevifun.com/www/ext/db.mysql.inc [134]
SELECT
DISTINCT
jc.id, jct.name, jc.alias
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = 'ru'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
) in /home/sites/trevifun.com/www/proj/nokidding/comp/joke/handler.inc [25]
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = '" . CURRENT_LOCALE . "'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
";
$db->query(($sql));
$items = $db->fetchArray();
$this->repeat('items', ($items));
}
public function addForm()
{
/* @var $db db */
$db = call('db');
HandlerJoke->getCategories() in /home/sites/trevifun.com/www/bin/core.inc [5692]
$invisible = in('invisible', $id);
$handler = $hf->open($this->handlerAlias[$group . '.handler.inc']);
// High voltage
!$invisible ? $handler->paramXML = $dep->getObjectByAttr('anchor-id', $id, true) : false;
// ----------------
if (method_exists($handler, $name))
{
SELECT
DISTINCT
jc.id, jct.name, jc.alias
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = 'ru'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
) in /home/sites/trevifun.com/www/proj/nokidding/comp/joke/handler.inc [25]
FROM
joke_category AS jc
INNER JOIN
joke_category_t AS jct ON jct.key_id = jc.id AND jct.locale_id = '" . CURRENT_LOCALE . "'
LEFT JOIN
joke AS j ON j.category_id = jc.id
WHERE
jc.id != 1 AND jc.id != 2
";
$db->query(($sql));
$items = $db->fetchArray();
$this->repeat('items', ($items));
}
public function addForm()
{
/* @var $db db */
$db = call('db');
HandlerJoke->getCategories() in /home/sites/trevifun.com/www/bin/core.inc [5692]
$invisible = in('invisible', $id);
$handler = $hf->open($this->handlerAlias[$group . '.handler.inc']);
// High voltage
!$invisible ? $handler->paramXML = $dep->getObjectByAttr('anchor-id', $id, true) : false;
// ----------------
if (method_exists($handler, $name))
{
Error: mysql_query() expects parameter 2 to be resource, boolean given.
Call stack: myErrorHandler(Integer
2
, String
mysql_query() expects parameter 2 to be resource, boolean given
, String
/home/sites/trevifun.com/www/ext/db.mysql.inc
, Integer
134
, Array
Array
(
[query] =>
SELECT
c.id,
ct.title,
ct.meta_title,
ct.keywords,
ct.description,
co.meta_title_common_start,
co.meta_title_common_end
FROM
`content` AS c
INNER JOIN
`content_t` AS ct
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = 'ru'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
[transaction] =>
[__usec] => 0.15185300
[__sec] => 1327717443
[__time_start] => 1327717443.1519
)
) in [] mysql_query(String
SELECT
c.id,
ct.title,
ct.meta_title,
ct.keywords,
ct.description,
co.meta_title_common_start,
co.meta_title_common_end
FROM
`content` AS c
INNER JOIN
`content_t` AS ct
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = 'ru'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
, Boolean) in /home/sites/trevifun.com/www/ext/db.mysql.inc [134]
SELECT
c.id,
ct.title,
ct.meta_title,
ct.keywords,
ct.description,
co.meta_title_common_start,
co.meta_title_common_end
FROM
`content` AS c
INNER JOIN
`content_t` AS ct
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = 'ru'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
) in /home/sites/trevifun.com/www/proj/nokidding/exe/content.handler.inc [323]
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = '" . CURRENT_LOCALE . "'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
";
SELECT
c.id,
ct.title,
ct.meta_title,
ct.keywords,
ct.description,
co.meta_title_common_start,
co.meta_title_common_end
FROM
`content` AS c
INNER JOIN
`content_t` AS ct
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = 'ru'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
) in /home/sites/trevifun.com/www/proj/nokidding/exe/content.handler.inc [323]
ON
ct.`key_id` = c.`id`
AND
ct.`locale_id` = '" . CURRENT_LOCALE . "'
INNER JOIN
`content_options` AS co
WHERE
c.control = 2
";
Error: Cannot modify header information - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350).
Call stack: myErrorHandler(Integer
2
, String
Cannot modify header information - headers already sent by (output started at /home/sites/trevifun.com/www/bin/functions.inc:1350)