Marie J.

MarieJacobs

Created at January. 28, 2013

Geburtstag Wer den Tag mit einem Lachen beginnt hat ihn bereits gewonnen.

Wer den Tag mit einem Lachen beginnt hat ihn bereits gewonnen.

MarieJacobs
Hi Miss X, I found a beautiful image on Inspirly and thought you would like it. All the best, Mister X
Something Beautiful

Download Image
PHP Error

PHP Error

A session had already been started - ignoring session_start()

/var/www/protected/views/image/download_menu.php(2)

01 <?php
02 session_start();
03 $session_id = stripslashes(strip_tags(session_id()));
04 if($_GET["postId"]){$postId = $_GET["postId"];}
05 if(!$postId){$postId = 0;}
06 echo"
07 <div class='worklet-title hide'>".$this->t('Download image')."</div>
08 <div id='download_wrapper' style='width:650px; font-size:12px'>
09 <div style='float:left'>
10 <div rel='tooltip' title='".$this->t('Up to 400x400px')."' id='download_small' onclick='download_image(1,".$postId.",\"".$session_id."\",1)' class='fade download_choice foto_preview'><strong>".$this->t('SMALL')."</strong><br>".$this->t('With Logo')."<br>".$this->t('Free')."</div>
11 <div rel='tooltip' title='".$this->t('Up to 800x800px')."' id='download_small' onclick='download_image(2,".$postId.",\"".$session_id."\",1)' class='fade download_choice foto_preview'><strong>".$this->t('MEDIUM')."</strong><br>".$this->t('With Logo')."<br>".$this->t('Members only')."</div>
12 
13 <div class='clearfix'></div>
14 <div class='alert hide' id='download_alert' style='padding-right:20px; margin-top:10px'>

Stack Trace

#0
+
 /var/www/protected/views/image/download_menu.php(2): session_start()
1 <?php
2 session_start();
3 $session_id = stripslashes(strip_tags(session_id()));
4 if($_GET["postId"]){$postId = $_GET["postId"];}
5 if(!$postId){$postId = 0;}
6 echo"
7 <div class='worklet-title hide'>".$this->t('Download image')."</div>
#4
+
 /var/www/protected/modules/picture/worklets/WPictureView.php(76): CController->renderPartial("/image/download_menu", array("postId" => "235162"))
71 
72 
73 echo"
74 <hr>
75 <div style='width:100px'><strong>".$this->t('Download Image')."</strong></div>";
76 app()->controller->renderPartial('/image/download_menu',array("postId"=>$this->post->id));
77 
78 echo"<hr>";
79 
80     app()->controller->worklet('picture.comment.list', array('postId' => $this->post->id, 'asView' => 1));
81         app()->controller->worklet('picture.likes.list', array('postId' => $this->post->id));
#6
+
 /var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WPictureView, "taskrenderOutput"), array())
89         if(method_exists($this,'before'.$name))
90             if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null)
91                 return $before;
92         // worklet task
93         $result = method_exists($this,'task'.$name)
94             ? call_user_func_array(array($this,'task'.$name),$parameters)
95             : parent::__call('task'.$name,$parameters);
96         // worklet after            
97         $parameters['result'] = $result;
98         if(method_exists($this,'after'.$name))
99             if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null)
2024-03-29 09:54:36 Apache/2.4.10 (Debian) Yii Framework/1.1.8