Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/01/2011, 13:55
suabe
 
Fecha de Ingreso: enero-2011
Mensajes: 3
Antigüedad: 14 años, 3 meses
Puntos: 0
Error con un Query

Un saludo a todos

me encuentro con un problema con la pagina de mi trabajo, el problema es que en una seccion me muestra el error

este error me lleva al codigo
Código PHP:
<?php

include_once "config/config.ini.php";
include_once 
CLASS_SMARTY;

class 
WebITsystem_Smarty extends Smarty{
    
    static 
$_tagcloud_display_cache = array();

    static function 
lookupTagCloudView($userid) {
        if(!isset(
self::$_tagcloud_display_cache[$userid])) {
                
self::$_tagcloud_display_cache[$userid] = getTagCloudView($userid);
        }
        return 
self::$_tagcloud_display_cache[$userid];
    }

    function 
WebITsystem_Smarty(){

        global 
$CALENDAR_DISPLAY$WORLD_CLOCK_DISPLAY$CALCULATOR_DISPLAY$CHAT_DISPLAY$current_user;


        
$this->Smarty();
                     
$this->template_dir 'Smarty/templates';
                     
$this->compile_dir 'Smarty/templates_c';
                     
$this->config_dir 'Smarty/configs';
                     
$this->cache_dir 'Smarty/cache';
     
                     
//$this->caching = true;
                     //$this->assign('app_name', 'Login');
                     
$this->assign('CALENDAR_DISPLAY'$CALENDAR_DISPLAY);
                     
$this->assign('WORLD_CLOCK_DISPLAY'$WORLD_CLOCK_DISPLAY);
                     
$this->assign('CALCULATOR_DISPLAY'$CALCULATOR_DISPLAY);
                     
$this->assign('CHAT_DISPLAY'$CHAT_DISPLAY);
                    
                     
// Query For TagCloud only when required (Aqui esta el error)
                     
if(isset($_REQUEST) && $_REQUEST['action'] == 'DetailView') {
            
//Added to provide User based Tagcloud
            
$this->assign('TAG_CLOUD_DISPLAY'self::lookupTagCloudView($current_user->id) );

                     }
            }
     }
     
     
?>
Agradeceria mucho que me ayudaran, como veran yo no se nada de PHP

SALUDOS