502 Bad Gateway after installation

berg12

Joined: 2013-01-11
Posts: 1
Posted: Fri, 2013-01-11 16:40

Hello, sorry for my English. After installation error 502, server configuration is being installed:
mysql: 5.1.66
php: PHP Version 5.3.3-7+squeeze14
I asking help in hosting support but they can't help me.
Errors logs:
---
2013-01-11 12:44:12 +04:00 --- error: Database_Exception [ 44 ]: #1064: 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 1 [ SHOW TABLES LIKE % ]
/home/berg12/test2.gifs.su/gallery3-master/system/libraries/Database_Mysql_Result.php [ 27 ]
#0 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/Database_Mysql.php(124): Database_Mysql_Result_Core->__construct(false, 'SHOW TABLES LIK...', Resource id #37, true)
#1 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/Database.php(272): Database_Mysql_Core->query_execute('SHOW TABLES LIK...')
#2 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/libraries/MY_Database.php(45): Database_Core->query('SHOW TABLES LIK...')
#3 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/Database_Mysql.php(217): Database->query('SHOW TABLES LIK...')
#4 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/libraries/MY_Database.php(74): Database_Mysql_Core->list_tables()
#5 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/libraries/MY_Database.php(43): Database->add_table_prefixes('SELECT *?FROM c...')
#6 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/Database_Builder.php(973): Database->query('SELECT *?FROM c...')
#7 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/libraries/drivers/Cache/Database.php(105): Database_Builder_Core->execute()
#8 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/Cache.php(141): Cache_Database_Driver->get(Array, true)
#9 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/helpers/module.php(438): Cache_Core->get('var_cache')
#10 /home/berg12/test2.gifs.su/gallery3-master/modules/gallery/config/locale.php(36): module_Core::get_var('gallery', 'timezone', 'Europe/Moscow')
#11 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/drivers/Config/Array.php(70): require('/home/berg12/te...')
#12 /home/berg12/test2.gifs.su/gallery3-master/system/libraries/drivers/Config.php(111): Config_Array_Driver->load('locale', false)
#13 /home/berg12/test2.gifs.su/gallery3-master/system/core/Kohana_Config.php(121): Config_Driver->get('locale.language', false, false)
#14 /home/berg12/test2.gifs.su/gallery3-master/system/core/Kohana.php(385): Kohana_Config_Core->get('locale.language', false, false)
#15 /home/berg12/test2.gifs.su/gallery3-master/system/core/Kohana.php(150): Kohana_Core::config('locale.language')
#16 /home/berg12/test2.gifs.su/gallery3-master/application/Bootstrap.php(49): Kohana_Core::setup()
#17 /home/berg12/test2.gifs.su/gallery3-master/index.php(116): require('/home/berg12/te...')
#18 {main}