Карта сайта
Подарки
своими
руками...
ГЛАВНАЯ
МАСТЕР-КЛАССЫ
МАГАЗИНЫ ПОДАРКОВ
ВОПРОС ЭКСПЕРТУ
О НАС

Подарки своими руками

Не секрет, что в России любят праздники, а любой праздник – это отличный повод сделать своим близким подарок! Вот только найти то, что действительно понравится получателю, бывает непросто. Часто мы бежим в магазин, покупаем что-то дорогостоящее, забывая о том, что лучший подарок – это подарок своими руками!

На сайте «Подарки своими руками» вы найдёте огромное количество мастер-классов, которые помогут вам создать по-настоящему уникальные вещи: шкатулки, украшения, книги, сладости и многое другое!

Помните, лучший подарок – это подарок, в который вы вкладываете свои труд и душу!

Мастер-классы:

Бомбочки для ванны Держатель для фото Мыло ручной работы

Кто из нас не любит после тяжелого рабочего дня полежать в ванне и расслабиться?...


В этом мастер классе хотим показать и рассказать, как сделать держатель для фото своими руками...


Сделать такое натуральное мыло очень просто, а подарить уж точно нестыдно!...



РЕЙТИНГ МАГАЗИНОВ ПОДАРОКОВ

CDbException

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory

/home/admin/web/baubau.ru/public_html/info/protected/helpers/global.php(111)

099 function substr_unicode($str, $s, $l = null) {
100     return join("", array_slice(
101         preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY), $s, $l));
102 }
103 
104 
105 /**
106  * Returns the setting value
107  * This is the shortcut to Yii::app()->settings->get($category, $param);
108  */
109 function setting($category, $param) 
110 {
111     return Yii::app()->settings->get($category, $param);;
112 }
113 
114 /**
115  * Return true if shop with $shop_id is approved to user
116  */
117 function isUserShop($shop_id) 
118 {
119     if ( Yii::app()->user->isGuest )
120         return false;
121         
122     $user_profile = Yii::app()->getModule('user')->user()->profile();
123     if( $user_profile->shop_id == $shop_id && $user_profile->shop_approved == 1 )

Stack Trace

#3
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(408): CModule->getComponent("db")
403     /**
404      * @return CDbConnection the db connection component
405      */
406     protected function getDbComponent()
407     {
408         return Yii::app()->getComponent($this->getDbComponentId());
409     }
410 
411     protected function addDbItem($category='system', $key, $value)
412     {
413         $connection=$this->getDbComponent();
#4
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(510): CmsSettings->getDbComponent()
505     /**
506      * create the settings table
507      */
508     protected function createTable()
509     {
510         $connection=$this->getDbComponent();
511         $tableName=$connection->tablePrefix.str_replace(array('{{','}}'), '', $this->getTableName());
512         $sql='CREATE TABLE IF NOT EXISTS `'.$tableName.'` (
513           `id` int(11) NOT NULL auto_increment,
514           `category` varchar(64) NOT NULL default \'system\',
515           `key` varchar(255) NOT NULL,
#5
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(43): CmsSettings->createTable()
38     {
39         parent::init();
40         Yii::app()->attachEventHandler('onEndRequest', array($this, 'whenRequestEnds'));
41         
42         if($this->getCreateTable())
43             $this->createTable();
44     }
45 
46 
47     /**
48      * CmsSettings::set()
2026-10-22 10:03:49 Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 Yii Framework/1.1.13

ВОПРОС ЭКСПЕРТУ

[an error occurred while processing this directive]

[an error occurred while processing this directive], [an error occurred while processing this directive]

Посмотерть ответ Задать свой вопрос Все вопросы


НОВОСТИ ИЗ МИРА ПОДАРКОВ

CDbException

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory

/home/admin/web/baubau.ru/public_html/info/protected/helpers/global.php(111)

099 function substr_unicode($str, $s, $l = null) {
100     return join("", array_slice(
101         preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY), $s, $l));
102 }
103 
104 
105 /**
106  * Returns the setting value
107  * This is the shortcut to Yii::app()->settings->get($category, $param);
108  */
109 function setting($category, $param) 
110 {
111     return Yii::app()->settings->get($category, $param);;
112 }
113 
114 /**
115  * Return true if shop with $shop_id is approved to user
116  */
117 function isUserShop($shop_id) 
118 {
119     if ( Yii::app()->user->isGuest )
120         return false;
121         
122     $user_profile = Yii::app()->getModule('user')->user()->profile();
123     if( $user_profile->shop_id == $shop_id && $user_profile->shop_approved == 1 )

Stack Trace

#3
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(408): CModule->getComponent("db")
403     /**
404      * @return CDbConnection the db connection component
405      */
406     protected function getDbComponent()
407     {
408         return Yii::app()->getComponent($this->getDbComponentId());
409     }
410 
411     protected function addDbItem($category='system', $key, $value)
412     {
413         $connection=$this->getDbComponent();
#4
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(510): CmsSettings->getDbComponent()
505     /**
506      * create the settings table
507      */
508     protected function createTable()
509     {
510         $connection=$this->getDbComponent();
511         $tableName=$connection->tablePrefix.str_replace(array('{{','}}'), '', $this->getTableName());
512         $sql='CREATE TABLE IF NOT EXISTS `'.$tableName.'` (
513           `id` int(11) NOT NULL auto_increment,
514           `category` varchar(64) NOT NULL default \'system\',
515           `key` varchar(255) NOT NULL,
#5
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(43): CmsSettings->createTable()
38     {
39         parent::init();
40         Yii::app()->attachEventHandler('onEndRequest', array($this, 'whenRequestEnds'));
41         
42         if($this->getCreateTable())
43             $this->createTable();
44     }
45 
46 
47     /**
48      * CmsSettings::set()
2026-10-22 10:03:49 Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 Yii Framework/1.1.13

БЛИЖАЙШИЕ ПРАЗДНИКИ

CDbException

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory

/home/admin/web/baubau.ru/public_html/info/protected/helpers/global.php(111)

099 function substr_unicode($str, $s, $l = null) {
100     return join("", array_slice(
101         preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY), $s, $l));
102 }
103 
104 
105 /**
106  * Returns the setting value
107  * This is the shortcut to Yii::app()->settings->get($category, $param);
108  */
109 function setting($category, $param) 
110 {
111     return Yii::app()->settings->get($category, $param);;
112 }
113 
114 /**
115  * Return true if shop with $shop_id is approved to user
116  */
117 function isUserShop($shop_id) 
118 {
119     if ( Yii::app()->user->isGuest )
120         return false;
121         
122     $user_profile = Yii::app()->getModule('user')->user()->profile();
123     if( $user_profile->shop_id == $shop_id && $user_profile->shop_approved == 1 )

Stack Trace

#3
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(408): CModule->getComponent("db")
403     /**
404      * @return CDbConnection the db connection component
405      */
406     protected function getDbComponent()
407     {
408         return Yii::app()->getComponent($this->getDbComponentId());
409     }
410 
411     protected function addDbItem($category='system', $key, $value)
412     {
413         $connection=$this->getDbComponent();
#4
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(510): CmsSettings->getDbComponent()
505     /**
506      * create the settings table
507      */
508     protected function createTable()
509     {
510         $connection=$this->getDbComponent();
511         $tableName=$connection->tablePrefix.str_replace(array('{{','}}'), '', $this->getTableName());
512         $sql='CREATE TABLE IF NOT EXISTS `'.$tableName.'` (
513           `id` int(11) NOT NULL auto_increment,
514           `category` varchar(64) NOT NULL default \'system\',
515           `key` varchar(255) NOT NULL,
#5
+
–
 /home/admin/web/baubau.ru/public_html/info/protected/components/CmsSettings.php(43): CmsSettings->createTable()
38     {
39         parent::init();
40         Yii::app()->attachEventHandler('onEndRequest', array($this, 'whenRequestEnds'));
41         
42         if($this->getCreateTable())
43             $this->createTable();
44     }
45 
46 
47     /**
48      * CmsSettings::set()
2026-10-22 10:03:49 Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 Yii Framework/1.1.13