<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Server is down, &#34;The website encountered an error while retrieving...&#34;</title>
		<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving</link>
		<description>Support Forum - Topic: Server is down, &quot;The website encountered an error while retrieving...&quot;</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 01:09:35 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/server-is-down-the-website-encountered-an-error-while-retrieving" rel="self" type="application/rss+xml" />

		<item>
			<title>Ismael on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74857</link>
			<pubDate>Sat, 08 Sep 2012 02:35:42 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">74857@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;It is usually a good idea to have some backup files in case this kind of thing happen. Good thing you are able to fixed the issue. Also, you check the theme version on Appearance tab.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Poirot on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74847</link>
			<pubDate>Fri, 07 Sep 2012 20:59:19 +0000</pubDate>
			<dc:creator>Poirot</dc:creator>
			<guid isPermaLink="false">74847@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I re-installed Corona, and my site is up and running again! :)&#60;/p&#62;
&#60;p&#62;I will never change code again.&#60;br /&#62;
I will never change code again.&#60;br /&#62;
I will never change code again.&#60;br /&#62;
... :)&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Poirot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Poirot on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74842</link>
			<pubDate>Fri, 07 Sep 2012 20:02:36 +0000</pubDate>
			<dc:creator>Poirot</dc:creator>
			<guid isPermaLink="false">74842@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I managed to reanimate my dashboard, but my website isn't working. Dashboard says Corona is installed, but the customizing page is gone (as well as the widgets page).&#60;/p&#62;
&#60;p&#62;No idea what is going on...&#60;/p&#62;
&#60;p&#62;Kind regards, Poirot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Poirot on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74839</link>
			<pubDate>Fri, 07 Sep 2012 19:37:13 +0000</pubDate>
			<dc:creator>Poirot</dc:creator>
			<guid isPermaLink="false">74839@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi again,&#60;/p&#62;
&#60;p&#62;I basically want to restore the original code, but don't know what the original version is... I shouldn't have changed it, I know...&#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Poirot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Poirot on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74838</link>
			<pubDate>Fri, 07 Sep 2012 19:34:08 +0000</pubDate>
			<dc:creator>Poirot</dc:creator>
			<guid isPermaLink="false">74838@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I will try pasting my theme functions.php below. The code I added is at the bottom between &#34;&#38;lt;?php...&#34; and &#34;?&#38;gt;&#34;. God, I hope you can help...&#60;/p&#62;
&#60;p&#62;Kind regards, Poirot&#60;/p&#62;
&#60;p&#62;&#60;code&#62;wp_register_script( 'avia-html5-video',  AVIA_BASE_URL.'js/projekktor/projekktor.min.js', 'jquery', &#34;1&#34;, true);&#60;/p&#62;
&#60;p&#62;wp_register_script( 'avia-slider',  AVIA_BASE_URL.'js/aviaslider.js', 'jquery', &#34;2.5.2&#34;, true);&#60;/p&#62;
&#60;p&#62;wp_register_script( 'aviacordion',  AVIA_BASE_URL.'js/aviacordion-dev.js', 'jquery', &#34;1.0.0&#34;, true);&#60;/p&#62;
&#60;p&#62;wp_register_script( 'avia_fade_slider',  AVIA_BASE_URL.'js/avia_fade_slider-dev.js', 'jquery', &#34;1.0.0&#34;, true);&#60;/p&#62;
&#60;p&#62;/* Activate native wordpress navigation menu and register a menu location */&#60;/p&#62;
&#60;p&#62;add_theme_support('nav_menus');&#60;/p&#62;
&#60;p&#62;$avia_config['nav_menus'] = array('avia' =&#38;gt; 'Main Menu', 'avia2'=&#38;gt; 'Sub Menu');&#60;/p&#62;
&#60;p&#62;foreach($avia_config['nav_menus'] as $key =&#38;gt; $value){ register_nav_menu($key, THEMENAME.' '.$value); }&#60;/p&#62;
&#60;p&#62;//load some frontend functions in folder include:&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/register-widget-area.php' );		// register sidebar widgets for the sidebar and footer&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/register-portfolio.php' );		// register custom post types for portfolio entries&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/register-styles.php' );			// register the styles for dynamic frontend styling&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/register-shortcodes.php' );		// register wordpress shortcodes&#60;/p&#62;
&#60;p&#62;require_once( 'includes/loop-comments.php' );					// necessary to display the comments properly&#60;/p&#62;
&#60;p&#62;require_once( 'includes/helper-slideshow.php' ); 				// holds the class that generates the 2d &#38;amp; 3d slideshows, as well as feature images&#60;/p&#62;
&#60;p&#62;require_once( 'includes/helper-templates.php' ); 				// holds some helper functions necessary for dynamic templates&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/compat.php' );					// compatibility functions for 3rd party plugins&#60;/p&#62;
&#60;p&#62;require_once( 'includes/admin/register-menu-walker.php' );		// custom menu walker that allows for description bellow the menu item&#60;/p&#62;
&#60;p&#62;//activate framework widgets&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_tweetbox');&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_newsbox' );&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_portfoliobox' );&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_socialcount' );&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_combo_widget' );&#60;/p&#62;
&#60;p&#62;register_widget( 'avia_partner_widget' );&#60;/p&#62;
&#60;p&#62;//call functions for the theme&#60;/p&#62;
&#60;p&#62;add_filter('the_content_more_link', 'avia_remove_more_jump_link');&#60;/p&#62;
&#60;p&#62;add_post_type_support('page', 'excerpt');&#60;/p&#62;
&#60;p&#62;//allow mp4, webm and ogv file uploads&#60;/p&#62;
&#60;p&#62;add_filter('upload_mimes','avia_upload_mimes');&#60;/p&#62;
&#60;p&#62;function avia_upload_mimes($mimes){ return array_merge($mimes, array ('mp4' =&#38;gt; 'video/mp4', 'ogv' =&#38;gt; 'video/ogg', 'webm' =&#38;gt; 'video/webm')); }&#60;/p&#62;
&#60;p&#62;//change default thumbnail size on theme activation&#60;/p&#62;
&#60;p&#62;add_action('avia_backend_theme_activation', 'avia_set_thumb_size');&#60;/p&#62;
&#60;p&#62;function avia_set_thumb_size() {update_option( 'thumbnail_size_h', 80 ); update_option( 'thumbnail_size_w', 80 );}&#60;/p&#62;
&#60;p&#62;//set menu description to be visible on theme acivation&#60;/p&#62;
&#60;p&#62;add_action('avia_backend_theme_activation', 'avia_show_menu_description');&#60;/p&#62;
&#60;p&#62;function avia_show_menu_description()&#60;/p&#62;
&#60;p&#62;{&#60;/p&#62;
&#60;p&#62;	global $current_user;&#60;/p&#62;
&#60;p&#62;    get_currentuserinfo();&#60;/p&#62;
&#60;p&#62;	$old_meta_data = $meta_data = get_user_meta($current_user-&#38;gt;ID, 'managenav-menuscolumnshidden', true);&#60;/p&#62;
&#60;p&#62;	if(is_array($meta_data) &#38;amp;&#38;amp; isset($meta_data[0]))&#60;/p&#62;
&#60;p&#62;	{&#60;/p&#62;
&#60;p&#62;		$key = array_search('description', $meta_data);&#60;/p&#62;
&#60;p&#62;		if($key !== false)&#60;/p&#62;
&#60;p&#62;		{	&#60;/p&#62;
&#60;p&#62;			unset($meta_data[$key]);&#60;/p&#62;
&#60;p&#62;			update_user_meta( $current_user-&#38;gt;ID, 'managenav-menuscolumnshidden', $meta_data, $old_meta_data );&#60;/p&#62;
&#60;p&#62;		}&#60;/p&#62;
&#60;p&#62;	}	&#60;/p&#62;
&#60;p&#62;	else&#60;/p&#62;
&#60;p&#62;	{&#60;/p&#62;
&#60;p&#62;			update_user_meta( $current_user-&#38;gt;ID, 'managenav-menuscolumnshidden', array('link-target', 'css-classes', 'xfn') );&#60;/p&#62;
&#60;p&#62;	}&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;add_filter( 'the_password_form', 'custom_password_form' );&#60;/p&#62;
&#60;p&#62;function custom_password_form() {&#60;/p&#62;
&#60;p&#62;	global $post;&#60;/p&#62;
&#60;p&#62;	$label = 'pwbox-'.( empty( $post-&#38;gt;ID ) ? rand() : $post-&#38;gt;ID );&#60;/p&#62;
&#60;p&#62;	$o = '&#38;lt;form class=&#34;protected-post-form&#34; action=&#34;' . get_option('siteurl') . '/wp-pass.php&#34; method=&#34;post&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;	' . __( &#34;post is password protected. To view it please enter your password below:&#34; ) . '&#60;/p&#62;
&#60;p&#62;	&#38;lt;label for=&#34;' . $label . '&#34;&#38;gt;' . __( &#34;Password:&#34; ) . ' &#38;lt;/label&#38;gt;&#38;lt;input name=&#34;post_password&#34; id=&#34;' . $label . '&#34; type=&#34;password&#34; size=&#34;20&#34; /&#38;gt;&#38;lt;input type=&#34;submit&#34; name=&#34;Submit&#34; value=&#34;' . esc_attr__( &#34;Submit&#34; ) . '&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;/form&#38;gt;&#60;/p&#62;
&#60;p&#62;	';&#60;/p&#62;
&#60;p&#62;	return $o;&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;?&#38;gt; &#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Poirot on "Server is down, &#34;The website encountered an error while retrieving...&#34;"</title>
			<link>http://www.kriesi.at/support/topic/server-is-down-the-website-encountered-an-error-while-retrieving#post-74832</link>
			<pubDate>Fri, 07 Sep 2012 18:46:47 +0000</pubDate>
			<dc:creator>Poirot</dc:creator>
			<guid isPermaLink="false">74832@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Kriesi-team,&#60;/p&#62;
&#60;p&#62;I'm having huge troubles as my website is down and I have no idea how to restore it.&#60;/p&#62;
&#60;p&#62;I added a code to the functions.php, and the site crashed, mentioning the message above.&#60;/p&#62;
&#60;p&#62;Do you have an idea how I can save my website? I'm quite desperate here to be honest...&#60;/p&#62;
&#60;p&#62;Thank you!!!&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Poirot
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
