Unhandled Error!

MySQL error: "Query execution was interrupted" executing query: DESCRIBE blog_comments

Hint

This problem could be caused by the Accomplished MySQL connection configuration errors. Please log into the Accomplished Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.

Document /phproad/modules/db/classes/db_mysqldriver.php
Document type PHP document
Line 114
Exception class Phpr_DatabaseException

Code Highlight

 
			// execute the statement
			$handle = @mysql_query($sql, Db::$connection);
 
			// If error, generate exception
			if ($err = @mysql_errno(Db::$connection) != 0) {
				$exception = new Phpr_DatabaseException('MySQL error: "'.@mysql_error(Db::$connection).'"  executing query: '.$sql);
				$exception->hint_message = 'This problem could be caused by the Accomplished MySQL connection configuration errors. Please log into the Accomplished Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.';
				throw $exception;
			}
 
			return $handle;
		}
# Call Stack Code Document Line
25 Db_MySQLDriver->execute('DESCRIBE blog_comments') /phproad/modules/db/classes/db_mysqldriver.php 217
24 Db_MySQLDriver->fetchAll('DESCRIBE blog_comments') /phproad/modules/db/classes/db_mysqldriver.php 193
23 Db_MySQLDriver->describe_table('blog_comments') /phproad/modules/db/classes/db_sqlbase.php 466
22 Db_SqlBase->describe_table('blog_comments') /phproad/modules/db/classes/db_activerecord.php 1337
21 Db_ActiveRecord->fields(()) /phproad/modules/db/classes/db_activerecord.php 399
20 Db_ActiveRecord->initialize(()) /phproad/modules/db/classes/db_activerecord.php 352
19 Db_ActiveRecord->__construct(()) /phproad/modules/db/classes/db_activerecord.php 1825
18 Db_ActiveRecord->prepare_relation_object('comments', null) /phproad/modules/db/classes/db_activerecord.php 1912
17 Db_ActiveRecord->load_relation('comments') /phproad/modules/db/classes/db_activerecord.php 1621
16 Db_ActiveRecord->__get('comments') /modules/cms/classes/cms_controller.php(383) : eval()'d code 81
15 eval(()) /modules/cms/classes/cms_controller.php 383
14 Cms_Controller->evalWithException('?><div class="row blog-post" id="page-main-container"> <? if ($post): ?> <div class="post"> <h1 class="entry-title"><?= h($post->title) ?></h1> <hr class="green" /> <div class="post-date"> <?= $post->published_date ? date("F jS, Y", strtotime($post->published_date->format('%F'))) : '' ?> </div> <div class="entry-content"> <?= $post->content ?> </div> <? if ( isset($post->featuredimages_calculated) ) : $image_files = Db_File::create()->where('master_object_id = '.$post->id.' AND master_object_class = "Blog_Post"')->find_all(); if (count($image_files) > 1) : ?> <div class="blog-slideshow"> </div> <script> var data = [ <? foreach ($image_files as $key=>$image_file ) : ?> <? if ($key > 0) : ?> { thumb: '<?= $image_file->getThumbnailPath(60, 40, true, array('mode'=>'crop')) ?>', image: '<?= $image_file->getThumbnailPath('auto', 'auto', true, array('mode'=>'zoom_fit')) ?>', big: '<?= $image_file->getThumbnailPath('auto', 'auto', true, array('mode'=>'crop')) ?>', description: '<div class="galleria-caption"><p><?= addslashes($image_file->title) ?></p></div>' }, <? endif ?> <? endforeach ?> ]; $('.blog-slideshow').galleria({ dataSource: data, transition: "fadeslide", transitionSpeed: 400, width: document.getElementById("place_slider").clientWidth, height: document.getElementById("place_slider").clientWidth * 0.75, lightbox: true, idleTime: 2000, queue: false, layerFollow: false, popupLinks: false, fullscreenCrop: false, dummy: '<?= content_url('images/no-image.jpg') ?>', extend:function() { this.attachKeyboard({ left: this.prev, right: this.next }); }, debug: true }); </script> <? endif; endif; ?> <? $explode_categories = explode(',', $post->categories_calculated); $current_category = isset($explode_categories[0]) ? $explode_categories[0] : 'null'; if ( $current_category == 'Not for Email' && isset($explode_categories[1]) ) $current_category = trim($explode_categories[1]); $this->render_partial('blog:post_navigation', array('post_category'=>$current_category)); ?> </div> <? if ($post->comments_allowed): ?> <hr> <? $this->render_partial('tool:addthis'); ?> <?switch (true) { case (count($post->comments)==0) : ?> <h4 class="display-comment display-nocomment" style="cursor:pointer;float:right;margin-top: -20px;font-size: 17px !important;">add a comment</h4> <? break; case (count($post->comments)>1) : ?> <h4 class="display-comment" style="cursor:pointer;float:right;margin-top: -20px;font-size: 17px !important;"><?= count($post->comments) ?> comments</h4> <? break; case (count($post->comments)==1) : ?> <h4 class="display-comment" style="cursor:pointer;float:right;margin-top: -20px;font-size: 17px !important;"><?= count($post->comments) ?> comment</h4> <? break; } ?> <hr> <? if (!$post->comment_num): ?> <p>No comments posted so far.</p> <br> <div id="comment_form" class="panel comment_form_nocomments" style="display:none;"> <? $this->render_partial('blog:commentform') ?> </div> <? else: ?> <ul class="blog-comments" style="display:none;"> <? foreach (array_reverse($post->approved_comments->objectArray) as $comment): $site_url_specified = strlen($comment->author_url); ?> <li> <div class="comment-author panel <?= $comment->author_email == 'hello@swiish.com.au' || $comment->author_email == 'maha@swiish.com.au' || $comment->author_email == 'sally@swiish.com.au' || $comment->author_name == 'Sally Obermeder' ? 'admin-comment' : '' ?>"> <? if ($comment->author_email == 'hello@swiish.com.au' || $comment->author_email == 'maha@swiish.com.au' || $comment->author_email == 'sally@swiish.com.au' || $comment->author_name == 'Sally Obermeder') : ?> <img class="left" src="<?= resource_url('images/sally.jpg') ?>" alt="Sally Obermeder" /> <? endif ?> <span class="comment-author-name"> Posted by <strong><?= $comment->author_name ? h($comment->author_name) : 'Unknown' ?></strong> </span> <abbr class="timeago" title="<?= $comment->created_at ?>"><?= $comment->created_at ? date("F jS, Y", strtotime($comment->created_at->format('%F'))) : '' ?></abbr> <hr/> <div id="text-comment"><?= nl2br(h($comment->content)) ?></div> <br class="clear"> </div> </li> <? endforeach ?> <div id="comment_form" class="panel"> <? $this->render_partial('blog:commentform') ?> </div> </ul> <? endif ?> <? endif ?> <? // Automaticly add class Left to first Image on these categories ?> <? if ( preg_match('/(Celebrity Body Buzz)|(Celebrity Style File)|(I\'m Loving)|(I\'m Wearing)/', $post->categories_calculated) ): ?> <script type="text/javascript"> $('.blog-post img:first').addClass('left') </script> <? endif ?> <? else: ?> <h2>Post not found</h2> <? endif ?> <script type="text/javascript"> $('.display-comment').click(function() { $('.blog-comments').css('display','block'); }); </script> </div> ', 'CMS partial', 'blog:post', array(0)) /modules/cms/classes/cms_controller.php 1020
13 Cms_Controller->render_partial('blog:post') /modules/cms/classes/cms_controller.php(383) : eval()'d code 3
12 eval(()) /modules/cms/classes/cms_controller.php 383
11 Cms_Controller->evalWithException('?><? $this->render_partial('blog:search_redirect') ?> <?=$this->render_partial('blog:post')?>', 'CMS page', '$15 PYJAMAS... YES, REALLY!') /modules/cms/classes/cms_controller.php 608
10 Cms_Controller->eval_page_content(()) /modules/cms/classes/cms_controller.php 198
9 Cms_Controller->open(object(Cms_Page), array(1) [0 => 'mothers-day-sleepwear-steal']) /controllers/application.php 72
8 Application->On404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/blog-post/mothers-day-sleepwear-steal') /phproad/system/phproad.php 31
2 include('/home/accompli/public_html/acc3c/phproad/system/phproad.php') /boot.php 109
1 require_once('/home/accompli/public_html/acc3c/boot.php') /index.php 3