We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    I'm running REVO 2.2.6 on Linux server PHP 5.3.3, mysql 5.1.59. I've used this hosting provider for fiew modx based projects with out problems.
    In this project I'm using getResources with where statement for filtering events. Could this couse the problem??? Or where can I look for solutions?

    Now I get this errors:
    [2013-04-09 12:54:14] (ERROR @ /index.php) Error  preparing statement: SELECT `modSnippet`.`id` AS `modSnippet_id`, `modSnippet`.`source` AS `modSnippet_source`, `modSnippet`.`property_preprocess` AS `modSnippet_property_preprocess`, `modSnippet`.`name` AS `modSnippet_name`, `modSnippet`.`description` AS `modSnippet_description`, `modSnippet`.`editor_type` AS `modSnippet_editor_type`, `modSnippet`.`category` AS `modSnippet_category`, `modSnippet`.`cache_type` AS `modSnippet_cache_type`, `modSnippet`.`snippet` AS `modSnippet_snippet`, `modSnippet`.`locked` AS `modSnippet_locked`, `modSnippet`.`properties` AS `modSnippet_properties`, `modSnippet`.`moduleguid` AS `modSnippet_moduleguid`, `modSnippet`.`static` AS `modSnippet_static`, `modSnippet`.`static_file` AS `modSnippet_static_file`, `Source`.`id` AS `Source_id`, `Source`.`name` AS `Source_name`, `Source`.`description` AS `Source_description`, `Source`.`class_key` AS `Source_class_key`, `Source`.`properties` AS `Source_properties`, `Source`.`is_stream` AS `Source_is_stream` FROM `modx_site_snippets` AS `modSnippet` LEFT JOIN `modx_media_sources` `Source` ON `modSnippet`.`source` = `Source`.`id` WHERE `modSnippet`.`name` = ? ORDER BY `modSnippet`.`id` ASC  - 
    [2013-04-09 12:54:15] (ERROR in xPDOConnection::connect @ /users/tgd/www/................/core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql2.superhost.pl' (3)
    [2013-04-09 12:54:15] (ERROR in xPDOConnection::connect @ /users/tgd/www/............./core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql2.superhost.pl' (3)
    [2013-04-09 12:54:15] (ERROR @ /index.php) Error preparing statement for query: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `modx_session` AS `modSession` WHERE `modSession`.`id` = ?  - 
    [2013-04-09 12:54:15] (ERROR in xPDOConnection::connect @ /users/tgd/www/.............../core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql2.superhost.pl' (3)
    [2013-04-09 12:54:15] (ERROR in xPDOConnection::connect @ /users/tgd/www/.........../core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql2.superhost.pl' (3)
    
      Lucas from AroundCyprus.net