Error Mesage
-
Hello,
Its me again. I did find the icon and I was able to post a recipe to my page, but This is what showed up on my blog page. What have I done wrong? What happened? Thank you for your help.Chicken Salad
PPrep Time
PCook Time
PTotal Time
CDbException
The table “tbl_wlclients” for active record class “WLClient” cannot be found in the database.
/home/mpp/yii-1.1.13/framework/db/ar/CActiveRecord.php(2310)
2298 private $_model;
2299
2300 /**
2301 * Constructor.
2302 * @param CActiveRecord $model the model instance
2303 */
2304 public function __construct($model)
2305 {
2306 $this->_model=$model;
2307
2308 $tableName=$model->tableName();
2309 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null)
2310 throw new CDbException(Yii::t(‘yii’,’The table “{table}” for active record class “{class}” cannot be found in the database.’,
2311 array(‘{class}’=>get_class($model),'{table}’=>$tableName)));
2312 if($table->primaryKey===null)
2313 {
2314 $table->primaryKey=$model->primaryKey();
2315 if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey]))
2316 $table->columns[$table->primaryKey]->isPrimaryKey=true;
2317 elseif(is_array($table->primaryKey))
2318 {
2319 foreach($table->primaryKey as $name)
2320 {
2321 if(isset($table->columns[$name]))
2322 $table->columns[$name]->isPrimaryKey=true;
Stack Trace
#0 +
/home/mpp/yii-1.1.13/framework/db/ar/CActiveRecord.php(387): CActiveRecordMetaData->__construct(WLClient)
#1 –
/home/mpp/www/mealplannerpro.com/protected/extensions/whitelabel/models/WLClient.php(47): CActiveRecord::model(“WLClient”)
42 * @param string $className active record class name.
43 * @return WLClient the static model class
44 */
45 public static function model($className=__CLASS__)
46 {
47 return parent::model($className);
48 }
49
50 /**
51 * @return string the associated database table name
52 */
#2 –
/home/mpp/www/mealplannerpro.com/protected/extensions/whitelabel/models/WLClient.php(156): WLClient::model()
151
152 }
153
154 public static function getOrCreate( $domain, $ip )
155 {
156 $model = self::model()->findByAttributes( array( ‘domain’ => $domain ) );
157
158 if( !$model )
159 {
160 $model = new WLClient();
161 $model->domain = $domain;
#3 –
/home/mpp/www/mealplannerpro.com/protected/controllers/api/WordpressRestController.php(22): WLClient::getOrCreate(“www.cookingforthetasteofit.com”, “50.87.248.124”)
17 $data = “Missing GET parameters.”;
18
19 $h = $_GET[‘host’];
20 $r = $_SERVER[‘REMOTE_ADDR’];
21
22 $client = WLClient::getOrCreate( $h, $r );
23
24 $this->response( 200, $client->subdomain );
25 }
26
27 public function saveRecipe($recipe_data, $host)
#4 +
/home/mpp/www/mealplannerpro.com/protected/extensions/resty/components/RestController.php(128): WordPressRestController->getRegister()
#5 unknown(0): RestController->actionRestRoute(“register”)
#6 +
/home/mpp/yii-1.1.13/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(WordPressRestController, array(“register”))
#7 +
/home/mpp/yii-1.1.13/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(WordPressRestController, ReflectionMethod, array(“host” => “www.cookingforthetasteofit.com”, “verb” => “GET”, “action” => “register”))
#8 +
/home/mpp/yii-1.1.13/framework/web/CController.php(308): CInlineAction->runWithParams(array(“host” => “www.cookingforthetasteofit.com”, “verb” => “GET”, “action” => “register”))
#9 +
/home/mpp/yii-1.1.13/framework/web/CController.php(286): CController->runAction(CInlineAction)
#10 +
/home/mpp/yii-1.1.13/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
#11 +
/home/mpp/yii-1.1.13/framework/web/CWebApplication.php(282): CController->run(“RestRoute”)
#12 +
/home/mpp/yii-1.1.13/framework/web/CWebApplication.php(141): CWebApplication->runController(“api/wordpressRest/RestRoute/verb/GET/action/register/”)
#13 +
/home/mpp/yii-1.1.13/framework/base/CApplication.php(169): CWebApplication->processRequest()
#14 +
/home/mpp/www/mealplannerpro.com/index-production.php(13): CApplication->run()
2016-06-22 18:13:00 Apache/2.4.10 (Debian) Yii Framework/1.1.13
.mealplannerpro.com/clipper/direct?url=’ + window.location.href); return false;” > Save RecipePrint Recipe
My Recipes My Lists My Calendar
Ingredients
? 1 cup lowfat mayonnaise
? 2 pounds chicken breast
? 1 cup red bell pepper
? 1 cup sugar
? 1 teaspoon white pepper
? 1 cup parsley
Instructions
? Steam the chicken breast, drain and chill in refrigerator.
? Blanch off the peppers, and small dice them.
? Small dice the chicken breast, place in bowl.
? Combine the chicken, peppers, mayo, parsley and white pepper.
? Fold the ingredients together, do not over mix, or the chicken will
? turn to mush.
? Chill before eating.
Note: The chicken salad should not be wet.Calories
13 cal
Carbs
3 gClick Here For Full Nutrition, Exchanges, and My Plate Info
Spam Blocked
- The topic ‘Error Mesage’ is closed to new replies.