Erro Joomgalery

  • IsaiasMiranda
  • Avatar de IsaiasMiranda Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
13 anos 3 meses atrás #75301 por IsaiasMiranda
IsaiasMiranda created the topic: Erro Joomgalery
quando instalei o joomgalery recebo este erro no template zt_zana.

Notice: Undefined variable: myBrowser in E:\wamp\www\zana\templates\zt_zana\index.php on line 21

Call Stack
# Time Memory Function Location
1 0.0006 386320 {main}( ) ..\index.php:0
2 1.4262 13042648 JSite->render( ) ..\index.php:79
3 1.4265 13043096 JDocumentHTML->render( ) ..\application.php:168
4 1.4303 13054216 JDocumentHTML->_loadTemplate( ) ..\html.php:246
5 1.4310 13113496 require_once( 'E:\wamp\www\zana\templates\zt_zana\index.php' ) ..\html.php:338

alguem pode me ajudar a resolver?

dê uma olhada no código php:

<?php
/**
* @copyright Copyright (C) 2008 - 2011 ZooTemplate.com. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined('_JEXEC') or die('Restricted access');
include_once(dirname(__FILE__).DS.'libs'.DS.'browser.php');
include_once(dirname(__FILE__).DS.'libs'.DS.'zt_tools.php');
include_once(dirname(__FILE__).DS.'zt_menus'.DS.'zt.common.php');
include_once(dirname(__FILE__).DS.'libs'.DS.'zt_vars.php');

unset($this->_scripts[$this->baseurl.'/media/system/js/caption.js']);

if($myBrowser && $ztTools->getParam('zt_mobile')) { - esta é a linha citada -
include_once(dirname(__FILE__).DS.'libs'.DS.'layouts'.DS.'mobile.php');
} else {
include_once(dirname(__FILE__).DS.'libs'.DS.'layouts'.DS.'default.php');
}
?>

Please Entrar ou Registrar to join the conversation.


Mais
13 anos 3 meses atrás #75307 por masinfox
masinfox replied the topic: Re: Erro Joomgalery
esse erro pode ser do PHP, veja qual a versão do seu PHP.

[url=http&#58;//www&#46;masinfox&#46;com:59pl1xnr][b:59pl1xnr][color=#0040BF:59pl1xnr]www.masinfox.com[/color:59pl1xnr][/b:59pl1xnr][/url:59pl1xnr]

Please Entrar ou Registrar to join the conversation.

  • IsaiasMiranda
  • Avatar de IsaiasMiranda Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
13 anos 3 meses atrás #75321 por IsaiasMiranda
IsaiasMiranda replied the topic: Re: Erro Joomgalery
A versão PHP é 5.3.5

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 3 meses atrás #75323 por masinfox
masinfox replied the topic: Re: Erro Joomgalery
tente desabilitar mensagem de erro no php.ini

[url=http&#58;//www&#46;masinfox&#46;com:59pl1xnr][b:59pl1xnr][color=#0040BF:59pl1xnr]www.masinfox.com[/color:59pl1xnr][/b:59pl1xnr][/url:59pl1xnr]

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 3 meses atrás #75338 por Uriel
Uriel replied the topic: Re: Erro Joomgalery
Vc baixou a versão do Joomgallery para o 1.5 ??

abraço

Please Entrar ou Registrar to join the conversation.