SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) )' at line 7 at /var/www/live/plugins/lsgallery/classes/modules/album/mapper/Album.mapper.class.php line 167
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) )' at line 7 [query] => SELECT count(a.album_id) as count FROM prefix_lsgallery_album as a WHERE 1=1 AND a.album_user_id = 68 AND (a.album_type = 'open' OR (a.album_type = 'friend' AND a.album_user_id IN ()) ) [context] => /var/www/live/plugins/lsgallery/classes/modules/album/mapper/Album.mapper.class.php line 167 )
спс вроде заработало, а почему когда в стандартный опрос переходишь выходит такая бяка…
Fatal error: Uncaught exception 'SmartyException' with message 'Plugin tag «run_ps_here» already registered' in /var/www/live/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_templatebase.php:426 Stack trace: #0 /var/www/live/plugins/poweredspoiler/classes/modules/smartysetup/Smartysetup.class.php(35): Smarty_Internal_TemplateBase->registerPlugin('modifier', 'run_ps_here', Array, false) #1 [internal function]: PluginPoweredspoiler_ModuleSmartysetup->SetDefaultFiltersForSmartyObject(Object(Smarty)) #2 /var/www/live/engine/classes/Engine.class.php(551): call_user_func_array(Array, Array) #3 /var/www/live/engine/classes/Hook.class.php(71): Engine->_CallModule('PluginPoweredsp...', Array) #4 [internal function]: Hook->__call('PluginPoweredsp...', Array) #5 /var/www/live/plugins/poweredspoiler/classes/hooks/HookPoweredspoiler.class.php(25): PluginPoweredspoiler_HookPoweredspoiler->PluginPoweredspoiler_Smartysetup_SetDefaultFiltersForSmartyObject(Object(Smarty)) #6 [internal function]: PluginPoweredspoiler_HookPowered in /var/www/live/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 426
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order asc' at line 1 at /var/www/live/engine/classes/ModuleORM.class.php line 383
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order asc' at line 1 [query] => SELECT * FROM prefix_expoll_question WHERE 1=1 and topic_id = '400' ORDER BY order asc [context] => /var/www/live/engine/classes/ModuleORM.class.php line 383 )
/**
* Если уже авторизирован
*/
if($this->User_GetUserCurrent()) {
Router::Location(Config::Get('path.root.web').'/');
}
$this->Viewer_AddHtmlTitle($this->Lang_Get('login'));
$iWallCount = $this->Wall_GetCountWall(array('wall_user_id'=>$this->oUserProfile->getId(),'pid'=>null));
$this->Viewer_Assign('iWallCount',$iWallCount);
}
в шаблон user_list.tpl прописал {$iWallCount}
опять не показывает((
в classes/actions/ActionLogin.class.php в protected function EventLogin()
protected function EventLogin() {
/**
* Если уже авторизирован
*/
if($this->User_GetUserCurrent()) {
Router::Location(Config::Get('path.root.web').'/');
}
$this->Viewer_AddHtmlTitle($this->Lang_Get('login'));
$this->Wall_GetCountWall(array('wall_user_id'=>$this->oUserProfile->getId(),'pid'=>null));
}
в шаблон user_list.tpl прописал {$wall_user_id}
Но не чего, не выводит, что не так?
а вывод идет уже в user_list.tpl ??? только что прописывать подскажите?
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) )' at line 7 at /var/www/live/plugins/lsgallery/classes/modules/album/mapper/Album.mapper.class.php line 167
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) )' at line 7 [query] => SELECT count(a.album_id) as count FROM prefix_lsgallery_album as a WHERE 1=1 AND a.album_user_id = 68 AND (a.album_type = 'open' OR (a.album_type = 'friend' AND a.album_user_id IN ()) ) [context] => /var/www/live/plugins/lsgallery/classes/modules/album/mapper/Album.mapper.class.php line 167 )
Fatal error: Uncaught exception 'SmartyException' with message 'Plugin tag «run_ps_here» already registered' in /var/www/live/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_templatebase.php:426 Stack trace: #0 /var/www/live/plugins/poweredspoiler/classes/modules/smartysetup/Smartysetup.class.php(35): Smarty_Internal_TemplateBase->registerPlugin('modifier', 'run_ps_here', Array, false) #1 [internal function]: PluginPoweredspoiler_ModuleSmartysetup->SetDefaultFiltersForSmartyObject(Object(Smarty)) #2 /var/www/live/engine/classes/Engine.class.php(551): call_user_func_array(Array, Array) #3 /var/www/live/engine/classes/Hook.class.php(71): Engine->_CallModule('PluginPoweredsp...', Array) #4 [internal function]: Hook->__call('PluginPoweredsp...', Array) #5 /var/www/live/plugins/poweredspoiler/classes/hooks/HookPoweredspoiler.class.php(25): PluginPoweredspoiler_HookPoweredspoiler->PluginPoweredspoiler_Smartysetup_SetDefaultFiltersForSmartyObject(Object(Smarty)) #6 [internal function]: PluginPoweredspoiler_HookPowered in /var/www/live/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 426
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order asc' at line 1 at /var/www/live/engine/classes/ModuleORM.class.php line 383
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order asc' at line 1 [query] => SELECT * FROM prefix_expoll_question WHERE 1=1 and topic_id = '400' ORDER BY order asc [context] => /var/www/live/engine/classes/ModuleORM.class.php line 383 )